Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

packit: add initial support #43

Merged
merged 1 commit into from
May 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

- Add packit initial support


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