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

ci: Configure Packit propose_downstream job #293

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

spetrosi
Copy link
Collaborator

When there is a new release of this repo, Packit will fetch linux-system-roles.spec from the Rawhide branch in Fedora dist-git, update it (Source lines and %setup will be regenerated) and open a PR in Fedora Pagure. It will also upload new tarballs to lookaside and update sources.

The PR will be opened only against Rawhide for now, can be changed in dist_git_branches.

documentation:
https://packit.dev/docs/configuration/#propose_downstream https://packit.dev/docs/fedora-releases-guide/

Taking inspiration from
linux-system-roles/auto-maintenance#233

@spetrosi
Copy link
Collaborator Author

@spetrosi
Copy link
Collaborator Author

@pcahyna I am trying to replicate packit release automation for mssql and need your help reviewing this.
Packit-as-a-Service is added to linux-system-roles repo and is configured to work on all repos.
This repo has a workflow that does a release once the repo has updates to changelog https://github.com/linux-system-roles/mssql/blob/main/.github/workflows/changelog_to_tag.yml.

So I guess having .packit.yml file is sufficient to pick up updates?
I am adding .packit.yaml in Fedora too: https://src.fedoraproject.org/rpms/ansible-collection-microsoft-sql/pull-request/40#

When there is a new release of this repo, Packit will fetch
linux-system-roles.spec from the Rawhide branch in Fedora dist-git,
update it (Source lines and %setup will be regenerated) and open a PR in
Fedora Pagure. It will also upload new tarballs to lookaside and update
sources.

The PR will be opened only against Rawhide for now, can be changed in
dist_git_branches.

documentation:
https://packit.dev/docs/configuration/#propose_downstream
https://packit.dev/docs/fedora-releases-guide/

Taking inspiration from
linux-system-roles/auto-maintenance#233
@spetrosi spetrosi merged commit 5d052ff into linux-system-roles:main Nov 14, 2024
8 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.

2 participants