ci: support suite-aware extra repos#171
Open
simonbeaudoin0935 wants to merge 4 commits into
Open
Conversation
9087770 to
e79d931
Compare
74ddbe9 to
d9233fc
Compare
Add debian/extra-repositories.txt parsing for build_package. Support suite filters like [noble,questing] and suite placeholders. Pass selected entries to all sbuild invocation paths. Signed-off-by: Simon Beaudoin <sbeaudoi@qti.qualcomm.com>
Document debian/extra-repositories.txt in AGENTS.md. Describe suite filters, wildcard support, and placeholders. Signed-off-by: Simon Beaudoin <sbeaudoi@qti.qualcomm.com>
Keep only global entries and explicit suite-filtered entries in debian/extra-repositories.txt. Remove wildcard and placeholder handling. Keep sid/unstable alias matching for suite filters. Update docs to reflect the simplified contract. Signed-off-by: Simon Beaudoin <sbeaudoi@qti.qualcomm.com>
Point DEBUSINE_ACTION_REF to dev/sbeaudoi-extra-repositories. This enables pkg-example trixie validation for extra-repositories. Signed-off-by: Simon Beaudoin <sbeaudoi@qti.qualcomm.com>
d9233fc to
4723748
Compare
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.
Summary
Add support for package-repo-provided extra apt repositories during CI builds via an optional
debian/extra-repositories.txtfile.Mechanism
build_packagereadsdebian/extra-repositories.txt(if present) and forwards active entries tosbuildas--extra-repository.Supported entry forms:
deb ...[noble,questing,resolute] deb ...Behavior:
unstableandsidare treated as equivalent for filter matchingValidation
Validated downstream with
pkg-exampleusingqcom-build-utils@developmentat commitfc9b2261e31f5e2cdb816e570698f96efb59d01f.Workflow run:
pkg-examplebuild workflow run: https://github.com/qualcomm-linux/pkg-example/actions/runs/27319570199debian-ref=qcom/debian/latestsuite=nobleforce-docker-build=trueObserved in logs:
deb [arch=arm64 trusted=yes] https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu noble mainpython3.7-devpython3.7-devand related packages were pulled from the configured PPA and build completed successfully