From ea8ad6faa110518e27146c54e379ab4e579a6826 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Thu, 10 Oct 2024 16:58:27 +0500 Subject: [PATCH 1/3] chore: use a smaller runner fo e2e test --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5acfe45764c7d..09b423cc00382 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -499,7 +499,7 @@ jobs: working-directory: site test-e2e: - runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-16' || 'ubuntu-latest' }} + runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04' || 'ubuntu-latest' }} needs: changes if: needs.changes.outputs.go == 'true' || needs.changes.outputs.ts == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main' timeout-minutes: 20 From 977b1688f5bf116d39697e81f1925eb55af7ded4 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Sat, 12 Oct 2024 15:44:06 +0500 Subject: [PATCH 2/3] try with 4 cores runner --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 09b423cc00382..48ca2d0936a15 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -499,7 +499,7 @@ jobs: working-directory: site test-e2e: - runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04' || 'ubuntu-latest' }} + runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-4' || 'ubuntu-latest' }} needs: changes if: needs.changes.outputs.go == 'true' || needs.changes.outputs.ts == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main' timeout-minutes: 20 From c6df67bc3ad982d864a5e3c454f77390ae04c284 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Sat, 12 Oct 2024 11:15:11 +0000 Subject: [PATCH 3/3] Use larger runner for test-e2e job --- .github/workflows/ci.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 48ca2d0936a15..d10ff13be3ba0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -499,7 +499,8 @@ jobs: working-directory: site test-e2e: - runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-4' || 'ubuntu-latest' }} + runs-on: ${{ github.repository_owner == 'coder' && (matrix.variant.enterprise && 'depot-ubuntu-22.04' || 'depot-ubuntu-22.04-4') || 'ubuntu-latest' }} + # test-e2e fails on 2-core 8GB runners, so we use the 4-core 16GB runner needs: changes if: needs.changes.outputs.go == 'true' || needs.changes.outputs.ts == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main' timeout-minutes: 20