diff --git a/.github/workflows/e2e-k3d.yml b/.github/workflows/e2e-k3d.yml index 4762b68f9..576baf4d6 100644 --- a/.github/workflows/e2e-k3d.yml +++ b/.github/workflows/e2e-k3d.yml @@ -86,6 +86,57 @@ jobs: 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 + uses: lewagon/wait-on-check-action@v1.3.3 + with: + ref: ${{ github.sha }} + check-name: Preprocessing dummy docker image build + repo-token: ${{ secrets.GITHUB_TOKEN }} + wait-interval: 2 + + - name: Wait for Config Processor Docker Image + uses: lewagon/wait-on-check-action@v1.3.3 + with: + ref: ${{ github.sha }} + check-name: Build config-processor Docker Image + repo-token: ${{ secrets.GITHUB_TOKEN }} + wait-interval: 2 + + - name: Wait for Backend Docker Image + uses: lewagon/wait-on-check-action@v1.3.3 + with: + ref: ${{ github.sha }} + check-name: Build Backend Docker Image + repo-token: ${{ secrets.GITHUB_TOKEN }} + wait-interval: 2 + + - name: Wait for Website Docker Image + uses: lewagon/wait-on-check-action@v1.3.3 + with: + ref: ${{ github.sha }} + check-name: Build Website Docker Image + repo-token: ${{ secrets.GITHUB_TOKEN }} + wait-interval: 2 + + - name: Wait for Prepro Nextclade Docker Image + uses: lewagon/wait-on-check-action@v1.3.3 + with: + ref: ${{ github.sha }} + check-name: Build preprocessing-nextclade Docker Image + repo-token: ${{ secrets.GITHUB_TOKEN }} + wait-interval: 2 + + - name: Wait for Keycloakify Docker Image + uses: lewagon/wait-on-check-action@v1.3.3 + with: + ref: ${{ github.sha }} + check-name: Build keycloakify Docker Image + repo-token: ${{ secrets.GITHUB_TOKEN }} + wait-interval: 2 + # End of wait block + - name: Wait for the pods to be ready (timeout 480s) run: ./.github/scripts/wait_for_pods_to_be_ready.py - name: Sleep for 20 secs diff --git a/.github/workflows/update-argocd-metadata.yml b/.github/workflows/update-argocd-metadata.yml index 612ad7f1f..8e2f9b2fc 100644 --- a/.github/workflows/update-argocd-metadata.yml +++ b/.github/workflows/update-argocd-metadata.yml @@ -28,6 +28,8 @@ jobs: run: | echo "sha=$(echo ${GITHUB_SHA} | cut -c1-7)" >> $GITHUB_OUTPUT + # Waits are identical to the e2e-k3d.yml workflow file + # Mirror changes to that file - name: Wait for Prepro Dummy Docker Image uses: lewagon/wait-on-check-action@v1.3.3 with: @@ -75,6 +77,7 @@ jobs: check-name: Build keycloakify Docker Image repo-token: ${{ secrets.GITHUB_TOKEN }} wait-interval: 2 + # End of wait block - name: Checkout External Repository uses: actions/checkout@v4