enhancement: produce more useful names in build-matrix

Aperta
#343 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
57/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
docker, github-actions

Direzione di ricerca

Start with the referenced .github/workflows/bake.yml section around lines 517–528 and compare the generated check names with the Docker packaging workflow linked in the issue. Identify where the numeric matrix index enters the name and whether the other matrix fields provide a stable unique name. Done means the checks use informative names without collisions; verify by inspecting the resulting matrix names.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

kind/enhancement status/triage
Description

Opening as a quick write-up; I didn't dig deep yet, and may even be in the wrong repository 😂

Looking at the packaging repository; for example on this PR https://github.com/docker/packaging/pull/577

workflow; https://github.com/docker/packaging/actions/runs/43001873392/job/130460054549?pr=577

The checks matrix produces builds like;

run / build (almalinux10) / build (almalinux10, 0, linux/amd64, ubuntu-26.04)
run / build (almalinux10) / build (almalinux10, 1, linux/arm64, ubuntu-26.04-arm)

Given that the other parameters already seem to produce a unique combination, I wondered where the 0 and 1 came from, as they're not very informative.

Some initial searching .. I suspect this may be the part to look at? https://github.com/docker/github-builder/blob/a31d2311da4d55e21b978c1c52bab82ba97d51ee/.github/workflows/bake.yml#L517-L528

Can we remove the numeric index somehow from the name to produce a more logical name for the check (perhaps a custom name: attribute if the fields in the matrix are predictable and not expected to change?)

Lingua principale
Nessun dato sulla lingua
Stelle
94
Fork
28
Merge medio
2g 7h
PR unite (30g)
20

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di docker/github-builder

Tutte le issue di docker/github-builder

Issue simili

Altre issue su Build System

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.