diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..92d738a --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_stable +rules: + - !PassingTestCaseRule {test_case_name: org.centos.prod.ci.pipeline.allpackages-build.complete} diff --git a/tests/test_skopeo.sh b/tests/test_skopeo.sh new file mode 100755 index 0000000..561b3fb --- /dev/null +++ b/tests/test_skopeo.sh @@ -0,0 +1,14 @@ +#!/bin/bash -e + +# Log program and kernel versions +echo "Important package versions:" +( + uname -r + rpm -qa | egrep 'skopeo|podman|conmon|crun|runc|iptable|slirp|systemd' | sort +) | sed -e 's/^/ /' + +# Log environment; or at least the useful bits +echo "Environment:" +env | grep -v LS_COLORS= | sort | sed -e 's/^/ /' + +SKOPEO_BINARY=/usr/bin/skopeo bats /usr/share/skopeo/test/system diff --git a/tests/test_skopeo.yml b/tests/test_skopeo.yml new file mode 100644 index 0000000..0c73d85 --- /dev/null +++ b/tests/test_skopeo.yml @@ -0,0 +1,16 @@ +--- +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + - container + required_packages: + - bats + - skopeo + - skopeo-tests + tests: + - root-test: + dir: ./ + run: ./test_skopeo.sh + timeout: 15m diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..aa28816 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1 @@ +- import_playbook: test_skopeo.yml