From b6454ae4fe367807389e07df59a3b07046713c68 Mon Sep 17 00:00:00 2001 From: Cornelius Roemer Date: Sun, 10 Mar 2024 15:04:09 +0100 Subject: [PATCH] feat(ci): speed up E2E by helm deploying before installing playwright deps (#1309) "Wait for pods to be ready" is rate limiting right now, so starting the deployment as early as possible should save time --- .github/workflows/e2e-k3d.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/e2e-k3d.yml b/.github/workflows/e2e-k3d.yml index f94c97f52..189268f55 100644 --- a/.github/workflows/e2e-k3d.yml +++ b/.github/workflows/e2e-k3d.yml @@ -52,6 +52,11 @@ jobs: name: default-helm-template path: defaultTemplate.yaml + - name: Deploy with helm + uses: WyriHaximus/github-action-helm3@v4 + with: + exec: ./deploy.py --verbose helm --branch ${{ github.ref_name }} --sha ${{ github.sha }} --dockerconfigjson ${{ secrets.GHCR_DOCKER_CONFIG }} + - uses: actions/setup-node@v4 with: node-version: 20 @@ -84,11 +89,6 @@ jobs: run: cd website && npx playwright install-deps if: steps.playwright-cache.outputs.cache-hit == 'true' - - name: Deploy with helm - uses: WyriHaximus/github-action-helm3@v4 - with: - exec: ./deploy.py --verbose helm --branch ${{ github.ref_name }} --sha ${{ github.sha }} --dockerconfigjson ${{ secrets.GHCR_DOCKER_CONFIG }} - # Waits are identical to the update-argocd-metadata.yml file # Mirror changes to that file - name: Wait for Prepro Dummy Docker Image