refactor(ci): route workflows by agent group label instead of named agent #94

Merged
pat-s merged 1 commit from t3code/00d15d8c into main 2026-06-17 16:26:05 +00:00
5 changed files with 9 additions and 63 deletions
Showing only changes of commit af1277008f - Show all commits

refactor(ci): route workflows by agent group label instead of named agent

Replace the per-agent `agent: ${AGENT}` label with a group label
`group: rpkgs-${ARCH}`, so workflows target the rpkgs-amd64 / rpkgs-arm64
agent pools rather than a specific agent. Drops the now-unused AGENT matrix
variable across all build/process/weekly workflows.
Patrick Schratz 2026-06-17 18:24:08 +02:00
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -30,14 +30,12 @@ skip_clone: true
labels:
platform: linux/${ARCH}
agent: ${AGENT}
group: rpkgs-${ARCH}
matrix:
include:
- ARCH: amd64
AGENT: artemis
- ARCH: arm64
AGENT: gaia
steps:
- name: 'Install deps and bincraft'

View file

@ -1,7 +1,7 @@
### Manual full rebuild of all CRAN binaries for one OS/arch.
# Set the variables below in the manual-run form (or via --var on the CLI).
# `target_arch` routes the matrix; OS/OS_VERSION/R_VERSION select the platform
# image and cache volume. Placement is via the agent label (artemis/gaia).
# image and cache volume. Placement is via the group label (rpkgs-amd64/rpkgs-arm64).
# Skip list lives in local/excluded-packages.json (read by local/build-all.R).
variables:
target_arch:
@ -31,47 +31,39 @@ skip_clone: true
labels:
platform: linux/${ARCH}
agent: ${AGENT}
group: rpkgs-${ARCH}
matrix:
include:
- ARCH: amd64
AGENT: artemis
R_PKG_CACHE_DIR: ''
SPLIT_INTO: 4
SPLIT_INDEX: 1
- ARCH: amd64
AGENT: artemis
R_PKG_CACHE_DIR: ''
SPLIT_INTO: 4
SPLIT_INDEX: 2
- ARCH: amd64
AGENT: artemis
R_PKG_CACHE_DIR: ''
SPLIT_INTO: 4
SPLIT_INDEX: 3
- ARCH: amd64
AGENT: artemis
R_PKG_CACHE_DIR: ''
SPLIT_INTO: 4
SPLIT_INDEX: 4
- ARCH: arm64
AGENT: gaia
R_PKG_CACHE_DIR: /mnt/cache/pkgcache
SPLIT_INTO: 4
SPLIT_INDEX: 1
- ARCH: arm64
AGENT: gaia
R_PKG_CACHE_DIR: /mnt/cache/pkgcache
SPLIT_INTO: 4
SPLIT_INDEX: 2
- ARCH: arm64
AGENT: gaia
R_PKG_CACHE_DIR: /mnt/cache/pkgcache
SPLIT_INTO: 4
SPLIT_INDEX: 3
- ARCH: arm64
AGENT: gaia
R_PKG_CACHE_DIR: /mnt/cache/pkgcache
SPLIT_INTO: 4
SPLIT_INDEX: 4

View file

@ -5,7 +5,7 @@
# its matching matrix row (via the per-row `cron:` name filter).
# - manual: pick a target from the `process_cran_updates` dropdown
# ("all" = every os/arch).
# Arch placement is handled by the agent label (artemis=amd64, gaia=arm64).
# Arch placement is handled by the group label (rpkgs-amd64, rpkgs-arm64).
variables:
process_cran_updates:
description: "Manual run target: a specific <os>-<arch>, or 'all' for every os/arch."
@ -36,104 +36,90 @@ when:
skip_clone: true
labels:
agent: ${AGENT}
group: rpkgs-${ARCH}
matrix:
include:
- OS: alpine-322
ARCH: amd64
AGENT: artemis
R_VERSION: 4.5.3
IMG: alpine:3.24
OS_ID: alpine322
PROCESS_NEW: "FALSE"
- OS: alpine-322
ARCH: arm64
AGENT: gaia
R_VERSION: 4.5.3
IMG: alpine:3.24
OS_ID: alpine322
PROCESS_NEW: "FALSE"
- OS: alpine-323
ARCH: amd64
AGENT: artemis
R_VERSION: 4.5.3
IMG: alpine:3.24
OS_ID: alpine323
PROCESS_NEW: "FALSE"
- OS: alpine-323
ARCH: arm64
AGENT: gaia
R_VERSION: 4.5.3
IMG: alpine:3.24
OS_ID: alpine323
PROCESS_NEW: "FALSE"
- OS: redhat-8
ARCH: amd64
AGENT: artemis
R_VERSION: 4.4.3
IMG: redhat:8
OS_ID: rhel8
PROCESS_NEW: "TRUE"
- OS: redhat-8
ARCH: arm64
AGENT: gaia
R_VERSION: 4.4.3
IMG: redhat:8
OS_ID: rhel8
PROCESS_NEW: "TRUE"
- OS: redhat-9
ARCH: amd64
AGENT: artemis
R_VERSION: 4.4.3
IMG: redhat:9
OS_ID: rhel9
PROCESS_NEW: "TRUE"
- OS: redhat-9
ARCH: arm64
AGENT: gaia
R_VERSION: 4.4.3
IMG: redhat:9
OS_ID: rhel9
PROCESS_NEW: "TRUE"
- OS: redhat-10
ARCH: amd64
AGENT: artemis
R_VERSION: 4.5.3
IMG: redhat:10
OS_ID: rhel10
PROCESS_NEW: "TRUE"
- OS: redhat-10
ARCH: arm64
AGENT: gaia
R_VERSION: 4.5.3
IMG: redhat:10
OS_ID: rhel10
PROCESS_NEW: "TRUE"
- OS: ubuntu-2204
ARCH: amd64
AGENT: artemis
R_VERSION: 4.4.3
IMG: ubuntu:jammy
OS_ID: jammy
PROCESS_NEW: "TRUE"
- OS: ubuntu-2204
ARCH: arm64
AGENT: gaia
R_VERSION: 4.4.3
IMG: ubuntu:jammy
OS_ID: jammy
PROCESS_NEW: "TRUE"
- OS: ubuntu-2404
ARCH: amd64
AGENT: artemis
R_VERSION: 4.4.3
IMG: ubuntu:noble
OS_ID: noble
PROCESS_NEW: "TRUE"
- OS: ubuntu-2404
ARCH: arm64
AGENT: gaia
R_VERSION: 4.4.3
IMG: ubuntu:noble
OS_ID: noble

View file

@ -5,7 +5,7 @@
# its matching matrix row (via the per-row `cron:` name filter).
# - manual: pick a target from the `weekly_audit_missing` dropdown
# ("all" = every os/arch).
# Arch placement is via the agent label (artemis=amd64, gaia=arm64).
# Arch placement is via the group label (rpkgs-amd64, rpkgs-arm64).
variables:
weekly_audit_missing:
description: "Manual run target: a specific <os>-<arch>, or 'all' for every os/arch."
@ -38,88 +38,72 @@ when:
skip_clone: true
labels:
agent: ${AGENT}
group: rpkgs-${ARCH}
matrix:
include:
- OS: alpine-321
ARCH: amd64
AGENT: artemis
R_VERSION: 4.5.3
IMG: alpine:3.24
- OS: alpine-321
ARCH: arm64
AGENT: gaia
R_VERSION: 4.5.3
IMG: alpine:3.24
- OS: alpine-322
ARCH: amd64
AGENT: artemis
R_VERSION: 4.5.3
IMG: alpine:3.24
- OS: alpine-322
ARCH: arm64
AGENT: gaia
R_VERSION: 4.5.3
IMG: alpine:3.24
- OS: alpine-323
ARCH: amd64
AGENT: artemis
R_VERSION: 4.5.3
IMG: alpine:3.24
- OS: alpine-323
ARCH: arm64
AGENT: gaia
R_VERSION: 4.5.3
IMG: alpine:3.24
- OS: redhat-8
ARCH: amd64
AGENT: artemis
R_VERSION: 4.4.3
IMG: redhat:8
- OS: redhat-8
ARCH: arm64
AGENT: gaia
R_VERSION: 4.4.3
IMG: redhat:8
- OS: redhat-9
ARCH: amd64
AGENT: artemis
R_VERSION: 4.4.3
IMG: redhat:9
- OS: redhat-9
ARCH: arm64
AGENT: gaia
R_VERSION: 4.4.3
IMG: redhat:9
- OS: redhat-10
ARCH: amd64
AGENT: artemis
R_VERSION: 4.5.3
IMG: redhat:10
- OS: redhat-10
ARCH: arm64
AGENT: gaia
R_VERSION: 4.5.3
IMG: redhat:10
- OS: ubuntu-2204
ARCH: amd64
AGENT: artemis
R_VERSION: 4.4.3
IMG: ubuntu:jammy
- OS: ubuntu-2204
ARCH: arm64
AGENT: gaia
R_VERSION: 4.4.3
IMG: ubuntu:jammy
- OS: ubuntu-2404
ARCH: amd64
AGENT: artemis
R_VERSION: 4.4.3
IMG: ubuntu:noble
- OS: ubuntu-2404
ARCH: arm64
AGENT: gaia
R_VERSION: 4.4.3
IMG: ubuntu:noble

View file

@ -6,7 +6,7 @@
# - manual: `weekly_rebuild_missing` dropdown, default "all" (matches the
# previous bare manual trigger that ran every os/arch); pick a
# single <os>-<arch> to run just one.
# Arch placement is handled by the agent label (artemis=amd64, gaia=arm64).
# Arch placement is handled by the group label (rpkgs-amd64, rpkgs-arm64).
variables:
weekly_rebuild_missing:
description: "Manual run target: a specific <os>-<arch>, or 'all' for every os/arch."
@ -37,78 +37,64 @@ when:
skip_clone: true
labels:
agent: ${AGENT}
group: rpkgs-${ARCH}
matrix:
include:
- OS: alpine-322
ARCH: amd64
AGENT: artemis
R_VERSION: 4.5.3
IMG: alpine:3.24
- OS: alpine-322
ARCH: arm64
AGENT: gaia
R_VERSION: 4.5.3
IMG: alpine:3.24
- OS: alpine-323
ARCH: amd64
AGENT: artemis
R_VERSION: 4.5.3
IMG: alpine:3.24
- OS: alpine-323
ARCH: arm64
AGENT: gaia
R_VERSION: 4.5.3
IMG: alpine:3.24
- OS: redhat-8
ARCH: amd64
AGENT: artemis
R_VERSION: 4.4.3
IMG: redhat:8
- OS: redhat-8
ARCH: arm64
AGENT: gaia
R_VERSION: 4.4.3
IMG: redhat:8
- OS: redhat-9
ARCH: amd64
AGENT: artemis
R_VERSION: 4.4.3
IMG: redhat:9
- OS: redhat-9
ARCH: arm64
AGENT: gaia
R_VERSION: 4.4.3
IMG: redhat:9
- OS: redhat-10
ARCH: amd64
AGENT: artemis
R_VERSION: 4.5.3
IMG: redhat:10
- OS: redhat-10
ARCH: arm64
AGENT: gaia
R_VERSION: 4.5.3
IMG: redhat:10
- OS: ubuntu-2204
ARCH: amd64
AGENT: artemis
R_VERSION: 4.4.3
IMG: ubuntu:jammy
- OS: ubuntu-2204
ARCH: arm64
AGENT: gaia
R_VERSION: 4.4.3
IMG: ubuntu:jammy
- OS: ubuntu-2404
ARCH: amd64
AGENT: artemis
R_VERSION: 4.4.3
IMG: ubuntu:noble
- OS: ubuntu-2404
ARCH: arm64
AGENT: gaia
R_VERSION: 4.4.3
IMG: ubuntu:noble