Following changes are done with this patch:- - Ussuri+ releases are CentOS8 only, switch the standalone environment settings to reflect the same. - Add some os tempest options in standalone environment file to get tempest run with it. - Enable repo setup on virthost it will be needed to get repos needed by DLRN run. - Add settings to not prepare overcloud nodes as standalone deploy doesn't need those. - Also add some vars required for standalone deployment. - Do not use egg_info for tripleo-quickstart-extras path to avoid quickstart-extras installation from pip cache and instead install it from specified path. This environment file will be used to test standalone deployments on ci.centos.org. Closes-Bug: #1889219 Depends-On: I87a0214a344a9b23dd267e412a37b2abe0eb0571 Change-Id: Ic17bf6e69b1620bdcca339f436e1399b29c0437e
34 lines
1.3 KiB
Bash
34 lines
1.3 KiB
Bash
# Source this script from within other gating scripts to provide depends-on
|
|
# functionality for quickstart and quickstart-extras
|
|
|
|
: ${OPT_ADDITIONAL_PARAMETERS:=""}
|
|
|
|
# preparation steps to run with the gated changes
|
|
if [ "$JOB_TYPE" = "gate" ] || \
|
|
[ "$JOB_TYPE" = "dlrn-gate-check" ] || \
|
|
[ "$JOB_TYPE" = "standalone" ]; then
|
|
|
|
pushd $WORKSPACE/tripleo-quickstart
|
|
sed -i.bak '/extras/d' $WORKSPACE/tripleo-quickstart/quickstart-extras-requirements.txt
|
|
echo "file://$WORKSPACE/tripleo-quickstart-extras" >> $WORKSPACE/tripleo-quickstart/quickstart-extras-requirements.txt
|
|
popd
|
|
|
|
bash quickstart.sh \
|
|
--working-dir $WORKSPACE/ \
|
|
--no-clone \
|
|
--bootstrap \
|
|
--playbook gate-quickstart.yml \
|
|
--release ${CI_ENV:+$CI_ENV/}$RELEASE${REL_TYPE:+-$REL_TYPE} \
|
|
$OPT_ADDITIONAL_PARAMETERS \
|
|
$VIRTHOST
|
|
fi
|
|
|
|
# Rename tripleo-quickstart directory to include the gated change
|
|
if [ -d $WORKSPACE/tripleo-quickstart-gate-repo ]; then
|
|
mv $WORKSPACE/tripleo-quickstart $WORKSPACE/tripleo-quickstart-old
|
|
mv $WORKSPACE/tripleo-quickstart-gate-repo $WORKSPACE/tripleo-quickstart
|
|
cp $WORKSPACE/tripleo-quickstart-old/*requirements* $WORKSPACE/tripleo-quickstart/
|
|
# Change into the new quickstart directory to use the new changes
|
|
cd $WORKSPACE/tripleo-quickstart
|
|
fi
|