Skip to content

Commit

Permalink
Merge pull request fdo-rs#650 from mmartinv/testing-farm-tests
Browse files Browse the repository at this point in the history
Enable CentOS 9 builds and add Testing Farm e2e tests
  • Loading branch information
7flying authored Mar 22, 2024
2 parents b5d415e + ba02e7a commit 165eb26
Show file tree
Hide file tree
Showing 10 changed files with 600 additions and 222 deletions.
1 change: 1 addition & 0 deletions .github/spellcheck-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ ser
childs
ot
marshalling
te
39 changes: 24 additions & 15 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,34 +15,43 @@ copy_upstream_release_description: true

srpm_build_deps:
- cargo
- openssl-devel

actions:
create-archive:
- bash -c "sed -i -r \"s/^Version:.*/Version:\ ${PACKIT_PROJECT_VERSION}/\" fido-device-onboard.spec"
- bash -c "sed -i '/Source1/d ; /^# See make-vendored-tarfile.sh in upstream repo/d ;' fido-device-onboard.spec"
- 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"
fix-spec-file:
- "cat fido-device-onboard.spec"

jobs:
- job: copr_build
- &fdo_copr_build
job: copr_build
trigger: pull_request
targets:
- fedora-development-aarch64
- fedora-development
- fedora-latest
- fedora-latest-aarch64
- job: copr_build
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
targets:
- fedora-development-aarch64
- fedora-development
- fedora-latest
- fedora-latest-aarch64
...
Loading

0 comments on commit 165eb26

Please sign in to comment.