enhancement: produce more useful names in build-matrix

Ouverte
#343 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
57/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
docker, github-actions
Domaine
build-system, ci-cd

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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?)

Langage dominant
Aucune donnée de langage
Étoiles
94
Forks
28
Merge moyen
2 j 7 h
PR mergées (30 j)
20

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de docker/github-builder

Toutes les issues de docker/github-builder

Issues similaires

Plus d'issues Build System

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.