1ea99147c1
This change also updates the CI test scripts to use PATH to find the kolla-ansible script, rather than relying on the file in the source checkout. Using the script in the source checkout was hiding an issue with pip install --user, although that has now been fixed in I5b47a146627d06bb3fe4a747c5f20290c726b0f9. Related-Bug: #1915527 Change-Id: I2827a657c8716a9c40391c6bdb7ff1a2a9c1260e Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/775586
22 lines
565 B
Bash
Executable File
22 lines
565 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -o xtrace
|
|
set -o errexit
|
|
|
|
# Enable unbuffered output for Ansible in Jenkins.
|
|
export PYTHONUNBUFFERED=1
|
|
|
|
|
|
function reconfigure {
|
|
RAW_INVENTORY=/etc/kolla/inventory
|
|
|
|
# TODO(jeffrey4l): make some configure file change and
|
|
# trigger a real reconfigure
|
|
kolla-ansible -i ${RAW_INVENTORY} -vvv prechecks &> /tmp/logs/ansible/reconfigure-prechecks
|
|
kolla-ansible -i ${RAW_INVENTORY} -vvv reconfigure &> /tmp/logs/ansible/reconfigure
|
|
kolla-ansible -i ${RAW_INVENTORY} -vvv check &> /tmp/logs/ansible/check-reconfigure
|
|
}
|
|
|
|
|
|
reconfigure
|