Skip to content

Commit

Permalink
Automatically propose a release in Fedora using packit
Browse files Browse the repository at this point in the history
This patch follows https://packit.dev/docs/guide so that
1) a pull request will be created automatically against dist-git when
   there is a new release [1]
2) a koji build will be triggered when the PR gets merged  [2]
3) a new update in Fedora Bodhi will be created after a successful Koji
   build [3]
4) a RPM build will be to Fedora Copr build system when there is a pull
   request [4]

[1] https://packit.dev/docs/configuration/upstream/propose_downstream
[2] https://packit.dev/docs/configuration/downstream/koji_build
[3] https://packit.dev/docs/configuration/downstream/bodhi_update
[4] https://packit.dev/docs/configuration/upstream/copr_build

Signed-off-by: Coiby Xu <[email protected]>
  • Loading branch information
coiby committed Jul 12, 2024
1 parent ea0b3af commit 08da772
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 2 deletions.
25 changes: 25 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,28 @@ upstream_package_name: kdump-utils
downstream_package_name: kdump-utils

upstream_tag_template: v{version}


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


- job: copr_build
trigger: pull_request
targets:
- fedora-all
packages:
- kdump-utils

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

- job: bodhi_update
trigger: commit
dist_git_branches:
- fedora-all
14 changes: 12 additions & 2 deletions kdump-utils.spec
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# kdump-utils has no debug source
%global debug_package %{nil}
Name: kdump-utils
Version: 1.0.42
Release: 10%{?dist}
Version: 1.0.43
Release: 1%{?dist}
Summary: Kernel crash dump collection utilities

License: GPL-2.0-only
Expand Down Expand Up @@ -132,5 +132,15 @@ fi
%doc supported-kdump-targets.txt

%changelog
* Thu Jul 11 2024 Coiby <[email protected]> - 1.0.43-1
- Install PHY and MDIO bus drivers and the driver of physical device for a SR-IOV virtual device by @coiby
- update 98-kexec rules for crash hotplug by @baoquan-he
- [PATCH v2] sysconfig: add pcie_ports compat to KDUMP_COMMANDLINE_APPEND on x86_64 by @liutgnu
- fadump/udev: do not re-register fadump if kernel hotplug ready by @sourabhjains
- Use "grep -q <<< $(cmd)" instead of "cmd | grep -q" by @liutgnu
- Remove default debug option by @prudo1
- dracut-module-setup: Remove remove_cpu_online_rule() since PowerPC us… by @pfliu
- Various fixes by @prudo1

* Tue Oct 24 2023 Coiby <[email protected]> - 1.0.42-10
- split from kexec-tools

0 comments on commit 08da772

Please sign in to comment.