From 2b278e73dd8e6e3dea20964b2094226e653cc7aa Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Sun, 20 Sep 2026 10:37:33 +0100 Subject: [PATCH] ci: track the runner image family instead of one deleted build The pinned image was pruned by the gcrunner image workflow, which keeps only the newest three per family, so every job here queues forever behind `The referenced image resource cannot be found`. The family always names the newest build and cannot be collected out from under CI. --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/sdk-preview.yml | 2 +- .github/workflows/specs.yml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 42fb6d36dd..24d81c4070 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,7 +46,7 @@ jobs: runs-on: >- ${{ (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) - && format('gcrunner={0}-security-{1}/family=n2d/cpu=4+8/ram=16+32/disk=80gb/image=gcrunner-ubuntu2404-x64-baf37b4-20260917131151', github.run_id, strategy.job-index) + && format('gcrunner={0}-security-{1}/family=n2d/cpu=4+8/ram=16+32/disk=80gb/image=ubuntu24-full-x64', github.run_id, strategy.job-index) || 'ubuntu-latest' }} permissions: contents: read @@ -104,7 +104,7 @@ jobs: runs-on: >- ${{ (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) - && format('gcrunner={0}-checks-{1}/family=n2d/cpu=4/ram=16/disk=80gb/image=gcrunner-ubuntu2404-x64-baf37b4-20260917131151', github.run_id, strategy.job-index) + && format('gcrunner={0}-checks-{1}/family=n2d/cpu=4/ram=16/disk=80gb/image=ubuntu24-full-x64', github.run_id, strategy.job-index) || 'ubuntu-latest' }} steps: - name: Checkout repository @@ -179,7 +179,7 @@ jobs: runs-on: >- ${{ (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) - && format('gcrunner={0}-locale-{1}/family=n2d/cpu=2/ram=8/disk=80gb/image=gcrunner-ubuntu2404-x64-baf37b4-20260917131151', github.run_id, strategy.job-index) + && format('gcrunner={0}-locale-{1}/family=n2d/cpu=2/ram=8/disk=80gb/image=ubuntu24-full-x64', github.run_id, strategy.job-index) || 'ubuntu-latest' }} steps: - name: Check out the repo @@ -281,7 +281,7 @@ jobs: runs-on: >- ${{ (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) - && format('gcrunner={0}-packages-{1}/family=n2d/cpu=2/ram=8/disk=80gb/image=gcrunner-ubuntu2404-x64-baf37b4-20260917131151', github.run_id, strategy.job-index) + && format('gcrunner={0}-packages-{1}/family=n2d/cpu=2/ram=8/disk=80gb/image=ubuntu24-full-x64', github.run_id, strategy.job-index) || 'ubuntu-latest' }} outputs: matrix: ${{ steps.changed.outputs.matrix }} @@ -353,7 +353,7 @@ jobs: runs-on: >- ${{ (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) - && format('gcrunner={0}-package-{1}/family=n2d/cpu=2+4/ram=8+16/disk=80gb/image=gcrunner-ubuntu2404-x64-baf37b4-20260917131151', github.run_id, strategy.job-index) + && format('gcrunner={0}-package-{1}/family=n2d/cpu=2+4/ram=8+16/disk=80gb/image=ubuntu24-full-x64', github.run_id, strategy.job-index) || 'ubuntu-latest' }} strategy: fail-fast: false diff --git a/.github/workflows/sdk-preview.yml b/.github/workflows/sdk-preview.yml index 790139fafd..6e02b4c099 100644 --- a/.github/workflows/sdk-preview.yml +++ b/.github/workflows/sdk-preview.yml @@ -16,7 +16,7 @@ on: jobs: setup: name: Setup & Build SDK - runs-on: gcrunner=${{ github.run_id }}-setup-${{ strategy.job-index }}/family=n2d/cpu=4/ram=16/disk=80gb/image=gcrunner-ubuntu2404-x64-baf37b4-20260917131151 + runs-on: gcrunner=${{ github.run_id }}-setup-${{ strategy.job-index }}/family=n2d/cpu=4/ram=16/disk=80gb/image=ubuntu24-full-x64 steps: - name: Checkout repository uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 diff --git a/.github/workflows/specs.yml b/.github/workflows/specs.yml index e9b5cfee58..3170a8b09d 100644 --- a/.github/workflows/specs.yml +++ b/.github/workflows/specs.yml @@ -30,7 +30,7 @@ on: jobs: generate: name: Generate Specs - runs-on: gcrunner=${{ github.run_id }}-generate-${{ strategy.job-index }}/family=n2d/cpu=4/ram=16/disk=80gb/image=gcrunner-ubuntu2404-x64-baf37b4-20260917131151 + runs-on: gcrunner=${{ github.run_id }}-generate-${{ strategy.job-index }}/family=n2d/cpu=4/ram=16/disk=80gb/image=ubuntu24-full-x64 steps: - name: Checkout repository uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2