Skip to content

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

Merged
tkoscieln merged 1 commit into
osbuild:mainfrom
tkoscieln:add_rpm_snapshot_check
Oct 29, 2026
Merged

tkoscieln merged 1 commit into
osbuild:mainfrom
tkoscieln:add_rpm_snapshot_check

Conversation

@tkoscieln

@tkoscieln tkoscieln commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

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

This action will periodically check rpmrepo for newest snapshots and
will open a PR with an update if found.

@achilleas-k achilleas-k left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I was a little confused with the changes when reading osbuild/rpmrepo#174 but seeing this now, it's really nice and clean. Maybe eventually we can make a github action that does all this in a single step, but it's not that important.

Thanks. LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

prod This PR has landed in production.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants