Skip to content

Commit 59dbd90

Browse files
committed
Add ubuntu-rootfs full-golden toolcache selftest workflow
Dispatchable smoke test that verifies the baked-in runner-images tool cache in the --toolset full golden is present and consumed by setup-go/node/python (versions resolve locally instead of downloading).
1 parent 84d2bf8 commit 59dbd90

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: ubuntu-rootfs-selftest
2+
3+
# Smoke test for the "full" ubuntu-rootfs golden (build-ubuntu-rootfs.sh
4+
# --toolset full): confirms the baked-in actions/runner-images tool cache is
5+
# present and consumed by the setup-* actions (versions resolve locally instead
6+
# of downloading). Dispatch against a firerunner listener booting the full
7+
# golden. Versions below match toolset-2404.json; adjust if the ref changes.
8+
on:
9+
workflow_dispatch:
10+
11+
jobs:
12+
toolcache:
13+
runs-on: firerunner
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: setup-go (from go.mod)
17+
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
18+
with:
19+
go-version-file: go.mod
20+
cache: false
21+
- name: setup-node
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: '24'
25+
- name: setup-python
26+
uses: actions/setup-python@v5
27+
with:
28+
python-version: '3.13'
29+
- name: report
30+
run: |
31+
echo "RUNNER_TOOL_CACHE=${RUNNER_TOOL_CACHE:-unset}"
32+
echo "AGENT_TOOLSDIRECTORY=${AGENT_TOOLSDIRECTORY:-unset}"
33+
echo "go: $(go version)"
34+
echo "node: $(node --version)"
35+
echo "python: $(python --version)"
36+
echo "cache tools: $(ls "${RUNNER_TOOL_CACHE:-/opt/hostedtoolcache}" 2>/dev/null | tr '\n' ' ')"

0 commit comments

Comments
 (0)