mirror of
https://github.com/vacp2p/linea-monorepo.git
synced 2026-01-09 20:27:58 -05:00
[Feat] GitHub runner upgrades to beefier runners (#579)
* beefed up runner for time-limiting steps * up specs for e2e test runner * update workflows with metrics in comments * updated comments for workflows
This commit is contained in:
3
.github/workflows/all-tools.yml
vendored
3
.github/workflows/all-tools.yml
vendored
@@ -77,7 +77,8 @@ jobs:
|
||||
build-and-publish:
|
||||
needs: [ changes, store_image_name_and_tags, all-tools-tag-only ]
|
||||
if: ${{ always() && (needs.changes.outputs['all-tools'] == 'true' || needs.all-tools-tag-only.result != 'success' || needs.all-tools-tag-only.outputs.image_tagged != 'true') }}
|
||||
runs-on: [self-hosted, ubuntu-20.04, X64, small]
|
||||
# ~0.5 mins saved vs small
|
||||
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-med
|
||||
env:
|
||||
COMMIT_TAG: ${{ needs.store_image_name_and_tags.outputs.commit_tag }}
|
||||
DEVELOP_TAG: ${{ needs.store_image_name_and_tags.outputs.develop_tag }}
|
||||
|
||||
5
.github/workflows/bridge-ui-publish.yml
vendored
5
.github/workflows/bridge-ui-publish.yml
vendored
@@ -5,18 +5,21 @@ on:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/workflows/bridge-ui-publish.yml'
|
||||
- 'bridge-ui/**'
|
||||
- '!bridge-ui/**/*.md'
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/workflows/bridge-ui-publish.yml'
|
||||
- 'bridge-ui/**'
|
||||
- '!bridge-ui/**/*.md'
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: [self-hosted, ubuntu-20.04, X64, small]
|
||||
# ~1 min saved vs small
|
||||
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-med
|
||||
env:
|
||||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
2
.github/workflows/cache-docker-images.yml
vendored
2
.github/workflows/cache-docker-images.yml
vendored
@@ -46,7 +46,7 @@ jobs:
|
||||
pull-and-cache-images:
|
||||
needs: [ check-dockerhub-secrets-present, changes ]
|
||||
if: ${{ always() && needs.check-dockerhub-secrets-present.outputs.secrets_present == 'true' && needs.changes.outputs.cache_images == 'true' }}
|
||||
runs-on: [self-hosted, ubuntu-20.04, X64, small]
|
||||
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-med
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
1
.github/workflows/coordinator-testing.yml
vendored
1
.github/workflows/coordinator-testing.yml
vendored
@@ -26,6 +26,7 @@ jobs:
|
||||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
# ? Seems to fail more often on xl
|
||||
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-large
|
||||
name: Coordinator tests
|
||||
steps:
|
||||
|
||||
@@ -51,7 +51,8 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
build-and-publish:
|
||||
runs-on: [self-hosted, ubuntu-20.04, X64, small]
|
||||
# ~1 min saved vs small
|
||||
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-med
|
||||
name: Postman build
|
||||
env:
|
||||
COMMIT_TAG: ${{ inputs.commit_tag }}
|
||||
|
||||
@@ -54,7 +54,8 @@ env:
|
||||
|
||||
jobs:
|
||||
build-and-publish:
|
||||
runs-on: [self-hosted, ubuntu-20.04, X64, small]
|
||||
# ~1 min saved vs small
|
||||
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-med
|
||||
name: Prover build
|
||||
env:
|
||||
COMMIT_TAG: ${{ inputs.commit_tag }}
|
||||
|
||||
6
.github/workflows/prover-testing.yml
vendored
6
.github/workflows/prover-testing.yml
vendored
@@ -10,7 +10,8 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
staticcheck:
|
||||
runs-on: [self-hosted, ubuntu-20.04, X64, small]
|
||||
# ~1.5 mins saved vs small
|
||||
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-med
|
||||
name: Prover static check
|
||||
steps:
|
||||
- name: install Go
|
||||
@@ -52,7 +53,8 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
go-version: [1.23.x]
|
||||
runs-on: [self-hosted, ubuntu-22.04, X64, large]
|
||||
# ~1 min saved vs large
|
||||
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-xl
|
||||
name: Prover testing
|
||||
needs:
|
||||
- staticcheck
|
||||
|
||||
1
.github/workflows/reuse-run-e2e-tests.yml
vendored
1
.github/workflows/reuse-run-e2e-tests.yml
vendored
@@ -75,6 +75,7 @@ jobs:
|
||||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
outputs:
|
||||
tests_outcome: ${{ steps.run_e2e_tests.outcome }}
|
||||
# xl saves ~0 mins
|
||||
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-large
|
||||
steps:
|
||||
- name: Setup upterm session
|
||||
|
||||
5
.github/workflows/run-smc-tests.yml
vendored
5
.github/workflows/run-smc-tests.yml
vendored
@@ -3,6 +3,7 @@ name: Smart contracts test
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- '.github/workflows/run-smc-tests.yml'
|
||||
- 'contracts/**'
|
||||
- 'testdata/**'
|
||||
- 'prover/**'
|
||||
@@ -15,6 +16,7 @@ on:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/workflows/run-smc-tests.yml'
|
||||
- 'contracts/**'
|
||||
- 'testdata/**'
|
||||
- 'prover/**'
|
||||
@@ -29,7 +31,8 @@ env:
|
||||
|
||||
jobs:
|
||||
run-contract-tests:
|
||||
runs-on: [self-hosted, ubuntu-20.04, X64, small]
|
||||
# ~2 mins saved vs small
|
||||
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-med
|
||||
name: Run smart contracts tests
|
||||
env:
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
3
.github/workflows/staterecovery-testing.yml
vendored
3
.github/workflows/staterecovery-testing.yml
vendored
@@ -27,7 +27,8 @@ jobs:
|
||||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-large
|
||||
# ~2.5 mins saved vs large
|
||||
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-xl
|
||||
name: Staterecovery tests
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
||||
@@ -17,7 +17,8 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
run-tests:
|
||||
runs-on: [self-hosted, ubuntu-20.04, X64, small]
|
||||
# ~2 mins saved vs small
|
||||
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-med
|
||||
name: Traces api facade tests
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
||||
@@ -16,7 +16,8 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
run-tests:
|
||||
runs-on: [self-hosted, ubuntu-20.04, X64, small]
|
||||
# ~1.5 mins saved vs small
|
||||
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-med
|
||||
name: Transaction exclusion api tests
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
||||
Reference in New Issue
Block a user