forked from fdo-rs/fido-device-onboard-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.packit.yaml
57 lines (48 loc) · 1.66 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
---
# https://packit.dev/docs/configuration/
specfile_path: fido-device-onboard.spec
files_to_sync:
- fido-device-onboard.spec
- .packit.yaml
upstream_package_name: fido-device-onboard
downstream_package_name: fido-device-onboard
upstream_tag_template: v{version}
copy_upstream_release_description: true
srpm_build_deps:
- cargo
- openssl-devel
actions:
create-archive:
- bash -c "cp ./patches/0001-Revert-chore-use-git-fork-for-aws-nitro-enclaves-cos.patch ."
- bash -c "git archive --prefix=fido-device-onboard-rs-${PACKIT_PROJECT_VERSION}/ --format=tar HEAD > fido-device-onboard-rs-${PACKIT_PROJECT_VERSION}.tar"
- bash -c "./make-vendored-tarfile.sh ${PACKIT_PROJECT_VERSION}"
- bash -c "tar -xvf fido-device-onboard-rs-${PACKIT_PROJECT_VERSION}.tar"
- bash -c "ls -1 ./fido-device-onboard-rs-${PACKIT_PROJECT_VERSION}.tar"
jobs:
- &fdo_copr_build
job: copr_build
trigger: pull_request
targets:
epel-9: {}
fedora-latest-stable: {}
fedora-latest: {}
fedora-rawhide: {}
fedora-eln:
additional_repos:
- https://kojipkgs.fedoraproject.org/repos/eln-build/latest/$basearch/
- job: tests
trigger: pull_request
identifier: onboarding
fmf_path: test/fmf
tmt_plan: plans/onboarding
targets:
epel-9: {}
fedora-latest-stable: {}
fedora-latest: {}
fedora-rawhide: {}
- <<: *fdo_copr_build
trigger: commit
branch: main
owner: "@fedora-iot" # copr repo namespace
project: fedora-iot # copr repo name so you can consume the builds
...