diff --git a/.github/workflows/reusable-build-and-test.yml b/.github/workflows/reusable-build-and-test.yml index 2981e2df89..891f2a039c 100644 --- a/.github/workflows/reusable-build-and-test.yml +++ b/.github/workflows/reusable-build-and-test.yml @@ -30,13 +30,13 @@ permissions: jobs: build-node-image: name: Build Docker image - runs-on: [compile] + runs-on: [compile-gke] container: image: ${{ inputs.builder_image }} - # env: - # DOCKER_HOST: "unix:///run/docker/docker.sock" - # volumes: - # - /run/docker:/run/docker + env: + DOCKER_HOST: "unix:///run/docker/docker.sock" + volumes: + - /run/docker:/run/docker steps: - uses: actions/checkout@v3 - name: Authenticate to Google Cloud @@ -150,7 +150,7 @@ jobs: unit-test: name: Unit tests - runs-on: [compile] + runs-on: [compile-gke] container: image: ${{ inputs.builder_image }} steps: @@ -178,7 +178,7 @@ jobs: coverage-report: name: Coverage report - runs-on: [compile] + runs-on: [compile-gke] container: image: ${{ inputs.builder_image }} options: --security-opt seccomp=unconfined @@ -243,7 +243,7 @@ jobs: build-and-run-try-runtime: name: Run try-runtime checks - runs-on: [compile] + runs-on: [compile-gke] container: image: ${{ inputs.builder_image }} steps: @@ -280,7 +280,7 @@ jobs: run-benchmarks: name: Run runtime benchmarks # `performance` self-hosted runners have 8 cores and 16GB of RAM - runs-on: [compile] + runs-on: [performance-gke] env: STEPS: 2 REPEATS: 1 @@ -346,7 +346,7 @@ jobs: build-wasms: name: Export wasm artifacts - runs-on: [compile] + runs-on: [compile-gke] env: STEPS: 2 REPEATS: 1 diff --git a/.github/workflows/reusable-e2e-tests.yml b/.github/workflows/reusable-e2e-tests.yml index 0dbda5218b..a7f34c05fe 100644 --- a/.github/workflows/reusable-e2e-tests.yml +++ b/.github/workflows/reusable-e2e-tests.yml @@ -126,7 +126,7 @@ jobs: - command: "yarn test-parallel-3rdPartyRewards" fast: true - runs-on: [compile] + runs-on: [e2e-gke] timeout-minutes: 180 env: API_URL: "ws://127.0.0.1:9946" @@ -288,10 +288,6 @@ jobs: run: | docker kill $(docker ps -q) 2>/dev/null && echo $? docker-compose down -v - - - name: Fix permissions on self-hosted runner - if: always() - run: chown -R 1100:1100 $GITHUB_WORKSPACE test-complete: needs: [setup-report, e2e-test-matrix] diff --git a/.github/workflows/reusable-perfomance-tests.yml b/.github/workflows/reusable-perfomance-tests.yml index 3b54fe5fd1..7f0363575d 100644 --- a/.github/workflows/reusable-perfomance-tests.yml +++ b/.github/workflows/reusable-perfomance-tests.yml @@ -22,7 +22,7 @@ jobs: performance-tests: # Allows to keep e2e tests jobs running even if performance-tests fail continue-on-error: true - runs-on: [compile] + runs-on: [compile-gke] timeout-minutes: 180 env: ENV_REF: ${{ inputs.targetEnv || format('pr-{0}', github.event.number) }}