enable gating tests

Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
Ed Santiago 2019-10-16 06:33:29 -06:00
parent 9188015292
commit 2670fa12f2
4 changed files with 37 additions and 0 deletions

6
gating.yaml Normal file
View File

@ -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}

14
tests/test_skopeo.sh Executable file
View File

@ -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

16
tests/test_skopeo.yml Normal file
View File

@ -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

1
tests/tests.yml Normal file
View File

@ -0,0 +1 @@
- import_playbook: test_skopeo.yml