Commit d71dbad Tag which tests work in Atomic Host and Docker containers

3 files Authored and Committed by stefw 2 years ago
Tag which tests work in Atomic Host and Docker containers

The standard test invocation spec is being updated to support
the testing system specify the context for the tests independent
from the test subject.

We're using Ansible tags to do this.

In this case the test works on Atomic, containers and classic
installed systems.

    
 1 @@ -0,0 +1,9 @@
 2 + ---
 3 + # This first play always runs on the local staging system
 4 + - hosts: localhost
 5 +   tags:
 6 +   - atomic
 7 +   - classic
 8 +   - container
 9 +   roles:
10 +   - { role: standard-test-beakerlib, tests: [ test-basics ] }
1 @@ -1,5 +0,0 @@
2 - ---
3 - # This first play always runs on the local staging system
4 - - hosts: localhost
5 -   roles:
6 -   - { role: standard-test-beakerlib, tests: [ test-basics ] }
1 @@ -1,1 +1,1 @@
2 - - include: test_local.yml
3 + - include: test_basics.yml