diff --git a/.github/workflows/nightly-kind-test.yml b/.github/workflows/nightly-kind-test.yml index 91749196e92..01d97298859 100644 --- a/.github/workflows/nightly-kind-test.yml +++ b/.github/workflows/nightly-kind-test.yml @@ -42,25 +42,29 @@ jobs: test: needs: build - runs-on: ${{ github.actor }}-x86 + runs-on: ubuntu-20.04 strategy: matrix: values_file: ["default.yaml", "3-validators.yaml"] - outputs: - e2e_list: ${{ steps.e2e_list.outputs.list }} - bench_list: ${{ steps.bench_list.outputs.list }} steps: - uses: actions/checkout@v4 with: { ref: "${{ env.GIT_COMMIT }}" } - uses: ./.github/ci-setup-action + - name: Setup and Test + uses: ./.github/ensure-tester-with-images + timeout-minutes: 45 with: - concurrency_key: build-x86 - # prepare images locally, tagged by commit hash - - name: "Build E2E Image" - timeout-minutes: 40 - run: | - ./spartan/scripts/setup_local_k8s.sh - ./scripts/earthly-ci --exec-stats -P --no-output ./yarn-project/end-to-end/+network-transfer --values-file=${{ matrix.values_file }} + runner_type: ${{ contains(matrix.test, 'prover') && '64core-tester-x86' || '16core-tester-x86' }} + builder_type: builder-x86 + # these are copied to the tester and expected by the earthly command below + # if they fail to copy, it will try to build them on the tester and fail + builder_images_to_copy: aztecprotocol/aztec:${{ env.GIT_COMMIT }} aztecprotocol/end-to-end:${{ env.GIT_COMMIT }} + # command to produce the images in case they don't exist + builder_command: scripts/earthly-ci ./yarn-project+export-e2e-test-images + tester_ttl: 40 + run: | + ./spartan/scripts/setup_local_k8s.sh + ./scripts/earthly-ci --exec-stats -P --no-output ./yarn-project/end-to-end/+network-transfer --values-file=${{ matrix.values_file }} notify: needs: