diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 000000000..36b394952 --- /dev/null +++ b/.packit.yaml @@ -0,0 +1,9 @@ +jobs: +- job: tests + trigger: pull_request + metadata: + targets: + - fedora-stable + - fedora-rawhide + - centos-stream-9-x86_64 + skip_build: true diff --git a/packit-ci.fmf b/packit-ci.fmf new file mode 100644 index 000000000..43d00a425 --- /dev/null +++ b/packit-ci.fmf @@ -0,0 +1,31 @@ +/e2e: + + summary: run keylime e2e tests + + prepare: + how: shell + script: + - rm -f /etc/yum.repos.d/tag-repository.repo + - ln -s $(pwd) /var/tmp/rust-keylime_sources + + discover: + how: fmf + url: https://github.com/RedHat-SP-Security/keylime-tests + ref: main + test: + - /setup/configure_tpm_emulator + - /setup/install_upstream_keylime + - /setup/install_upstream_rust_keylime + - /functional/basic-attestation-on-localhost + - /functional/basic-attestation-without-mtls + - /functional/keylime_tenant-commands-on-localhost + + adjust: + # prepare step adjustments + - prepare+: + script+: + - yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm + when: distro == centos-stream-9 + + execute: + how: tmt