Skip to content

fix(ci): add commit hash as org.opencontainers.image.revision label - #2340

Merged
inffy merged 1 commit into
ublue-os:mainfrom
renner0e:fix-commits-changelogs
Jun 7, 2026
Merged

fix(ci): add commit hash as org.opencontainers.image.revision label#2340
inffy merged 1 commit into
ublue-os:mainfrom
renner0e:fix-commits-changelogs

Conversation

@renner0e

@renner0e renner0e commented Jun 7, 2026

Copy link
Copy Markdown
Member

This label was previously created by the hhd/legacy-rechunker instead of on the image build process.

Our changelogs script expects this label to be present in order for the commits since last release to show up.

fixes: #2338

@renner0e renner0e added the cherry-pick used to backport commits to the stable branch label Jun 7, 2026
@codacy-production

codacy-production Bot commented Jun 7, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Comment thread Justfile
LABELS+=("--label" "org.opencontainers.image.vendor={{ repo_organization }}")
LABELS+=("--label" "org.opencontainers.image.version=${ver}")
if [[ -z "$(git status -s)" ]]; then
LABELS+=("--label" "org.opencontainers.image.revision=$(git rev-parse HEAD)")

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not using rev-parse short because that's the way the hhd rechunker did things...

We can also use the short one, like everywhere else, I don't have a strong opinion about it

@renner0e
renner0e force-pushed the fix-commits-changelogs branch from 8f49682 to 8873819 Compare June 7, 2026 15:18
This label was previously created by the hhd/legacy-rechunker instead of
on the image build process. We are now using the build-chunked-oci and
in the near future chunkah which do not mess with the labels.

Our changelogs script expects this label to be present in order for the
commits since last release to show up.

fixes: ublue-os#2338
@renner0e
renner0e force-pushed the fix-commits-changelogs branch from 8873819 to 7d7627c Compare June 7, 2026 15:44
@renner0e
renner0e marked this pull request as ready for review June 7, 2026 15:55
@renner0e
renner0e requested review from NiHaiden, inffy and ledif as code owners June 7, 2026 15:55
@inffy
inffy enabled auto-merge June 7, 2026 16:14
@inffy
inffy added this pull request to the merge queue Jun 7, 2026
Merged via the queue into ublue-os:main with commit a361fd3 Jun 7, 2026
8 checks passed
@aurora-backport

Copy link
Copy Markdown

Successfully created backport PR for stable-f44:

renner0e added a commit that referenced this pull request Jun 7, 2026
…2340) (#2342)

This label was previously created by the hhd/legacy-rechunker instead of
on the image build process. We are now using the build-chunked-oci and
in the near future chunkah which do not mess with the labels.

Our changelogs script expects this label to be present in order for the
commits since last release to show up.

fixes: #2338
(cherry picked from commit a361fd3)

Co-authored-by: renner <80410025+renner0e@users.noreply.github.com>
@renner0e
renner0e deleted the fix-commits-changelogs branch June 7, 2026 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-pick used to backport commits to the stable branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

changelogs generation silent org.opencontainers.image.revision failed to get commits

2 participants