Skip to content

Commit

Permalink
ci: Land a new upstream release in Fedora with Packit
Browse files Browse the repository at this point in the history
Trigger the build in Fedora Koji build system as a reaction to a
new dist-git commit.
Create a new update in Fedora Bodhi for successful Koji build.

Signed-off-by: Xiaofeng Wang <[email protected]>
  • Loading branch information
henrywang committed Dec 27, 2024
1 parent 161bc31 commit 359a2fa
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions .packit.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
---
specfile_path: contrib/packaging/bootc.spec

files_to_sync:
- contrib/packaging/bootc.spec
- .packit.yaml
upstream_package_name: bootc
downstream_package_name: bootc

upstream_tag_template: v{version}

upstream_package_name: bootc
downstream_package_name: bootc
specfile_path: contrib/packaging/bootc.spec

srpm_build_deps:
- cargo
Expand All @@ -33,8 +29,6 @@ actions:
- bash -c "ls -al contrib/packaging/"

jobs:
# Only add CS10 and RHEL-9 RPM build test
# But no e2e test on CS10 and RHEL-9
- job: copr_build
trigger: pull_request
targets:
Expand Down Expand Up @@ -68,3 +62,18 @@ jobs:
tmt_plan: /integration
skip_build: true
identifier: integration-test

- job: propose_downstream
trigger: release
dist_git_branches:
- fedora-all

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

- job: bodhi_update
trigger: commit
dist_git_branches:
- fedora-all

0 comments on commit 359a2fa

Please sign in to comment.