-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy path.packit.yaml
89 lines (82 loc) · 1.98 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: yggdrasil
downstream_package_name: yggdrasil
specfile_path: builddir/dist/srpm/yggdrasil.spec
srpm_build_deps:
- gawk
- git-core
- golang
- go-rpm-macros
- 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 -Dexamples=True --wipe
- meson compile tarball -C builddir
get-current-version:
- awk '/^Version:/ {print $2;}' builddir/dist/srpm/yggdrasil.spec
create-archive:
- bash -c 'echo builddir/dist/srpm/yggdrasil-*.tar.*'
fix-spec-file:
- bash -c 'echo "No action needed"'
jobs:
- job: copr_build
trigger: pull_request
additional_repos:
- "copr://@yggdrasil/latest"
targets:
- centos-stream-9-aarch64
- centos-stream-9-x86_64
- centos-stream-10-aarch64
- centos-stream-10-x86_64
- fedora-all-aarch64
- fedora-all-x86_64
- rhel-9-aarch64
- rhel-9-x86_64
- job: copr_build
trigger: commit
branch: main
owner: "@yggdrasil"
project: latest
targets:
- centos-stream-9-aarch64
- centos-stream-9-x86_64
- centos-stream-10-aarch64
- centos-stream-10-x86_64
- fedora-all-aarch64
- fedora-all-x86_64
- rhel-9-aarch64
- rhel-9-x86_64
- job: tests
trigger: pull_request
identifier: "unit/centos-stream"
targets:
- centos-stream-9-aarch64
- centos-stream-9-x86_64
- centos-stream-10-aarch64
- centos-stream-10-x86_64
labels:
- unit
- job: tests
trigger: pull_request
identifier: "unit/fedora"
targets:
- fedora-all
labels:
- unit
- job: tests
trigger: pull_request
identifier: "unit/rhel"
targets:
rhel-9-aarch64:
distros:
- RHEL-9-Nightly
rhel-9-x86_64:
distros:
- RHEL-9-Nightly
labels:
- unit
use_internal_tf: true