-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy path.packit.yaml
More file actions
88 lines (80 loc) · 2.14 KB
/
.packit.yaml
File metadata and controls
88 lines (80 loc) · 2.14 KB
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
specfile_path: rhc.spec
# List of files to synchronize from GitHub upstream to Fedora downstream
files_to_sync:
- rhc.spec
- .packit.yaml
srpm_build_deps:
- gawk
- golang
- dbus-x11
- "pkgconfig(bash-completion)"
- "pkgconfig(dbus-1)"
- rpm-build
- "go-vendor-tools"
# Hooks to overwrite default Packit behavior
actions:
# Extract version from the .spec file
get-current-version:
- bash -c 'rpmspec --query --queryformat "%{version}\n" rhc.spec'
# Packit expects a single archive to be created
# https://packit.dev/docs/configuration/examples#custom-archive-creation-for-srpm
create-archive:
- make archive
- bash -c "ls -1 ./rhc-*.tar.gz | head -n 1"
jobs:
- job: copr_build
trigger: pull_request
additional_repos:
- "copr://@go-sig/go-vendor-tools-dev"
targets:
fedora-development-aarch64: {}
fedora-development-x86_64: {}
epel-10-aarch64:
distros: [CentOS-Stream-10, RHEL-10]
epel-10-x86_64:
distros: [CentOS-Stream-10, RHEL-10]
- job: copr_build
trigger: commit
additional_repos:
- "copr://@go-sig/go-vendor-tools-dev"
targets:
fedora-development-aarch64: {}
fedora-development-x86_64: {}
epel-10-aarch64:
distros: [CentOS-Stream-10, RHEL-10-Nightly]
epel-10-x86_64:
distros: [CentOS-Stream-10, RHEL-10-Nightly]
- job: tests
trigger: pull_request
identifier: "integration-tests/centos-stream"
targets:
epel-10-aarch64:
distros: [CentOS-Stream-10]
epel-10-x86_64:
distros: [CentOS-Stream-10]
labels:
- unit
- job: tests
trigger: pull_request
identifier: "integration-tests/fedora"
targets:
- fedora-rawhide
labels:
- unit
- job: tests
trigger: pull_request
identifier: "integration-tests/rhel"
targets:
epel-10-aarch64:
distros: [RHEL-10-Nightly]
epel-10-x86_64:
distros: [RHEL-10-Nightly]
labels:
- unit
tf_extra_params:
environments:
settings:
provisioning:
tags:
BusinessUnit: sst_csi_client_tools
use_internal_tf: true