refactor(ci): consolidate build-all-versions workflows into 2 files #93

Merged
pat-s merged 3 commits from refactor/consolidate-build-all into main 2026-06-16 09:33:14 +00:00

2026-06-16

refactor(ci): drop K8S_INSTANCE_TYPE and kubernetes backend from build-all
Placement is handled by the agent label (artemis/gaia) and only the docker
backend is used, so the kubernetes backend_options blocks, the arch/instance
nodeSelector, and the K8S_INSTANCE_TYPE variable are dead. Remove them and the
now-redundant BACKEND matrix column.
2026-06-16 11:29:44 +02:00
fix(ci): declare manual variables for build-all so the run form is populated
The consolidated build-all routed on `task ==`, which crow #1165 filters out
of the manual-run form, leaving "no configurable variables". Declare
target_arch (routes the matrix) plus OS / OS_VERSION / R_VERSION /
K8S_INSTANCE_TYPE as variables, and route on `target_arch == "${ARCH}"` so the
form is populated and arch selection works from the UI. CLI callers now pass
`--var target_arch=amd64` instead of `--var task=build-all-amd64`.
2026-06-16 11:21:00 +02:00
refactor(ci): consolidate build-all-versions workflows (4 -> 2 files)
Merge the per-arch build-all and install-deps files into one each:
  build-all-versions-{amd64,arm64}.yaml             -> build-all-versions.yaml
  build-all-versions-install-deps-{amd64,arch}.yaml -> build-all-versions-install-deps.yaml

Arch becomes a matrix axis carrying the per-arch agent (artemis/gaia),
BACKEND (kubernetes/docker) and R_PKG_CACHE_DIR. Routing is unchanged: the
existing `task == "build-all-${ARCH}"` selector means
`--var task=build-all-amd64` still runs only the amd64 rows. OS / OS_VERSION /
R_VERSION / K8S_INSTANCE_TYPE are still passed via --var. These pipelines are
manual-only (no cron).
2026-06-16 10:37:58 +02:00