From c774b7124151d78d36b5199ec5b9f0523977c1db Mon Sep 17 00:00:00 2001 From: Vuong Hoang Date: Wed, 29 Apr 2026 18:33:43 -0700 Subject: [PATCH] ci/task-board: use runner default image (node:20-bookworm-slim) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit debian:bookworm-slim lacks node, so actions/checkout@v4 (a JS action running dist/index.js) fails with `exec: "node": executable file not found in $PATH`. Dropping the explicit `container:` directive lets the runner use its label-default — node:20-bookworm-slim has node + git out of the box. Install step shrinks to python3 + pyyaml + openssh-client. --- stacks/task-board/gitea-workflow-deploy.yaml.example | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/stacks/task-board/gitea-workflow-deploy.yaml.example b/stacks/task-board/gitea-workflow-deploy.yaml.example index c61494d..db08aa3 100644 --- a/stacks/task-board/gitea-workflow-deploy.yaml.example +++ b/stacks/task-board/gitea-workflow-deploy.yaml.example @@ -36,20 +36,18 @@ jobs: deploy: # `pfi-fleet` matches the central runner on ana-docker. Pin to # `ana-docker` instead if you want to refuse running on a future - # site-local runner. + # site-local runner. The runner's label embeds a default image + # (node:20-bookworm-slim) — has node + git out of the box, so + # actions/checkout@v4 (a JS action) works without a custom + # container. We just apt-install python3 + pyyaml for elway. runs-on: pfi-fleet - # Debian image picked because the elway playbook uses python3 + - # pyyaml (Debian package: python3-yaml). Keeps the install step short. - container: - image: debian:bookworm-slim - steps: - name: Install playbook prerequisites run: | apt-get update -qq apt-get install -y --no-install-recommends \ - python3 python3-yaml openssh-client ca-certificates curl git + python3 python3-yaml openssh-client rm -rf /var/lib/apt/lists/* - name: Checkout task-board (triggering repo)