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.
This commit is contained in:
Chirag Aggarwal committed 2026-09-20 10:37:33 +01:00
1 parent 0fc5b7d30b
commit 2b278e73dd
3 files changed
+7 -7

No files matched your search

+5 -5
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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