-
Notifications
You must be signed in to change notification settings - Fork 10
/
.packit.yaml
70 lines (60 loc) · 1.5 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
# See the documentation for more information:
# https://packit.dev/docs/configuration/
specfile_path: opentelemetry-collector.spec
# add or remove files that should be synced
files_to_sync:
- opentelemetry-collector.spec.in
- .packit.yaml
- Makefile
- otel_collector_journald.te
- _build
- README.md
- LICENSE
- opentelemetry-collector-with-options
- 00-default-receivers.yaml
- opentelemetry-collector.service ./dist
# name in upstream package repository or registry (e.g. in PyPI)
upstream_package_name: red-hat-build-of-opentelemetry-collector
# downstream (Fedora) RPM package name
downstream_package_name: red-hat-build-of-opentelemetry-collector
srpm_build_deps:
- make
- golang
- git
actions:
post-upstream-clone:
- make opentelemetry-collector.spec
create-archive:
- make archive
get-current-version:
- make version
jobs:
- job: copr_build
trigger: pull_request
targets:
- fedora-40-x86_64
- epel-9-x86_64
- epel-9-aarch64
- job: tests
trigger: pull_request
targets:
- fedora-40-x86_64
- epel-9-x86_64
- epel-9-aarch64
- job: copr_build
trigger: commit
owner: "frzifus"
project: "redhat-opentelemetry-collector-main"
preserve_project: True
branch: "^main$"
targets:
- fedora-40-x86_64
- epel-9-x86_64
- epel-9-aarch64
- job: tests
trigger: commit
branch: "^main$"
targets:
- fedora-40-x86_64
- epel-9-x86_64
- epel-9-aarch64