Skip to content
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
34 changes: 28 additions & 6 deletions .packit.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,40 @@
files_to_sync:
- complyctl.spec
- .packit.yaml

upstream_package_name: complyctl
upstream_project_url: https://github.com/complytime/complyctl
upstream_tag_template: v{version}
upstream_package_name: complyctl
downstream_package_name: complyctl

specfile_path: complyctl.spec

downstream_package_name: complyctl
files_to_sync:
- complyctl.spec

jobs:
# For testing before merging PRs
- job: copr_build
trigger: pull_request
targets:
- fedora-42-x86_64
- fedora-rawhide-x86_64
- centos-stream-9-x86_64
- centos-stream-10-x86_64

# https://packit.dev/docs/fedora-releases-guide
# Propose Downstream PRs once a Upstream release is out
- job: propose_downstream
trigger: release
dist_git_branches:
- rawhide
- f42

# Automatically submit builds to Koji after PR is merged into dist-git
- job: koji_build
trigger: commit
dist_git_branches:
- rawhide
- f42

# Trigger Bodhi update for released Fedora versions
- job: bodhi_update
trigger: commit
dist_git_branches:
- f42
1 change: 1 addition & 0 deletions complyctl.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
%global base_url https://%{goipath}
%global app_dir complytime
%global gopath %{_builddir}/go
%global debug_package %{nil}

Name: complyctl
Version: 0.0.8
Expand Down
8 changes: 7 additions & 1 deletion docs/RELEASE_PROCESS.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,13 @@ Releases are currently expected every three weeks. Project maintainers always di

Once a new release is out, the [Fedora Package](https://src.fedoraproject.org/rpms/complyctl) also needs to be updated.

### Preparation
The process is automated by [Packit](https://packit.dev/docs/fedora-releases-guide) according to [.packit.yaml](https://github.com/complytime/complyctl/blob/main/.packit.yaml) configuration file and should only demand a PR review from a Fedora package [maintainer](https://src.fedoraproject.org/rpms/complyctl)

This automation will create PRs for the specified branches. Once the PRs are reviewed and merged:
- [Koji builds](https://koji.fedoraproject.org/koji/packageinfo?packageID=42298) will be created
- [Bodhi updates](https://bodhi.fedoraproject.org/updates/?packages=complyctl) will be submitted

### Preparation (only necessary for Manual Process)

To update a Fedora package, it is ultimately necessary to be a member of Fedora Packager group.
Here is the main documentation on how to become a Fedora Packager:
Expand Down