Skip to content

Commit b86916d

Browse files
committed
QE: Add rhel verify exercise to zuul
1 parent 6fc378c commit b86916d

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

provisioner/tests/verify-rhel.sh

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env bash
2+
3+
set -eu
4+
5+
DEPLOYMENT_NAME=$(grep 'ec2_name_prefix' provisioner/tests/ci-common.yml | cut -d' ' -f2)
6+
ADMIN_PASSWORD=$(grep 'admin_password' provisioner/tests/ci-common.yml | cut -d' ' -f2)
7+
8+
ansible-playbook provisioner/tests/rhel_verify.yml \
9+
-i provisioner/${DEPLOYMENT_NAME}/instructor_inventory.txt \
10+
--private-key=provisioner/${DEPLOYMENT_NAME}/${DEPLOYMENT_NAME}-private.pem \
11+
-e tower_password=${ADMIN_PASSWORD} \
12+
-e workshop_name=${DEPLOYMENT_NAME}

tox.ini

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ commands =
5151
-e @provisioner/tests/vars.yml \
5252
-e @provisioner/tests/ci-common.yml \
5353
-e @provisioner/tests/ci-rhel.yml
54+
bash ./provisioner/tests/verify-rhel.sh
5455
commands_post =
5556
ansible-playbook provisioner/teardown_lab.yml \
5657
-e @provisioner/tests/vars.yml \

0 commit comments

Comments
 (0)