From 864330bb795fef025e98486b0c17816df72515c0 Mon Sep 17 00:00:00 2001 From: Gianmarco Fraccaroli Date: Wed, 14 Jan 2026 15:01:06 +0100 Subject: [PATCH 1/2] ci: update runners name --- .github/workflows/ci.yml | 47 ++++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 05b2fb4692..ea58472885 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,6 +38,7 @@ env: LEDGER_APP_VERSION: "3.0.7" ROLE: arn:aws:iam::375643557360:role/github-runners-ci-shared SCCACHE_ERROR_LOG: /tmp/sccache_log.txt + DOMAIN: namada jobs: changelog: @@ -58,7 +59,7 @@ jobs: rust-docs: container: image: ghcr.io/heliaxdev/namada-ci:namada-v2.3.0 - runs-on: [self-hosted, 4vcpu-8ram-ubuntu22-namada-x86] + runs-on: [self-hosted, 4vcpu-8ram-x86-namada] timeout-minutes: 20 steps: @@ -76,7 +77,7 @@ jobs: RUNS_ON_S3_BUCKET_CACHE: ${{ env.CACHE_BUCKET }} with: path: /root/.cargo - key: /cache/${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}-${{ env.NIGHTLY }} + key: /cache/${{ env.DOMAIN }}/${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}-${{ env.NIGHTLY }} - name: Start sccache server id: sccache run: sccache --start-server @@ -92,7 +93,7 @@ jobs: lints: container: image: ghcr.io/heliaxdev/namada-ci:namada-v2.3.0 - runs-on: [self-hosted, 8vcpu-16ram-ubuntu22-namada-x86] + runs-on: [self-hosted, 8vcpu-16ram-x86-namada] timeout-minutes: 15 steps: @@ -110,7 +111,7 @@ jobs: RUNS_ON_S3_BUCKET_CACHE: ${{ env.CACHE_BUCKET }} with: path: /root/.cargo - key: /cache/${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}-${{ env.NIGHTLY }} + key: /cache/${{ env.DOMAIN }}/${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}-${{ env.NIGHTLY }} - name: Start sccache server id: sccache run: sccache --start-server @@ -127,7 +128,7 @@ jobs: build-wasm: timeout-minutes: 10 - runs-on: [self-hosted, 4vcpu-8ram-ubuntu22-namada-x86] + runs-on: [self-hosted, 4vcpu-8ram-x86-namada] container: image: ghcr.io/heliaxdev/namada-ci:namada-v2.3.0 strategy: @@ -161,7 +162,7 @@ jobs: RUNS_ON_S3_BUCKET_CACHE: ${{ env.CACHE_BUCKET }} with: path: /root/.cargo - key: /cache/${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}-${{ env.NIGHTLY }} + key: /cache/${{ env.DOMAIN }}/${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}-${{ env.NIGHTLY }} - name: Build ${{ matrix.make.name }} run: make ${{ matrix.make.command }} - name: Upload ${{ matrix.make.name }} artifacts @@ -177,7 +178,7 @@ jobs: timeout-minutes: 30 container: image: ghcr.io/heliaxdev/namada-ci:namada-v2.3.0 - runs-on: [self-hosted, 4vcpu-8ram-ubuntu22-namada-x86] + runs-on: [self-hosted, 4vcpu-8ram-x86-namada] needs: [build-wasm] steps: @@ -195,7 +196,7 @@ jobs: RUNS_ON_S3_BUCKET_CACHE: ${{ env.CACHE_BUCKET }} with: path: /root/.cargo - key: /cache/${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}-${{ env.NIGHTLY }} + key: /cache/${{ env.DOMAIN }}/${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}-${{ env.NIGHTLY }} - name: Download wasm artifacts uses: actions/download-artifact@v4 with: @@ -221,7 +222,7 @@ jobs: run: cargo cache --autoclean-expensive test-unit: - runs-on: [self-hosted, 8vcpu-16ram-ubuntu22-namada-x86] + runs-on: [self-hosted, 8vcpu-16ram-x86-namada] container: image: ghcr.io/heliaxdev/namada-ci:namada-v2.3.0 timeout-minutes: 30 @@ -242,7 +243,7 @@ jobs: RUNS_ON_S3_BUCKET_CACHE: ${{ env.CACHE_BUCKET }} with: path: /root/.cargo - key: /cache/${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}-${{ env.NIGHTLY }} + key: /cache/${{ env.DOMAIN }}/${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}-${{ env.NIGHTLY }} - name: Start sccache server id: sccache run: sccache --start-server @@ -274,7 +275,7 @@ jobs: run: sccache --stop-server || true check-packages: - runs-on: [self-hosted, 8vcpu-16ram-ubuntu22-namada-x86] + runs-on: [self-hosted, 8vcpu-16ram-x86-namada] container: image: ghcr.io/heliaxdev/namada-ci:namada-v2.3.0 timeout-minutes: 15 @@ -294,7 +295,7 @@ jobs: RUNS_ON_S3_BUCKET_CACHE: ${{ env.CACHE_BUCKET }} with: path: /root/.cargo - key: /cache/${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}-${{ env.NIGHTLY }} + key: /cache/${{ env.DOMAIN }}/${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}-${{ env.NIGHTLY }} - name: Start sccache server id: sccache run: sccache --start-server @@ -310,7 +311,7 @@ jobs: run: sccache --stop-server || true test-integration: - runs-on: [self-hosted, 16vcpu-32ram-ubuntu22-namada-x86] + runs-on: [self-hosted, 16vcpu-32ram-x86-namada] container: image: ghcr.io/heliaxdev/namada-ci:namada-v2.3.0 timeout-minutes: 120 @@ -331,7 +332,7 @@ jobs: RUNS_ON_S3_BUCKET_CACHE: ${{ env.CACHE_BUCKET }} with: path: /root/.cargo - key: /cache/${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}-${{ env.NIGHTLY }} + key: /cache/${{ env.DOMAIN }}/${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}-${{ env.NIGHTLY }} - name: Start sccache server id: sccache run: sccache --start-server @@ -363,7 +364,7 @@ jobs: run: sccache --stop-server || true check-benchmarks: - runs-on: [self-hosted, 16vcpu-32ram-ubuntu22-namada-x86] + runs-on: [self-hosted, 16vcpu-32ram-x86-namada] container: image: ghcr.io/heliaxdev/namada-ci:namada-v2.3.0 if: github.event.pull_request.draft == false || contains(github.head_ref, 'mergify/merge-queue') || contains(github.ref_name, 'mergify/merge-queue') @@ -385,7 +386,7 @@ jobs: RUNS_ON_S3_BUCKET_CACHE: ${{ env.CACHE_BUCKET }} with: path: /root/.cargo - key: /cache/${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}-${{ env.NIGHTLY }} + key: /cache/${{ env.DOMAIN }}/${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}-${{ env.NIGHTLY }} - name: Start sccache server id: sccache run: sccache --start-server @@ -411,7 +412,7 @@ jobs: run: sccache --stop-server || true build-binaries: - runs-on: [self-hosted, 16vcpu-32ram-ubuntu22-namada-x86] + runs-on: [self-hosted, 16vcpu-32ram-x86-namada] container: image: ghcr.io/heliaxdev/namada-ci:namada-v2.3.0 timeout-minutes: 25 @@ -431,7 +432,7 @@ jobs: RUNS_ON_S3_BUCKET_CACHE: ${{ env.CACHE_BUCKET }} with: path: /root/.cargo - key: /cache/${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}-${{ env.NIGHTLY }} + key: /cache/${{ env.DOMAIN }}/${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}-${{ env.NIGHTLY }} - name: Start sccache server id: sccache run: sccache --start-server @@ -462,7 +463,7 @@ jobs: run: sccache --stop-server || true test-e2e: - runs-on: [self-hosted, 4vcpu-8ram-ubuntu22-namada-x86] + runs-on: [self-hosted, 4vcpu-8ram-x86-namada] container: image: ghcr.io/heliaxdev/namada-ci:namada-v2.3.0 if: github.event.pull_request.draft == false || contains(github.head_ref, 'mergify/merge-queue') || contains(github.ref_name, 'mergify/merge-queue') @@ -493,7 +494,7 @@ jobs: RUNS_ON_S3_BUCKET_CACHE: ${{ env.CACHE_BUCKET }} with: path: /root/.cargo - key: /cache/${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}-${{ env.NIGHTLY }} + key: /cache/${{ env.DOMAIN }}/${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}-${{ env.NIGHTLY }} - name: Start sccache server id: sccache run: sccache --start-server @@ -633,7 +634,7 @@ jobs: make cpp_test test-e2e-with-device-automation: - runs-on: [self-hosted, 4vcpu-8ram-ubuntu22-namada-x86] + runs-on: [self-hosted, 4vcpu-8ram-x86-namada] container: image: ghcr.io/heliaxdev/namada-ci:namada-v2.3.0 if: github.event.pull_request.draft == false || contains(github.head_ref, 'mergify/merge-queue') || contains(github.ref_name, 'mergify/merge-queue') @@ -655,7 +656,7 @@ jobs: RUNS_ON_S3_BUCKET_CACHE: ${{ env.CACHE_BUCKET }} with: path: /root/.cargo - key: /cache/${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}-${{ env.NIGHTLY }} + key: /cache/${{ env.DOMAIN }}/${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}-${{ env.NIGHTLY }} - name: Start sccache server id: sccache run: sccache --start-server @@ -727,7 +728,7 @@ jobs: run: sccache --stop-server || true check-sdk-licenses: - runs-on: [self-hosted, 4vcpu-8ram-ubuntu22-namada-x86] + runs-on: [self-hosted, 4vcpu-8ram-x86-namada] container: image: ghcr.io/heliaxdev/namada-ci:namada-v2.3.0 timeout-minutes: 5 From ed6ec66ae31300fe52b2a4878582d851b6087d06 Mon Sep 17 00:00:00 2001 From: Gianmarco Fraccaroli Date: Thu, 15 Jan 2026 12:27:29 +0100 Subject: [PATCH 2/2] ci: increase role duration --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea58472885..40df1beee5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,6 +70,7 @@ jobs: with: aws-region: ${{ env.AWS_REGION }} role-to-assume: ${{ env.ROLE }} + role-duration-seconds: 7200 - name: Cache cargo id: cache uses: runs-on/cache@v4 @@ -104,6 +105,7 @@ jobs: with: aws-region: ${{ env.AWS_REGION }} role-to-assume: ${{ env.ROLE }} + role-duration-seconds: 7200 - name: Cache cargo id: cache uses: runs-on/cache@v4 @@ -155,6 +157,7 @@ jobs: with: aws-region: ${{ env.AWS_REGION }} role-to-assume: ${{ env.ROLE }} + role-duration-seconds: 7200 - name: Cache cargo id: cache uses: runs-on/cache@v4 @@ -189,6 +192,7 @@ jobs: with: aws-region: ${{ env.AWS_REGION }} role-to-assume: ${{ env.ROLE }} + role-duration-seconds: 7200 - name: Cache cargo id: cache uses: runs-on/cache@v4 @@ -236,6 +240,7 @@ jobs: with: aws-region: ${{ env.AWS_REGION }} role-to-assume: ${{ env.ROLE }} + role-duration-seconds: 7200 - name: Cache cargo id: cache uses: runs-on/cache@v4 @@ -288,6 +293,7 @@ jobs: with: aws-region: ${{ env.AWS_REGION }} role-to-assume: ${{ env.ROLE }} + role-duration-seconds: 7200 - name: Cache cargo id: cache uses: runs-on/cache@v4 @@ -325,6 +331,7 @@ jobs: with: aws-region: ${{ env.AWS_REGION }} role-to-assume: ${{ env.ROLE }} + role-duration-seconds: 7200 - name: Cache cargo id: cache uses: runs-on/cache@v4 @@ -379,6 +386,7 @@ jobs: with: aws-region: ${{ env.AWS_REGION }} role-to-assume: ${{ env.ROLE }} + role-duration-seconds: 7200 - name: Cache cargo id: cache uses: runs-on/cache@v4 @@ -425,6 +433,7 @@ jobs: with: aws-region: ${{ env.AWS_REGION }} role-to-assume: ${{ env.ROLE }} + role-duration-seconds: 7200 - name: Cache cargo id: cache uses: runs-on/cache@v4 @@ -487,6 +496,7 @@ jobs: with: aws-region: ${{ env.AWS_REGION }} role-to-assume: ${{ env.ROLE }} + role-duration-seconds: 7200 - name: Cache cargo id: cache uses: runs-on/cache@v4 @@ -649,6 +659,7 @@ jobs: with: aws-region: ${{ env.AWS_REGION }} role-to-assume: ${{ env.ROLE }} + role-duration-seconds: 7200 - name: Cache cargo id: cache uses: runs-on/cache@v4 @@ -741,6 +752,7 @@ jobs: with: aws-region: ${{ env.AWS_REGION }} role-to-assume: ${{ env.ROLE }} + role-duration-seconds: 7200 - uses: taiki-e/install-action@v2 with: tool: cargo-binstall