Do not install rally on first upgrade run

In order to save up some time for upgrade jobs, we avoid installing
rally during first run of upgrade (on branch-1) as rally is branchless.

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_rally/+/848666
Change-Id: I00ac6c0ce83c952efa37640725296810ee11db1c
This commit is contained in:
Dmitriy Rabotyagov 2022-07-05 17:13:43 +02:00 committed by Dmitriy Rabotyagov
parent 5375a38dad
commit 8d82e306dd

View File

@ -63,7 +63,7 @@ export SETUP_ARA=${SETUP_ARA:-true}
if [[ "${ACTION}" == "upgrade" ]]; then
# Store the target SHA/branch
export UPGRADE_TARGET_BRANCH=$(git rev-parse HEAD)
export OPENSTACK_SETUP_EXTRA_ARGS="-e tempest_install=no -e tempest_run=no"
export OPENSTACK_SETUP_EXTRA_ARGS="-e tempest_install=no -e tempest_run=no -e rally_install=no"
export ANSIBLE_GATHER_SUBSET="network,hardware,virtual"
# Now checkout the source SHA/branch