Skip to content

Commit

Permalink
revert ci changes (#682)
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszaaa authored Jan 31, 2024
1 parent c4c986c commit 01f57a3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 16 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/reusable-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:

unit-test:
name: Unit tests
runs-on: [compile]
runs-on: [compile-gke]
container:
image: ${{ inputs.builder_image }}
steps:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -346,7 +346,7 @@ jobs:

build-wasms:
name: Export wasm artifacts
runs-on: [compile]
runs-on: [compile-gke]
env:
STEPS: 2
REPEATS: 1
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/reusable-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-perfomance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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) }}
Expand Down

0 comments on commit 01f57a3

Please sign in to comment.