diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 00000000..36b39495 --- /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 00000000..4561f86c --- /dev/null +++ b/packit-ci.fmf @@ -0,0 +1,32 @@ +/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/basic-attestation-with-unpriviledged-agent + - /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