-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run the newly created system tests in CI and collect artifacts. Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
- Loading branch information
Showing
7 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Role Name | ||
========= | ||
|
||
Run system tests. | ||
|
||
Example Playbook | ||
---------------- | ||
|
||
Usage example: | ||
|
||
- hosts: localhost | ||
roles: | ||
- role: run_system_tests | ||
|
||
License | ||
------- | ||
|
||
BSD | ||
|
||
Author Information | ||
------------------ | ||
|
||
Iker Pedrosa <ipedrosa@redhat.com> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
# tasks file for run_system_tests | ||
- name: Prepare environment and run system tests | ||
ansible.builtin.shell: | | ||
set -ex | ||
pushd ../../tests/system/ | ||
python3 -m venv .venv | ||
source .venv/bin/activate | ||
pip3 install -r ./requirements.txt | ||
exec 3>&1 1> >(tee pytest.log) 2>&1 | ||
pytest --mh-config=mhc.yaml --mh-lazy-ssh -vvv | ||
popd | ||
args: | ||
executable: /bin/bash |