Skip to content

rpmrepo: Add action checking for rpmrepo snapshots (HMS-11430) - #2807

Merged
achilleas-k merged 1 commit into
osbuild:mainfrom
tkoscieln:add_rpm_snapshot_check
Nov 9, 2026
Merged

achilleas-k merged 1 commit into
osbuild:mainfrom
tkoscieln:add_rpm_snapshot_check

Conversation

@tkoscieln

@tkoscieln tkoscieln commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

Adjusted copy of osbuild/osbuild-composer#5288

This action will periodically check rpmrepo for newest snapshots and will open a PR with an update if found. This workflow was originally part of the upstream rpmrepo, but in order to get stable successful snapshot runs we move it downstream to dependent repos. In order to minimize maintenance, I've kept the bash scripts for creating PRs in rpmrepo and the downstream repos will just clone them.

Since the upstream script is date specific and looks for the snapshot by date and matches it 1:1, I've added a query to rpm repo that takes the latest available snapshot instead of current date.

The main functional changes to the snapshot workflow are here osbuild/rpmrepo#174

@tkoscieln
tkoscieln requested a review from a team as a code owner October 30, 2026 12:16
@tkoscieln
tkoscieln force-pushed the add_rpm_snapshot_check branch from 2f73a83 to d04ce8d Compare October 30, 2026 12:16
@tkoscieln
tkoscieln force-pushed the add_rpm_snapshot_check branch 2 times, most recently from df9ee66 to 397ed06 Compare November 3, 2026 12:54

@avitova avitova left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I am good here, but I will not hit the approve button yet, I think that the comment from Achilleas was not really addressed. 👀

This action will periodically check rpmrepo for newest snapshots and
will open a PR with an update if found.
@tkoscieln
tkoscieln force-pushed the add_rpm_snapshot_check branch from 397ed06 to d84f51c Compare November 6, 2026 12:46
@tkoscieln

Copy link
Copy Markdown
Member Author

Forgot a little about this one. Should be good to go now @avitova 🚀

@achilleas-k
achilleas-k enabled auto-merge November 9, 2026 15:45
@achilleas-k

Copy link
Copy Markdown
Member

Retrying the failed test. This looks good now. Thank you!

@achilleas-k
achilleas-k added this pull request to the merge queue Nov 9, 2026
Merged via the queue into osbuild:main with commit d2d1c55 Nov 9, 2026
55 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants