Enable CI with e2e tests

Resolves: RHEL-296
This commit is contained in:
Karel Srot 2023-03-09 08:06:39 +01:00
parent 7842bcd0bc
commit d04c383743
2 changed files with 26 additions and 0 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

25
e2e_tests.fmf Normal file
View File

@ -0,0 +1,25 @@
summary: run keylime e2e tests
# define context to filter out all test requiring TPM device
context:
swtpm: yes
agent: rust
discover:
how: fmf
url: https://github.com/RedHat-SP-Security/keylime-tests
ref: "@.tmt/dynamic_ref.fmf"
test:
- /setup/configure_tpm_emulator
- /setup/inject_SELinux_AVC_check
# change IMA policy to simple and run one attestation scenario
# this is to utilize also a different parser
- /setup/configure_kernel_ima_module/ima_policy_simple
- /functional/basic-attestation-on-localhost
# now change IMA policy to signing and run all tests
- /setup/configure_kernel_ima_module/ima_policy_signing
- "/functional/.*"
- "/compatibility/.*"
execute:
how: tmt