From c7a95a61c42639bb2d6482c2658c14ee77f08d45 Mon Sep 17 00:00:00 2001 From: Vitalii Valkov Date: Wed, 12 Aug 2026 20:00:07 +0200 Subject: [PATCH] Provision E2E on the platform VM The bootstrap action built a k3d cluster and left its state for the test runner to read. run-tests moved to the VM's contract and reads AGYN_API_TOKEN from the environment, so every run since has died on "AGYN_API_TOKEN is not set; run a provisioning action before this one" before a single test ran. DevSpace follows the install to agyn-platform, which it moved to on 2026-08-09. "platform" is empty, so the patch and sync looked for a deployment that was no longer there. The job gains the timeout and concurrency group the VM-provisioned workflows carry: a boot that hangs otherwise runs to the six-hour default, and pushes queue behind each other on a 60-minute job. --- .github/workflows/e2e.yml | 7 ++++++- devspace.yaml | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index b152165..86a7408 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -8,15 +8,20 @@ on: permissions: contents: read +concurrency: + group: e2e-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }} + cancel-in-progress: true + jobs: e2e: runs-on: ubuntu-latest + timeout-minutes: 60 steps: - name: Checkout uses: actions/checkout@v4 - name: Provision cluster - uses: agynio/bootstrap/.github/actions/provision@main + uses: agynio/e2e/.github/actions/provision-vm@main - name: Setup DevSpace uses: agynio/e2e/.github/actions/setup-devspace@main diff --git a/devspace.yaml b/devspace.yaml index 8d79d58..6b4e9db 100644 --- a/devspace.yaml +++ b/devspace.yaml @@ -1,7 +1,7 @@ version: v2beta1 vars: - AUTHORIZATION_NAMESPACE: platform + AUTHORIZATION_NAMESPACE: agyn-platform AUTHORIZATION_SELECTOR: app.kubernetes.io/name=authorization functions: