Migrate cryptsetup gating tests from sti to tmt.
This commit is contained in:
parent
6bceacf246
commit
650cec047f
18
gating.yaml
18
gating.yaml
@ -1,22 +1,6 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_contexts: [bodhi_update_push_testing]
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_contexts: [bodhi_update_push_stable]
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
||||
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-10
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1-x86_64.functional}
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/cryptsetup.functional}
|
||||
|
||||
39
plans/cryptsetup.fmf
Normal file
39
plans/cryptsetup.fmf
Normal file
@ -0,0 +1,39 @@
|
||||
summary: cryptsetup gating tests
|
||||
environment-file:
|
||||
- plans/env.yaml
|
||||
|
||||
prepare:
|
||||
- how: feature
|
||||
epel: enabled
|
||||
- how: install
|
||||
package:
|
||||
- cryptsetup
|
||||
- cryptsetup-devel
|
||||
- integritysetup
|
||||
- veritysetup
|
||||
- gcc
|
||||
- make
|
||||
- kernel-headers
|
||||
- device-mapper-devel
|
||||
- expect
|
||||
- keyutils
|
||||
- jq
|
||||
- sharutils
|
||||
- glibc
|
||||
- vim-common
|
||||
- sharutils
|
||||
|
||||
discover:
|
||||
how: shell
|
||||
dist-git-source: true
|
||||
tests:
|
||||
- name: upstream tier0
|
||||
duration: 2h
|
||||
test: exec plans/run-local-tests.sh
|
||||
|
||||
execute:
|
||||
- how: tmt
|
||||
|
||||
provision:
|
||||
hardware:
|
||||
memory: ">= 3 GB"
|
||||
2
plans/env.yaml
Normal file
2
plans/env.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
---
|
||||
CRYPTSETUP_PATH: /sbin
|
||||
8
plans/run-local-tests.sh
Executable file
8
plans/run-local-tests.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -eux
|
||||
set -o pipefail
|
||||
|
||||
pushd $TMT_SOURCE_DIR/cryptsetup-*/tests
|
||||
make -f Makefile.localtest tests
|
||||
popd
|
||||
@ -1,5 +0,0 @@
|
||||
---
|
||||
standard-inventory-qcow2:
|
||||
qemu:
|
||||
m: 3G
|
||||
|
||||
@ -1,28 +0,0 @@
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-source
|
||||
tags:
|
||||
- classic
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
tests:
|
||||
- upstream_test_suite:
|
||||
dir: source/tests
|
||||
run: make -f Makefile.localtest tests
|
||||
environment:
|
||||
CRYPTSETUP_PATH: /sbin
|
||||
required_packages:
|
||||
- cryptsetup
|
||||
- cryptsetup-devel
|
||||
- integritysetup
|
||||
- veritysetup
|
||||
- gcc
|
||||
- make
|
||||
- kernel-headers
|
||||
- device-mapper-devel
|
||||
- expect
|
||||
- keyutils
|
||||
- jq
|
||||
- vim-common
|
||||
- sharutils
|
||||
Loading…
Reference in New Issue
Block a user