From b9c750507f5a3dc8473416083983a698b9de37bb Mon Sep 17 00:00:00 2001 From: Anderson Toshiyuki Sasaki Date: Oct 18 2022 14:30:24 +0000 Subject: Enable gating and add FIPS smoke test --- diff --git a/gating.yml b/gating.yml new file mode 100644 index 0000000..0bd5927 --- /dev/null +++ b/gating.yml @@ -0,0 +1,14 @@ +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_testing +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_stable +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..b32f8a2 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,13 @@ +--- +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + tests: + - smoke-fips: + dir: . + run: if [[ $(GNUTLS_DEBUG_LEVEL=99 GNUTLS_FORCE_FIPS_MODE=1 certtool 2>&1 | grep "Error") ]]; then exit 1; else exit 0; fi; + required_packages: + - gnutls + - gnutls-utils