diff options
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/build.sh | 9 | ||||
-rwxr-xr-x | ci/clean.sh | 4 |
2 files changed, 11 insertions, 2 deletions
diff --git a/ci/build.sh b/ci/build.sh index 2fd8c26d..26cdf7a0 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -128,6 +128,15 @@ if [[ "$MAKE_TARGETS" == "images" ]]; then fi fi +# Make sure python is installed +if ! rpm -q python34-devel > /dev/null; then + sudo yum install -y epel-release + if ! sudo yum install -y python34-devel; then + echo "Failed to install python34-devel package..." + exit 1 + fi +fi + # Execute make against targets for t in $MAKE_TARGETS; do run_make $t diff --git a/ci/clean.sh b/ci/clean.sh index fbbca1f8..dc76f323 100755 --- a/ci/clean.sh +++ b/ci/clean.sh @@ -53,7 +53,7 @@ sed -i '/stack@undercloud.localdomain/d' /root/.ssh/authorized_keys sed -i '/virtual-power-key/d' /root/.ssh/authorized_keys -# restart libvirtd to force storage cleanup -systemctl restart libvirtd +# force storage cleanup +virsh pool-refresh default echo "Cleanup Completed" |