arc/docs/package-automation/packit-triggers.rst

42 lines
1 KiB
ReStructuredText
Raw Permalink Normal View History

2022-03-22 08:52:40 -03:00
Packit Triggers
===============
Resources
---------
2022-03-22 08:52:40 -03:00
- Packit Triggers: https://packit.dev/docs/configuration/#packit-service-jobs
2022-03-22 08:52:40 -03:00
Discussion
----------
The discussion was about when and where to push package changes.
Packit has three event triggers:
- Pull Requests
- Commits
- Releases
2022-03-22 08:52:40 -03:00
The topic showed up because pushing package changes on every and single Pull Requests
sound unreasonable in some cases.
2022-03-22 08:52:40 -03:00
What would be needed
--------------------
- PR CI testing is done using COPR, we can centralize those builds in a specific
repository if we want to;
- Use feature branches to automatically push updates to specific Koji tags (manual
releases or commits);
2022-03-22 08:52:40 -03:00
Everything is configured in the packit yaml file.
Conclusion
----------
The conclusion is that we all triggers for different scenarios:
- Pull Requests triggers using COPR for CI RPM test;
- Merging of the main branch can push updates to rawhide;
- Github releases and/or commits to feature branches could trigger updates in
"production koji targets".