2022-02-17 19:39:08 +00:00
|
|
|
summary: run keylime e2e tests
|
|
|
|
|
2022-06-07 10:58:05 +00:00
|
|
|
# define context to filter out all test requiring TPM device
|
|
|
|
context:
|
|
|
|
swtpm: yes
|
|
|
|
|
|
|
|
prepare:
|
|
|
|
- how: shell
|
|
|
|
script:
|
|
|
|
- rm -f /etc/yum.repos.d/tag-repository.repo
|
|
|
|
- dnf config-manager --set-enabled updates-testing updates-testing-modular
|
|
|
|
- how: shell
|
|
|
|
order: 90
|
|
|
|
script:
|
|
|
|
- sed -i "s/tpm_hash_alg =.*/tpm_hash_alg = sha256/" /etc/keylime.conf
|
|
|
|
|
2022-02-17 19:39:08 +00:00
|
|
|
discover:
|
|
|
|
how: fmf
|
|
|
|
url: https://github.com/RedHat-SP-Security/keylime-tests
|
|
|
|
ref: main
|
2022-02-17 21:45:08 +00:00
|
|
|
test:
|
2022-02-17 19:39:08 +00:00
|
|
|
- /setup/configure_tpm_emulator
|
|
|
|
- "/functional/.*"
|
|
|
|
|
|
|
|
execute:
|
|
|
|
how: tmt
|