forked from keylime/keylime
-
Notifications
You must be signed in to change notification settings - Fork 2
/
packit-ci.fmf
53 lines (45 loc) · 1.55 KB
/
packit-ci.fmf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/e2e-with-revocation:
summary: run keylime e2e tests
prepare:
how: shell
script:
- rm -f /etc/yum.repos.d/tag-repository.repo
- ln -s $(pwd) /var/tmp/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/enable_keylime_coverage
- /functional/basic-attestation-on-localhost
- /functional/basic-attestation-without-mtls
- /functional/basic-attestation-with-unpriviledged-agent
- /functional/keylime_tenant-commands-on-localhost
- /functional/tpm_policy-sanity-on-localhost
- /functional/db-postgresql-sanity-on-localhost
- /functional/db-mariadb-sanity-on-localhost
- /functional/db-mysql-sanity-on-localhost
- /functional/tenant-allowlist-sanity
- /upstream/run_keylime_tests
- /setup/generate_coverage_report
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
- prepare+:
script+:
- yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
when: distro == centos-stream-8
# discover step adjustments
# disable code coverage measurement everywhere except F35
- when: distro != fedora-35
discover+:
test-:
- /setup/enable_keylime_coverage
- /setup/generate_coverage_report
execute:
how: tmt