Skip to content

Commit

Permalink
substitute old for new runner (#595)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyzooghost authored Jan 23, 2025
1 parent 99f1338 commit eabdcad
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 19 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/all-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:

jobs:
changes:
runs-on: [self-hosted, ubuntu-20.04, X64, small]
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-small
name: Filter commit changes
outputs:
all-tools: ${{ steps.filter.outputs['all-tools'] }}
Expand All @@ -39,7 +39,7 @@ jobs:
uses: ./.github/workflows/reuse-store-image-name-and-tags.yml

check_image_tags_exist:
runs-on: [self-hosted, ubuntu-20.04, X64, small]
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-small
name: Check image tags exist
needs: [ changes, store_image_name_and_tags ]
if: ${{ needs.changes.outputs['all-tools'] == 'false' }}
Expand All @@ -53,7 +53,7 @@ jobs:
image_name: consensys/linea-alltools

all-tools-tag-only:
runs-on: [self-hosted, ubuntu-20.04, X64, small]
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-small
name: All tools tag only
needs: [ changes, store_image_name_and_tags, check_image_tags_exist ]
if: ${{ github.event_name != 'pull_request' && needs.changes.outputs['all-tools'] == 'false' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bridge-ui-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:

jobs:
run-e2e-tests:
runs-on: [self-hosted, ubuntu-20.04, X64, medium]
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-med
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cache-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
check-dockerhub-secrets-present:
runs-on: [self-hosted, ubuntu-20.04, X64, small]
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-small
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
Expand All @@ -24,7 +24,7 @@ jobs:
changes:
needs: [ check-dockerhub-secrets-present ]
if: ${{ always() && needs.check-dockerhub-secrets-present.outputs.secrets_present == 'true' }}
runs-on: [self-hosted, ubuntu-20.04, X64, small]
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-small
name: Filter commit changes
outputs:
cache_images: ${{ steps.filter.outputs.cache_images }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: [self-hosted, ubuntu-20.04, X64, medium]
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-med
permissions:
actions: read
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/load-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ concurrency:

jobs:
run-load-test:
runs-on: [self-hosted, ubuntu-20.04, X64, small]
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-small
name: Run Load Test
steps:
- name: Checkout
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
uses: ./.github/workflows/reuse-store-image-name-and-tags.yml

filter-commit-changes:
runs-on: [self-hosted, ubuntu-20.04, X64, small]
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-small
name: Filter commit changes
outputs:
coordinator: ${{ steps.filter.outputs.coordinator }}
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
secrets: inherit

manual-docker-build-and-e2e-tests:
runs-on: [self-hosted, ubuntu-20.04, X64, small]
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-small
needs: [ store-image-name-and-tags, filter-commit-changes, check-and-tag-images ]
if: ${{ needs.filter-commit-changes.outputs.has-changes-requiring-build == 'true' }}
environment: ${{ github.ref != 'refs/heads/main' && 'docker-build-and-e2e' || '' }}
Expand Down Expand Up @@ -245,7 +245,7 @@ jobs:
cleanup-deployments:
needs: [ run-e2e-tests, run-e2e-tests-geth-tracing ]
if: ${{ always() }}
runs-on: [self-hosted, ubuntu-20.04, X64, small]
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-small
steps:
- uses: strumwolf/delete-deployment-environment@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/postman-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ concurrency:

jobs:
run-tests:
runs-on: [self-hosted, ubuntu-22.04, X64, large]
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-large
name: Postman & SDK tests
steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reuse-check-images-tags-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ concurrency:

jobs:
check_image_tags_exist:
runs-on: [self-hosted, ubuntu-20.04, X64, small]
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-small
name: Check image tags exist
outputs:
last_commit_tag_exists_coordinator: ${{ steps.check_image_tags_exist_coordinator.outputs.last_commit_tag_exists }}
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
image_name: consensys/linea-transaction-exclusion-api

image_tag_push:
runs-on: [self-hosted, ubuntu-20.04, X64, small]
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-small
if: ${{ github.ref == 'refs/heads/main' }}
name: Tag and push images
needs: [ check_image_tags_exist ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reuse-store-image-name-and-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:

jobs:
store_image_name_and_tags:
runs-on: [self-hosted, ubuntu-20.04, X64, small]
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-small
name: Compute version tags
env:
# REF_NAME: ${{ github.ref_name }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-smc-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}

solidity-format-check:
runs-on: [self-hosted, ubuntu-20.04, X64, small]
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-small
name: Solidity format check
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security-report-to-csv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Export Security Report to CSV
on: workflow_dispatch
jobs:
data_gathering:
runs-on: [self-hosted, ubuntu-20.04, X64, small]
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-small
steps:
- name: CSV export
uses: advanced-security/ghas-to-csv@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:

jobs:
stale:
runs-on: [self-hosted, ubuntu-20.04, X64, small]
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-small
steps:
- uses: actions/stale@v8
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/valid-audit-pr-has-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
check:
runs-on: [self-hosted, ubuntu-20.04, X64, small]
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-small

steps:
- name: Checkout code
Expand Down

0 comments on commit eabdcad

Please sign in to comment.