-
Notifications
You must be signed in to change notification settings - Fork 18
/
.packit.yml
99 lines (92 loc) · 2.47 KB
/
.packit.yml
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
90
91
92
93
94
95
96
97
98
99
upstream_package_name: rhc
downstream_package_name: rhc
specfile_path: builddir/dist/srpm/rhc.spec
srpm_build_deps:
- gawk
- git-core
- golang
- meson
- "pkgconfig(bash-completion)"
- "pkgconfig(dbus-1)"
- "pkgconfig(systemd)"
- "rpm_macro(forgemeta)"
- rpm-build
actions:
post-upstream-clone:
- meson setup builddir -Dbuild_srpm=True -Dvendor=True --wipe
- meson compile tarball -C builddir
get-current-version:
- awk '/^Version:/ {print $2;}' builddir/dist/srpm/rhc.spec
create-archive:
- bash -c 'echo builddir/dist/srpm/rhc-*.tar.*'
fix-spec-file:
- echo 'nothing to fix'
jobs:
- job: copr_build
trigger: pull_request
additional_repos:
- "copr://@yggdrasil/latest"
targets:
- centos-stream-9
- centos-stream-10
- fedora-stable
- fedora-rawhide
- rhel-9
- job: copr_build
trigger: commit
additional_repos:
- "copr://@yggdrasil/latest"
branch: main
owner: "@yggdrasil"
project: latest
targets:
- centos-stream-9
- centos-stream-10
- fedora-stable
- fedora-rawhide
- rhel-9
- job: tests
trigger: pull_request
identifier: "unit/centos-stream"
targets:
- 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-stable
- fedora-rawhide
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-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
settings:
provisioning:
tags:
BusinessUnit: sst_csi_client_tools
use_internal_tf: true