Skip to content

Commit 165eb26

Browse files
authored
Merge pull request #650 from mmartinv/testing-farm-tests
Enable CentOS 9 builds and add Testing Farm e2e tests
2 parents b5d415e + ba02e7a commit 165eb26

File tree

10 files changed

+600
-222
lines changed

10 files changed

+600
-222
lines changed

.github/spellcheck-ignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ ser
55
childs
66
ot
77
marshalling
8+
te

.packit.yaml

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,34 +15,43 @@ copy_upstream_release_description: true
1515

1616
srpm_build_deps:
1717
- cargo
18+
- openssl-devel
1819

1920
actions:
2021
create-archive:
21-
- bash -c "sed -i -r \"s/^Version:.*/Version:\ ${PACKIT_PROJECT_VERSION}/\" fido-device-onboard.spec"
22-
- bash -c "sed -i '/Source1/d ; /^# See make-vendored-tarfile.sh in upstream repo/d ;' fido-device-onboard.spec"
2322
- bash -c "cp ./patches/0001-Revert-chore-use-git-fork-for-aws-nitro-enclaves-cos.patch ."
2423
- bash -c "git archive --prefix=fido-device-onboard-rs-${PACKIT_PROJECT_VERSION}/ --format=tar HEAD > fido-device-onboard-rs-${PACKIT_PROJECT_VERSION}.tar"
24+
- bash -c "./make-vendored-tarfile.sh ${PACKIT_PROJECT_VERSION}"
2525
- bash -c "tar -xvf fido-device-onboard-rs-${PACKIT_PROJECT_VERSION}.tar"
2626
- bash -c "ls -1 ./fido-device-onboard-rs-${PACKIT_PROJECT_VERSION}.tar"
27-
fix-spec-file:
28-
- "cat fido-device-onboard.spec"
2927

3028
jobs:
31-
- job: copr_build
29+
- &fdo_copr_build
30+
job: copr_build
3231
trigger: pull_request
3332
targets:
34-
- fedora-development-aarch64
35-
- fedora-development
36-
- fedora-latest
37-
- fedora-latest-aarch64
38-
- job: copr_build
33+
epel-9: {}
34+
fedora-latest-stable: {}
35+
fedora-latest: {}
36+
fedora-rawhide: {}
37+
fedora-eln:
38+
additional_repos:
39+
- https://kojipkgs.fedoraproject.org/repos/eln-build/latest/$basearch/
40+
41+
- job: tests
42+
trigger: pull_request
43+
identifier: onboarding
44+
fmf_path: test/fmf
45+
tmt_plan: plans/onboarding
46+
targets:
47+
epel-9: {}
48+
fedora-latest-stable: {}
49+
fedora-latest: {}
50+
fedora-rawhide: {}
51+
52+
- <<: *fdo_copr_build
3953
trigger: commit
4054
branch: main
4155
owner: "@fedora-iot" # copr repo namespace
4256
project: fedora-iot # copr repo name so you can consume the builds
43-
targets:
44-
- fedora-development-aarch64
45-
- fedora-development
46-
- fedora-latest
47-
- fedora-latest-aarch64
4857
...

0 commit comments

Comments
 (0)