feat(workflows.yaml): display names + restructure for shallow-merge
Two scope changes that together get the self-hosted wfe CI pipeline
passing against builds.sunbeam.pt.
1. Add `name:` display names to all 12 workflow definitions
(Continuous Integration, Unit Tests, Build Image, etc.) so the
new wfectl tables and UIs have human-friendly labels alongside
the slug ids.
2. Restructure step references from the old `<<: *ci_step` / `<<:
*ci_long` anchors to inner-config merges of the form:
- name: foo
type: kubernetes
config:
<<: *ci_config
run: |
...
YAML 1.1 merge keys are *shallow*. The old anchors put `config:`
on the top-level step, then the step's own `config:` block
replaced it wholesale — image, memory, cpu, env all vanished.
The new pattern merges at the `config:` level so step-specific
fields (`run:`, `outputs:`, etc.) sit alongside the inherited
`image:`, `memory:`, `cpu:`, `env:`.
3. Secret env vars (GITEA_TOKEN, TEA_TOKEN, CARGO_REGISTRIES_*,
BUILDKIT_*) moved into the shared `ci_env` anchor. Individual
steps used to declare their own `env:` blocks which — again due
to shallow merge — would replace the whole inherited env map.
This commit is contained in:
952
workflows.yaml
952
workflows.yaml
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user