-
Notifications
You must be signed in to change notification settings - Fork 49
/
.packit.yaml
89 lines (82 loc) · 2.14 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
upstream_package_name: insights-client
downstream_package_name: insights-client
specfile_path: out/insights-client.spec
srpm_build_deps:
- gawk
- rpkg
actions:
post-upstream-clone:
- mkdir out
- rpkg srpm --outdir out
get-current-version:
- awk '/^Version:/ {print $2;}' out/insights-client.spec
create-archive:
- bash -c 'echo out/insights-client-*.tar.*'
fix-spec-file:
- echo 'nothing to fix'
jobs:
- job: copr_build
trigger: pull_request
targets:
- centos-stream-8
- centos-stream-9
- centos-stream-10
- fedora-all
- rhel-8
- rhel-9
- job: copr_build
trigger: commit
branch: master
owner: "@yggdrasil"
project: latest
targets:
- centos-stream-8
- centos-stream-9
- centos-stream-10
- fedora-all
- rhel-8
- rhel-9
- job: tests
trigger: pull_request
identifier: "unit/centos-stream"
targets:
- centos-stream-8
- centos-stream-9
- centos-stream-10
labels:
- unit
tf_extra_params:
environments:
- artifacts:
- type: repository-file
id: https://copr.fedorainfracloud.org/coprs/g/yggdrasil/latest/repo/centos-stream-$releasever/group_yggdrasil-latest-centos-stream-$releasever.repo
- job: tests
trigger: pull_request
identifier: "unit/fedora"
targets:
- fedora-all
labels:
- unit
tf_extra_params:
environments:
- artifacts:
- type: repository-file
id: https://copr.fedorainfracloud.org/coprs/g/yggdrasil/latest/repo/fedora-$releasever/group_yggdrasil-latest-fedora-$releasever.repo
- job: tests
trigger: pull_request
identifier: "unit/rhel"
targets:
rhel-8-x86_64:
distros:
- RHEL-8-Released
rhel-9-x86_64:
distros:
- RHEL-9.4.0-Nightly
labels:
- unit
tf_extra_params:
environments:
- artifacts:
- type: repository-file
id: https://copr.fedorainfracloud.org/coprs/g/yggdrasil/latest/repo/rhel-$releasever/group_yggdrasil-latest-rhel-$releasever.repo
use_internal_tf: true