forked from containers/bootc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.packit.yaml
76 lines (67 loc) · 1.73 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
---
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:
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'"
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:
- centos-stream-9-x86_64
- centos-stream-9-aarch64
- centos-stream-10-aarch64
- centos-stream-10-x86_64
- fedora-40-x86_64
- fedora-40-aarch64
- fedora-41-x86_64
- fedora-41-aarch64
- rhel-9-x86_64
- rhel-9-aarch64
- job: tests
trigger: pull_request
targets:
- fedora-40-x86_64
- fedora-40-aarch64
tmt_plan: /integration-build
skip_build: true
identifier: integration-test
- job: tests
trigger: pull_request
targets:
- centos-stream-9-x86_64
- centos-stream-9-aarch64
- fedora-40-x86_64
- fedora-41-aarch64
tmt_plan: /to-existing-root
identifier: e2e-test-to-existing-root
- job: tests
trigger: pull_request
targets:
- centos-stream-9-x86_64
- centos-stream-9-aarch64
- fedora-40-aarch64
- fedora-41-x86_64
tmt_plan: /to-disk
identifier: e2e-test-to-disk