Skip to content

Commit

Permalink
Merge pull request #5354 from KKoukiou/koji-bodhi-auto
Browse files Browse the repository at this point in the history
infra: automate koji build and bodhi update actions with packit
  • Loading branch information
KKoukiou authored Dec 15, 2023
2 parents 7bf5994 + e52952e commit 2ae5336
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .packit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,8 @@ jobs:
project: Anaconda
preserve_project: True

- job: koji_build
trigger: commit
dist_git_branches:
- fedora-rawhide

9 changes: 9 additions & 0 deletions .packit.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ jobs:
project: Anaconda
preserve_project: True

- job: koji_build
trigger: commit
dist_git_branches:
- fedora-rawhide

{% elif distro_name == "fedora" %}

- job: propose_downstream
Expand All @@ -80,4 +85,8 @@ jobs:
# Mainly useful when there is a package which is not yet in Rawhide but build is available.
- "https://fedorapeople.org/groups/anaconda/repos/anaconda_fixup_repo/"

- job: koji_build
trigger: commit
dist_git_branches:
- fedora-{$ distro_release $}
{% endif %}
8 changes: 6 additions & 2 deletions docs/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ The overall workflow can be summarized to 3 steps:

9. if all is good enough, merge the PR

10. use fedpkg to trigger the build (no, there is no button for this just yet...)
10. Packit should start the package build in koji. You can utilise Fedora Notifications to be informed about the builds.

If packit is down or for any other reason the build does not get triggered by the automation, you can trigger it manually:

10.1. use fedpkg to trigger the build (no, there is no button for this just yet...)

::

Expand All @@ -72,7 +76,7 @@ if you already have a distgit checkout, you can do just:
git pull
fedpkg build

11. this should start the package build in koji - wait for it to succeed or debug any failures
This should start the package build in koji - wait for it to succeed or debug any failures

Using the manual ``rpmbuild`` path
----------------------------------
Expand Down

0 comments on commit 2ae5336

Please sign in to comment.