diff --git a/.papr.yml b/.papr.yml index e222d9a..bd921a9 100644 --- a/.papr.yml +++ b/.papr.yml @@ -25,11 +25,11 @@ inherit: true cluster: hosts: - name: testnode - distro: centos/7/atomic + distro: centos/7/atomic/continuous container: image: registry.fedoraproject.org/fedora:27 -context: centos/7/atomic +context: centos/7/atomic/continuous --- inherit: true @@ -37,8 +37,12 @@ inherit: true cluster: hosts: - name: testnode - distro: centos/7/atomic/continuous + distro: centos/7/atomic container: image: registry.fedoraproject.org/fedora:27 -context: centos/7/atomic/continuous +context: centos/7/atomic + +tests: + - ./.test_director --skip-tags kernel_avc_denied + diff --git a/.test_director b/.test_director index bb6bcad..cdc68de 100755 --- a/.test_director +++ b/.test_director @@ -18,15 +18,15 @@ NEW_TESTS=( $(git diff --name-only $(git merge-base origin/master HEAD) | grep ' # no new tests found, just run improved sanity test if [ ${#NEW_TESTS[@]} -eq 0 ]; then ansible-playbook --syntax-check tests/improved-sanity-test/main.yml - ansible-playbook -vi testnode, tests/improved-sanity-test/main.yml + ansible-playbook -vi testnode, tests/improved-sanity-test/main.yml "$@" else # added or modified tests found, iterate through and run each one printf '%s\n' "${NEW_TESTS[@]}" for NEW_TEST in "${NEW_TESTS[@]}"; do # diff may contain deleted tests so only run tests that exist if [ -f $NEW_TEST ]; then - ansible-playbook --syntax-check $NEW_TEST - ansible-playbook -vi testnode, $NEW_TEST + ansible-playbook --syntax-check $NEW_TEST + ansible-playbook -vi testnode, $NEW_TEST "$@" fi done fi