-
Notifications
You must be signed in to change notification settings - Fork 79
/
.packit.yaml
90 lines (81 loc) · 2.41 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
90
---
specfile_path: contrib/packaging/bootc.spec
files_to_sync:
- contrib/packaging/bootc.spec
- .packit.yaml
upstream_tag_template: v{version}
upstream_package_name: bootc
downstream_package_name: bootc
srpm_build_deps:
- cargo
- git
- zstd
- libzstd-devel
- ostree-devel
- openssl-devel
actions:
# The last setp here is required by Packit to return the archive name
# https://packit.dev/docs/configuration/actions#create-archive
create-archive:
- bash -c "cargo install cargo-vendor-filterer"
- bash -c "cargo xtask spec"
- bash -c "cat target/bootc.spec"
- bash -c "cp target/bootc* contrib/packaging/"
- bash -c "ls -1 target/bootc*.tar.zstd | grep -v 'vendor'"
# Do nothing with spec file. Two steps here are for debugging
fix-spec-file:
- bash -c "cat contrib/packaging/bootc.spec"
- bash -c "ls -al contrib/packaging/"
jobs:
# Only add CS10 and RHEL-9 RPM build test
# But no e2e test on CS10 and RHEL-9
- job: copr_build
trigger: pull_request
targets:
# Primary targets are c9s, c10s and fedora:41 right now, which build
# for all architectures
- centos-stream-9-x86_64
- centos-stream-9-aarch64
- centos-stream-9-ppc64le
- centos-stream-9-s390x
- centos-stream-10-x86_64
- centos-stream-10-aarch64
- centos-stream-10-ppc64le
- centos-stream-10-s390x
- fedora-41-x86_64
- fedora-41-aarch64
- fedora-41-ppc64le
- fedora-41-s390x
# Sanity check on secondary targets, fewer architectures just
# because the chance that we break e.g. ppc64le *just* on
# rawhide is basically nil.
- fedora-rawhide-x86_64
- fedora-rawhide-aarch64
- rhel-9-x86_64
- rhel-9-aarch64
- job: tests
trigger: pull_request
targets:
- fedora-41-x86_64
- fedora-41-aarch64
tmt_plan: /integration-build
skip_build: true
identifier: integration-test
# To avoid https://issues.redhat.com/browse/TFT-2691
# x86_64 tf runner is not enough now
- job: tests
trigger: pull_request
targets:
- centos-stream-9-x86_64
- centos-stream-10-aarch64
- fedora-41-x86_64
tmt_plan: /to-existing-root
identifier: e2e-test-to-existing-root
- job: tests
trigger: pull_request
targets:
- centos-stream-9-aarch64
- centos-stream-10-aarch64
- fedora-41-aarch64
tmt_plan: /to-disk
identifier: e2e-test-to-disk