Skip to content

Commit

Permalink
packit: add initial support
Browse files Browse the repository at this point in the history
  • Loading branch information
HuijingHei committed May 27, 2024
1 parent 4522a62 commit 5ae7e3c
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 1 deletion.
39 changes: 39 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# See the documentation for more information:
# https://packit.dev/docs/configuration/
actions:
changelog-entry:
- bash -c 'echo "- New upstream release"'
post-upstream-clone:
- wget https://src.fedoraproject.org/rpms/rust-ignition-config/raw/rawhide/f/rust-ignition-config.spec
prepare-files:
- bash -c 'rust2rpm -s ignition-config $PACKIT_PROJECT_VERSION'

specfile_path: rust-ignition-config.spec
downstream_package_name: rust-ignition-config
upstream_package_name: ignition-config-rs
upstream_tag_template: v{version}
# add or remove files that should be synced
files_to_sync:
- rust-ignition-config.spec
- .packit.yaml

jobs:

- job: propose_downstream
trigger: release
# https://packit.dev/docs/configuration#aliases
dist_git_branches:
- fedora-rawhide
- fedora-latest-stable

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

- job: bodhi_update
trigger: commit
dist_git_branches:
- fedora-rawhide
- fedora-latest-stable
2 changes: 1 addition & 1 deletion docs/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Upcoming ignition-config 0.4.0 (unreleased)
- Require Rust ≥ 1.75.0

- Enable packit initial support


## ignition-config 0.3.0 (2023-02-20)
Expand Down

0 comments on commit 5ae7e3c

Please sign in to comment.