Migrate gating to fmf format
This commit is contained in:
parent
fc699a2d8c
commit
1da0b715bc
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
@ -4,6 +4,7 @@ product_versions:
|
||||
- rhel-8
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.opensc.functional }
|
||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.smart-cards.functional }
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/ci/fips-disabled-buildroot-disabled.functional}
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/ci/fips-disabled-buildroot-enabled.functional}
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/ci/fips-enabled-buildroot-disabled.functional}
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/ci/fips-enabled-buildroot-enabled.functional}
|
||||
|
23
plans/ci.fmf
Normal file
23
plans/ci.fmf
Normal file
@ -0,0 +1,23 @@
|
||||
/fips-disabled-buildroot-disabled:
|
||||
plan:
|
||||
import:
|
||||
url: https://pkgs.devel.redhat.com/git/tests/opensc
|
||||
name: /plans/ci/fips-disabled-buildroot-disabled
|
||||
|
||||
/fips-disabled-buildroot-enabled:
|
||||
plan:
|
||||
import:
|
||||
url: https://pkgs.devel.redhat.com/git/tests/opensc
|
||||
name: /plans/ci/fips-disabled-buildroot-enabled
|
||||
|
||||
/fips-enabled-buildroot-disabled:
|
||||
plan:
|
||||
import:
|
||||
url: https://pkgs.devel.redhat.com/git/tests/opensc
|
||||
name: /plans/ci/fips-enabled-buildroot-disabled
|
||||
|
||||
/fips-enabled-buildroot-enabled:
|
||||
plan:
|
||||
import:
|
||||
url: https://pkgs.devel.redhat.com/git/tests/opensc
|
||||
name: /plans/ci/fips-enabled-buildroot-enabled
|
@ -1,15 +0,0 @@
|
||||
#!/bin/bash -x
|
||||
|
||||
export GIT_SSL_NO_VERIFY=true
|
||||
git clone https://gitlab.cee.redhat.com/idm/smartcards.git
|
||||
cd smartcards/gating/opensc
|
||||
./setup_opensc_gating.sh
|
||||
|
||||
pytest-3 -v --junit-xml=/tmp/artifacts/junit.xml \
|
||||
--log-cli-level=INFO \
|
||||
--log-cli-format="[%(name)s] %(levelname)s %(message)s" \
|
||||
--log-file=/tmp/artifacts/pytest-run.log \
|
||||
--log-file-level=DEBUG \
|
||||
--log-file-format="%(asctime)s [%(name)s] %(levelname)s %(message)s" \
|
||||
--log-file-date-format="%Y-%m-%dT%H:%M:%S%z" \
|
||||
test_opensc_sanity.py
|
@ -1,13 +0,0 @@
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
tests:
|
||||
- opensc:
|
||||
dir: .
|
||||
run: ./runtest.sh
|
||||
required_packages:
|
||||
- git
|
||||
- python3-pytest
|
||||
- python3-pexpect
|
Loading…
Reference in New Issue
Block a user