forked from cockpit-project/cockpit-machines
-
Notifications
You must be signed in to change notification settings - Fork 0
/
packit.yaml
36 lines (32 loc) · 1.13 KB
/
packit.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
packit_instances: ["stg"]
upstream_project_url: https://github.com/KKoukiou/cockpit-machines
# enable notification of failed downstream jobs as issues
issue_repository: https://github.com/cockpit-project/cockpit-machines
upstream_package_name: cockpit-machines
downstream_package_name: cockpit-machines
# use the nicely formatted release description from our upstream release, instead of git shortlog
copy_upstream_release_description: true
packages:
cockpit-machines-fedora:
specfile_path: cockpit-machines.spec
actions:
post-upstream-clone:
- wget https://src.fedoraproject.org/rpms/cockpit-machines/raw/rawhide/f/cockpit-machines.spec
cockpit-machines-centos:
specfile_path: cockpit-machines.spec
pkg_tool: centpkg
actions:
post-upstream-clone:
- wget https://gitlab.com/redhat/centos-stream/rpms/cockpit-machines/-/raw/c9s/cockpit-machines.spec
srpm_build_deps:
- npm
- make
actions:
post-upstream-clone: make cockpit-machines.spec
create-archive: make dist
jobs:
- job: propose_downstream
trigger: release
packages: [cockpit-machines-centos]
dist_git_branches:
- c9s