From 28bd6d52cd8806e68bb2530dd7807856de10d1dc Mon Sep 17 00:00:00 2001 From: Zygimantas <5236121+Zygimantass@users.noreply.github.com> Date: Fri, 14 Feb 2025 22:38:58 -0500 Subject: [PATCH] ci: move at the speed of light (deprecate github actions runners) (#7967) * ci: move at the speed of light (deprecate github actions runners) * Revert "ci: move at the speed of light (deprecate github actions runners)" This reverts commit 764547d50fb1b65e2fbb763106986214ff042d42. * ci: move at the speed of light (deprecate github actions runners) --- .github/workflows/build-simd-image-from-tag.yml | 2 +- .github/workflows/build-wasm-simd-image-from-tag.yml | 2 +- .github/workflows/callbacks.yml | 8 ++++---- .github/workflows/check-docs.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/deploy-docs.yml | 2 +- .github/workflows/docker.yml | 2 +- .../workflows/e2e-compatibility-workflow-call.yaml | 4 ++-- .github/workflows/e2e-compatibility.yaml | 4 ++-- .github/workflows/e2e-fork.yml | 4 ++-- .github/workflows/e2e-test-workflow-call.yml | 12 ++++++------ .github/workflows/e2e.yaml | 2 +- .github/workflows/e2emodule.yml | 4 ++-- .github/workflows/golangci-feature.yml | 2 +- .github/workflows/golangci.yml | 2 +- .github/workflows/link-check.yml | 2 +- .github/workflows/markdown-lint.yml | 2 +- .github/workflows/proto-breaking-check.yml | 2 +- .github/workflows/proto-registry.yml | 2 +- .github/workflows/release-wasm.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/spell-checker.yml | 2 +- .github/workflows/test.yml | 10 +++++----- .github/workflows/wasm-client.yml | 8 ++++---- 24 files changed, 43 insertions(+), 43 deletions(-) diff --git a/.github/workflows/build-simd-image-from-tag.yml b/.github/workflows/build-simd-image-from-tag.yml index 308ad9b5066..51d50674697 100644 --- a/.github/workflows/build-simd-image-from-tag.yml +++ b/.github/workflows/build-simd-image-from-tag.yml @@ -19,7 +19,7 @@ env: jobs: build-image-at-tag: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/build-wasm-simd-image-from-tag.yml b/.github/workflows/build-wasm-simd-image-from-tag.yml index 0968aceb92d..e17a995f9cb 100644 --- a/.github/workflows/build-wasm-simd-image-from-tag.yml +++ b/.github/workflows/build-wasm-simd-image-from-tag.yml @@ -73,7 +73,7 @@ jobs: retention-days: 1 merge: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 needs: - build-image-at-tag steps: diff --git a/.github/workflows/callbacks.yml b/.github/workflows/callbacks.yml index efa534ec3e7..0ea829cd74c 100644 --- a/.github/workflows/callbacks.yml +++ b/.github/workflows/callbacks.yml @@ -13,7 +13,7 @@ permissions: jobs: lint: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 steps: - uses: actions/setup-go@v5 with: @@ -29,7 +29,7 @@ jobs: working-directory: modules/apps/callbacks build: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 strategy: matrix: go-arch: ['amd64', 'arm64'] @@ -44,7 +44,7 @@ jobs: GOARCH=${{ matrix.go-arch }} go build ./... tests: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 @@ -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 + runs-on: depot-ubuntu-22.04-4 needs: [tests] steps: - name: sonarcloud diff --git a/.github/workflows/check-docs.yml b/.github/workflows/check-docs.yml index 73786c85d50..1e9485b1ef0 100644 --- a/.github/workflows/check-docs.yml +++ b/.github/workflows/check-docs.yml @@ -15,7 +15,7 @@ on: jobs: check-docs-build: name: Check docs build - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index f4743b8ec48..b2fa896f5c0 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -23,7 +23,7 @@ on: jobs: analyze: name: Analyze - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 permissions: actions: read contents: read diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index d144d2a266a..a9d6851ab42 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -14,7 +14,7 @@ on: jobs: deploy: name: Deploy to GitHub Pages - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 477c1e0c32b..8a369b630b9 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -16,7 +16,7 @@ env: jobs: docker-build: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/e2e-compatibility-workflow-call.yaml b/.github/workflows/e2e-compatibility-workflow-call.yaml index 8bd01e6db5d..2e459ed7614 100644 --- a/.github/workflows/e2e-compatibility-workflow-call.yaml +++ b/.github/workflows/e2e-compatibility-workflow-call.yaml @@ -19,7 +19,7 @@ jobs: load-test-matrix: outputs: test-matrix: ${{ steps.set-test-matrix.outputs.test-matrix }} - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -34,7 +34,7 @@ jobs: id: set-test-matrix e2e: - runs-on: ubuntu-latest + runs-on: 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. diff --git a/.github/workflows/e2e-compatibility.yaml b/.github/workflows/e2e-compatibility.yaml index fbee3e05ffe..9071996edd6 100644 --- a/.github/workflows/e2e-compatibility.yaml +++ b/.github/workflows/e2e-compatibility.yaml @@ -36,7 +36,7 @@ env: jobs: determine-image-tag: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 outputs: release-version: ${{ steps.set-release-version.outputs.release-version }} steps: @@ -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 + runs-on: depot-ubuntu-22.04-4 strategy: matrix: release-branch: diff --git a/.github/workflows/e2e-fork.yml b/.github/workflows/e2e-fork.yml index 0e417bfeb37..936d3a39cce 100644 --- a/.github/workflows/e2e-fork.yml +++ b/.github/workflows/e2e-fork.yml @@ -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 + runs-on: depot-ubuntu-22.04-4 outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: @@ -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 + runs-on: depot-ubuntu-22.04-4 strategy: fail-fast: false matrix: ${{ fromJSON(needs.build-test-matrix.outputs.matrix) }} diff --git a/.github/workflows/e2e-test-workflow-call.yml b/.github/workflows/e2e-test-workflow-call.yml index 4e09295a143..2d9a445b2b3 100644 --- a/.github/workflows/e2e-test-workflow-call.yml +++ b/.github/workflows/e2e-test-workflow-call.yml @@ -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 + runs-on: depot-ubuntu-22.04-4 steps: - name: Display Inputs run: | @@ -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 + runs-on: depot-ubuntu-22.04-4 steps: - uses: actions/checkout@v4 if: ${{ inputs.build-and-push-docker-image }} @@ -117,7 +117,7 @@ jobs: IBC_GO_VERSION=${{ github.ref_name }} docker-build-wasm: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 steps: - uses: actions/checkout@v4 if: ${{ inputs.build-and-push-docker-image-wasm }} @@ -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 + runs-on: depot-ubuntu-22.04-4 outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: @@ -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 + runs-on: depot-ubuntu-22.04-4 needs: - build-test-matrix - docker-build @@ -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 + runs-on: depot-ubuntu-22.04-4 needs: - build-test-matrix - docker-build diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 858082770a0..f4b78fceac2 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -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 + runs-on: depot-ubuntu-22.04-4 outputs: simd-tag: ${{ steps.get-tag.outputs.simd-tag }} steps: diff --git a/.github/workflows/e2emodule.yml b/.github/workflows/e2emodule.yml index 9c870231aa8..2faf7ece486 100644 --- a/.github/workflows/e2emodule.yml +++ b/.github/workflows/e2emodule.yml @@ -13,7 +13,7 @@ permissions: jobs: lint: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 steps: - uses: actions/setup-go@v5 with: @@ -30,7 +30,7 @@ jobs: working-directory: e2e/ tests: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 diff --git a/.github/workflows/golangci-feature.yml b/.github/workflows/golangci-feature.yml index e0a7087a924..3f9037433d1 100644 --- a/.github/workflows/golangci-feature.yml +++ b/.github/workflows/golangci-feature.yml @@ -18,7 +18,7 @@ permissions: jobs: golangci: name: lint - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 steps: - uses: actions/setup-go@v5 with: diff --git a/.github/workflows/golangci.yml b/.github/workflows/golangci.yml index a3e42fa7526..a5a99b5f308 100644 --- a/.github/workflows/golangci.yml +++ b/.github/workflows/golangci.yml @@ -14,7 +14,7 @@ permissions: jobs: golangci: name: lint - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 steps: - uses: actions/setup-go@v5 with: diff --git a/.github/workflows/link-check.yml b/.github/workflows/link-check.yml index 214e1a14541..ff8eb16a0f0 100644 --- a/.github/workflows/link-check.yml +++ b/.github/workflows/link-check.yml @@ -6,7 +6,7 @@ on: - "!.github/**" jobs: markdown-link-check: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 steps: - uses: actions/checkout@v4 - uses: gaurav-nelson/github-action-markdown-link-check@v1 diff --git a/.github/workflows/markdown-lint.yml b/.github/workflows/markdown-lint.yml index de6954cc5e5..cbbdff7c1bb 100644 --- a/.github/workflows/markdown-lint.yml +++ b/.github/workflows/markdown-lint.yml @@ -8,7 +8,7 @@ on: - "!.github/**" jobs: lint: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/proto-breaking-check.yml b/.github/workflows/proto-breaking-check.yml index 8e675beb0f3..9ddcf83bdb5 100644 --- a/.github/workflows/proto-breaking-check.yml +++ b/.github/workflows/proto-breaking-check.yml @@ -9,7 +9,7 @@ on: jobs: proto-breaking-check: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 steps: - uses: actions/checkout@v4 - name: Run proto-breaking check diff --git a/.github/workflows/proto-registry.yml b/.github/workflows/proto-registry.yml index f7081ee86ba..f41f285f28b 100644 --- a/.github/workflows/proto-registry.yml +++ b/.github/workflows/proto-registry.yml @@ -10,7 +10,7 @@ on: jobs: push: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 steps: - uses: actions/checkout@v4 - uses: bufbuild/buf-setup-action@v1.50.0 diff --git a/.github/workflows/release-wasm.yml b/.github/workflows/release-wasm.yml index 3cb42026837..f85daad71b9 100644 --- a/.github/workflows/release-wasm.yml +++ b/.github/workflows/release-wasm.yml @@ -26,7 +26,7 @@ env: jobs: publish-docker-image-wasm: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 873f7b981ad..72ed155ba26 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ env: jobs: publish-docker-image: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/spell-checker.yml b/.github/workflows/spell-checker.yml index 746bdbbd2de..59739f2429f 100644 --- a/.github/workflows/spell-checker.yml +++ b/.github/workflows/spell-checker.yml @@ -12,7 +12,7 @@ permissions: jobs: build: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 04f5574af88..495c69c4d84 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ on: jobs: cleanup-runs: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 steps: - uses: rokroskar/workflow-run-cleanup-action@master env: @@ -18,7 +18,7 @@ jobs: if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main'" build: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 strategy: matrix: go-arch: ['amd64', 'arm64'] @@ -55,7 +55,7 @@ jobs: done split-test-files: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 @@ -84,7 +84,7 @@ jobs: path: ./pkgs.txt.part.03 tests: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 needs: split-test-files strategy: fail-fast: false @@ -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 + runs-on: depot-ubuntu-22.04-4 needs: [tests] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/wasm-client.yml b/.github/workflows/wasm-client.yml index c479e57eb39..25bd8dea619 100644 --- a/.github/workflows/wasm-client.yml +++ b/.github/workflows/wasm-client.yml @@ -12,7 +12,7 @@ permissions: jobs: lint: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 steps: - uses: actions/setup-go@v5 with: @@ -28,7 +28,7 @@ jobs: working-directory: modules/light-clients/08-wasm build: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 strategy: matrix: go-arch: ['amd64', 'arm64'] @@ -50,7 +50,7 @@ jobs: GOARCH=${{ matrix.go-arch }} CGO_ENABLED=1 go build ./... tests: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-22.04-4 steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 @@ -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 + runs-on: depot-ubuntu-22.04-4 needs: [tests] steps: - name: sonarcloud