-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy path.packit.yaml
More file actions
70 lines (61 loc) · 1.77 KB
/
.packit.yaml
File metadata and controls
70 lines (61 loc) · 1.77 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
---
upstream_package_name: bcvk
downstream_package_name: bcvk
upstream_tag_template: v{version}
specfile_path: contrib/packaging/bcvk.spec
srpm_build_deps:
- cargo
- git
- zstd
- libzstd-devel
- openssl-devel
- go-md2man
actions:
# The last step 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/bcvk.spec"
- bash -c "cp target/bcvk* contrib/packaging/"
- bash -c "ls -1 target/bcvk*.tar.zstd | grep -v 'vendor'"
# Do nothing with spec file. Two steps here are for debugging
fix-spec-file:
- bash -c "cat contrib/packaging/bcvk.spec"
- bash -c "ls -al contrib/packaging/"
jobs:
- job: copr_build
trigger: pull_request
targets:
# Primary targets: supported Fedora and CentOS Stream (x86_64 and aarch64 only)
# bcvk only supports x86_64 and aarch64 architectures
- centos-stream-9-x86_64
- centos-stream-9-aarch64
- centos-stream-10-x86_64
- centos-stream-10-aarch64
- fedora-43-x86_64
- fedora-43-aarch64
- fedora-rawhide-x86_64
- fedora-rawhide-aarch64
# Build on new commit to main branch
- job: copr_build
trigger: commit
branch: main
owner: rhcontainerbot
project: bootc
enable_net: true
- job: propose_downstream
trigger: release
dist_git_branches: &dist_git_branches
- fedora-all
- epel9
- epel10.1
- epel10.2
- job: koji_build
trigger: commit
dist_git_branches: *dist_git_branches
- job: bodhi_update
trigger: commit
dist_git_branches:
# Fedora rawhide updates are created automatically
- fedora-branched