Compare commits

...

No commits in common. "c8" and "c8s" have entirely different histories.
c8 ... c8s

25 changed files with 39 additions and 1 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
SOURCES/opensc-0.20.0.tar.gz
/opensc-0.20.0.tar.gz

View File

@ -1 +0,0 @@
86bf24a556837fa94d8f9b5aa4be3c9e55d4d94d SOURCES/opensc-0.20.0.tar.gz

9
gating.yaml Normal file
View File

@ -0,0 +1,9 @@
# recipients: cs-qe, spoore, jjelen
--- !Policy
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 }

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (opensc-0.20.0.tar.gz) = 71f71fa6062410e63c6c60f5b2d10d1d855cc6cc815ef0e42e42a1ddd25bbd52fc396c1e495ef54610f3243996dec84dacc8007b186deb670ed645b04ee6eda5

15
tests/runtest.sh Executable file
View File

@ -0,0 +1,15 @@
#!/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

13
tests/tests.yml Normal file
View File

@ -0,0 +1,13 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- opensc:
dir: .
run: ./runtest.sh
required_packages:
- git
- python3-pytest
- python3-pexpect