Skip to content

Commit

Permalink
ci: move at the speed of light (deprecate github actions runners)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zygimantass committed Feb 13, 2025
1 parent a2e8154 commit 764547d
Show file tree
Hide file tree
Showing 24 changed files with 43 additions and 43 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-simd-image-from-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:

jobs:
build-image-at-tag:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-wasm-simd-image-from-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
retention-days: 1

merge:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
needs:
- build-image-at-tag
steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/callbacks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:

jobs:
lint:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
steps:
- uses: actions/setup-go@v5
with:
Expand All @@ -29,7 +29,7 @@ jobs:
working-directory: modules/apps/callbacks

build:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
strategy:
matrix:
go-arch: ['amd64', 'arm64']
Expand All @@ -44,7 +44,7 @@ jobs:
GOARCH=${{ matrix.go-arch }} go build ./...
tests:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
Expand All @@ -57,7 +57,7 @@ jobs:
code-analysis:
if: github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
needs: [tests]
steps:
- name: sonarcloud
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
jobs:
check-docs-build:
name: Check docs build
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
permissions:
actions: read
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:

jobs:
docker-build:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-compatibility-workflow-call.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
load-test-matrix:
outputs:
test-matrix: ${{ steps.set-test-matrix.outputs.test-matrix }}
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -34,7 +34,7 @@ jobs:
id: set-test-matrix
e2e:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
needs: load-test-matrix
# this job is skipped if the test-matrix generated is empty. i.e. if the file was not present.
# this allows us to not have to handle special case versions which may not have certain tests run against them.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-compatibility.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ env:

jobs:
determine-image-tag:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
outputs:
release-version: ${{ steps.set-release-version.outputs.release-version }}
steps:
Expand All @@ -50,7 +50,7 @@ jobs:
# build-release-images builds all docker images that are relevant for the compatibility tests. If a single release
# branch is specified, only that image will be built, e.g. release-v6.0.x.
build-release-images:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
strategy:
matrix:
release-branch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-fork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
build-test-matrix:
# run this job on forks and copies of ibc-go, for example: a public fork or a private copy of ibc-go.
if: ${{ github.repository != 'cosmos/ibc-go' || github.event.pull_request.head.repo.fork || github.actor == 'dependabot[bot]' || github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
Expand All @@ -44,7 +44,7 @@ jobs:
if: ${{ github.repository != 'cosmos/ibc-go' || github.event.pull_request.head.repo.fork || github.actor == 'dependabot[bot]' || github.event_name == 'workflow_dispatch' }}
needs:
- build-test-matrix
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.build-test-matrix.outputs.matrix) }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/e2e-test-workflow-call.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ env:
jobs:
# test-details exists to provide an easy way to see the inputs for the e2e test.
test-details:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
steps:
- name: Display Inputs
run: |
Expand All @@ -87,7 +87,7 @@ jobs:
# is skipped. But will run if every individual task is skipped. There is no current way of conditionally needing
# a job.
docker-build:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
steps:
- uses: actions/checkout@v4
if: ${{ inputs.build-and-push-docker-image }}
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
IBC_GO_VERSION=${{ github.ref_name }}
docker-build-wasm:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
steps:
- uses: actions/checkout@v4
if: ${{ inputs.build-and-push-docker-image-wasm }}
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
# pairs. The output of this job can be fed in as input to a workflow matrix and
# will expand to jobs which will run all tests present.
build-test-matrix:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
Expand All @@ -195,7 +195,7 @@ jobs:
# the tests themselves are configured via environment variables to specify
# things like chain and relayer images and tags.
e2e-tests:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
needs:
- build-test-matrix
- docker-build
Expand Down Expand Up @@ -234,7 +234,7 @@ jobs:
e2e-test-suites:
# temporary flag. eventually this field will not exist and this will be the default.
if: ${{ inputs.temp-run-full-suite }}
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
needs:
- build-test-matrix
- docker-build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# this will be used to tag the images that are built during the workflow.
determine-image-tag:
if: ${{ !github.event.pull_request.draft && github.repository == 'cosmos/ibc-go' && !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
outputs:
simd-tag: ${{ steps.get-tag.outputs.simd-tag }}
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2emodule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:

jobs:
lint:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
steps:
- uses: actions/setup-go@v5
with:
Expand All @@ -30,7 +30,7 @@ jobs:
working-directory: e2e/

tests:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci-feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ permissions:
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
steps:
- uses: actions/setup-go@v5
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
steps:
- uses: actions/setup-go@v5
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- "!.github/**"
jobs:
markdown-link-check:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
steps:
- uses: actions/checkout@v4
- uses: gaurav-nelson/github-action-markdown-link-check@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/markdown-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- "!.github/**"
jobs:
lint:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proto-breaking-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
proto-breaking-check:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
steps:
- uses: actions/checkout@v4
- name: Run proto-breaking check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proto-registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
push:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
steps:
- uses: actions/checkout@v4
- uses: bufbuild/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ env:

jobs:
publish-docker-image-wasm:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:

jobs:
publish-docker-image:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spell-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:

jobs:
build:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4

steps:
- uses: actions/checkout@v4
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ on:

jobs:
cleanup-runs:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
steps:
- uses: rokroskar/workflow-run-cleanup-action@master
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main'"

build:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
strategy:
matrix:
go-arch: ['amd64', 'arm64']
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
done
split-test-files:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
path: ./pkgs.txt.part.03

tests:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
needs: split-test-files
strategy:
fail-fast: false
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:

code-analysis:
if: github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
needs: [tests]
steps:
- uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/wasm-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:

jobs:
lint:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
steps:
- uses: actions/setup-go@v5
with:
Expand All @@ -28,7 +28,7 @@ jobs:
working-directory: modules/light-clients/08-wasm

build:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
strategy:
matrix:
go-arch: ['amd64', 'arm64']
Expand All @@ -50,7 +50,7 @@ jobs:
GOARCH=${{ matrix.go-arch }} CGO_ENABLED=1 go build ./...
tests:
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
Expand All @@ -63,7 +63,7 @@ jobs:
code-analysis:
if: github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
depot-ubuntu-22.04-4
needs: [tests]
steps:
- name: sonarcloud
Expand Down

0 comments on commit 764547d

Please sign in to comment.