Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a filter parameter for bump_packages #11101

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Aug 8, 2024

Applying this filter allows calling it from a specific plugin to only update a single package. For example, when a gem is released it can automatically trigger this workflow.

Right now the actual scripts don't implement this, so this is just a proposal. My idea is that we enhance our release-gem workflow to trigger a packaging bump. That way we don't update all existing PRs but still have nice end-to-end automation for nightly. Stable branches still need additional work.

Applying this filter allows calling it from a specific plugin to only
update a single package. For example, when a gem is released it can
automatically trigger this workflow.
inputs:
filter:
type: string
description: A filter to apply on package names
Copy link
Member

Choose a reason for hiding this comment

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

Package names have different structure between Debian and EL. Should this filter rather be on the "source" name?
So, passing foreman_maintain here will update ruby-foreman-maintain on Debian and rubygem-foreman_maintain on RPM?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think so. In the update scripts we know the gem name so we can match against that

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.

2 participants