Repository navigation
ci(#968): image de CI préconstruite — étape 1, construction et publication sur ghcr.io - #1014
Merged
Merged
Conversation
…uction vers ghcr.io)
Couverture de tests (delta vs
|
| Métrique | Base (dev) |
PR | Δ |
|---|---|---|---|
| Couverture | 98.4 % | 98.4 % | +0.0 pt |
| Instructions couvertes | 24874/25163 | 24874/25163 | +0 |
| Branches couvertes | 7682/7910 | 7682/7910 | +0 |
Seuil bloquant : 95.0 % (fail_under, #246), marge 3.4 pt.
This was referenced Nov 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #968
ghcr.io accepté par @MathildeDec. Cette PR est l'étape 1, sans effet sur les jobs existants :
.github/ci-image/Dockerfile: ubuntu:26.04 avec les paquets apt des jobsquality,gtk4etpackagingdeci.yml(prérequis, tshark, poppler-utils, gettext, GTK4, Xvfb, debhelper, rpm), préréponse debconf pour wireshark-common et labelorg.opencontainers.image.sourcequi rattache le paquet au dépôt..github/workflows/ci-image.yml: construction sur le runner maison docker. Chaque PR qui touche l'image la construit sans la pousser. Le push versghcr.io/mathilde-team/netcross-ci:26.04(et un tag26.04-<sha>) se fait à chaque modification fusionnée dans dev, chaque lundi à 04:00 UTC et à la demande. Un contrôle vérifie la présence de tous les outils appelés par ci.yml.Étape 2 (PR suivante, une fois l'image publiée) :
container: ghcr.io/mathilde-team/netcross-ci:26.04aveccredentials(packages: read) dans ci.yml. Les étapes apt deviennent un contrôle de présence, avec repli sur apt si un paquet manque.Point d'attention : si le paquet ghcr est créé privé, il hérite de la visibilité de l'organisation. Les runners le liront avec le GITHUB_TOKEN du dépôt, grâce au rattachement par le label source.