pkg-build: bundle metadata.json inside debs.tar.gz for S3 upload - #227
Merged
Merged
Conversation
Generate metadata.json alongside the .deb files and include it in the debs.tar.gz archive, mirroring the format used by debusine-action's generate-sources-tar so Ubuntu proposed-artifact consumers get the same source-package/version/suite metadata as the Debian/Debusine path. Signed-off-by: Keerthi Gowda <kbalehal@qti.qualcomm.com>
Keerthi Gowda (keerthi-go)
force-pushed
the
feat/upload-s3-metadata-json
branch
2 times, most recently
from
August 25, 2026 22:11
49b999a to
4878fdb
Compare
Bjordis Collaku (bjordiscollaku)
approved these changes
Aug 25, 2026
Simon Beaudoin (simonbeaudoin0935)
deleted the
feat/upload-s3-metadata-json
branch
August 31, 2026 18:34
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
Upload_to_S3job ofpkg-build-reusable-workflow.yml, writingbuild-area/metadata.jsonbefore the debs are staged.qualcomm-linux/debusine-action'slib/generate-sources-tar(source-package,version,suitefields via apython3heredoc), so Ubuntu proposed-artifact consumers get the same metadata shape as the Debian/Debusine path.metadata.jsonis bundled directly insidedebs.tar.gzalongside the.debfiles (rather than uploaded as a sibling file), so a single archive carries both the packages and their metadata.Test plan
python3 -c "import yaml; yaml.safe_load(...)")pkg-fastrpc@dev-axiom/ubuntu/resolutepointed at this branch, confirmeddebs.tar.gzuploaded toqli-prd-lecore-gh-artifactsS3 bucket underqualcomm-linux/pkg/proposed/<run_id>-<run_attempt>/containsmetadata.jsonalongside the.debfilesmetadata.jsoncontent matches{"source-package": "fastrpc", "version": "1.0.2-2", "suite": "resolute"}