Add USE_MERGEPY to devtest_variables.sh
We can now drive the with/without merge.py choice using an environmental variable, too. This will let us enable a CI job. Change-Id: I527bfb7f90d75f08982a30d26515740f6cb9f7cf
This commit is contained in:
parent
f924f68f44
commit
5269a8f5fb
|
@ -54,7 +54,6 @@ function show_options () {
|
|||
}
|
||||
|
||||
BUILD_ONLY=
|
||||
NO_MERGEPY=
|
||||
DEBUG_LOGGING=
|
||||
NODES_ARG=
|
||||
NO_UNDERCLOUD=
|
||||
|
@ -75,7 +74,7 @@ eval set -- "$TEMP"
|
|||
while true ; do
|
||||
case "$1" in
|
||||
--build-only) BUILD_ONLY=--build-only; shift 1;;
|
||||
--no-mergepy) NO_MERGEPY=--no-mergepy; shift 1;;
|
||||
--no-mergepy) USE_MERGEPY=0; shift 1;;
|
||||
--debug-logging) DEBUG_LOGGING=--debug-logging; shift 1;;
|
||||
--trash-my-machine) CONTINUE=--trash-my-machine; shift 1;;
|
||||
--existing-environment) TRIPLEO_CLEANUP=0; shift 1;;
|
||||
|
@ -97,6 +96,7 @@ if [ -z "$CONTINUE" ]; then
|
|||
fi
|
||||
|
||||
export USE_CACHE
|
||||
export USE_MERGEPY
|
||||
|
||||
# Source environment variables from .devtestrc, allowing defaults to be setup
|
||||
# specific to users environments
|
||||
|
@ -346,7 +346,7 @@ DEVTEST_UC_END=$(date +%s)
|
|||
## devtest_overcloud.sh
|
||||
### --end
|
||||
DEVTEST_OC_START=$(date +%s)
|
||||
devtest_overcloud.sh $BUILD_ONLY $NO_MERGEPY $DEBUG_LOGGING $HEAT_ENV_OVERCLOUD
|
||||
devtest_overcloud.sh $BUILD_ONLY $DEBUG_LOGGING $HEAT_ENV_OVERCLOUD
|
||||
DEVTEST_OC_END=$(date +%s)
|
||||
if [ -z "$BUILD_ONLY" ]; then
|
||||
### --include
|
||||
|
|
|
@ -13,7 +13,6 @@ COMPUTE_FLAVOR="baremetal"
|
|||
CONTROL_FLAVOR="baremetal"
|
||||
BLOCKSTORAGE_FLAVOR="baremetal"
|
||||
SWIFTSTORAGE_FLAVOR="baremetal"
|
||||
USE_MERGEPY=1
|
||||
|
||||
function show_options () {
|
||||
echo "Usage: $SCRIPT_NAME [options]"
|
||||
|
|
|
@ -229,4 +229,11 @@ else
|
|||
export USE_MARIADB=0
|
||||
fi
|
||||
|
||||
|
||||
## #. You can choose between using the old-style merge.py script for putting
|
||||
## together or the newer way of doing it directly via Heat.
|
||||
## ::
|
||||
|
||||
export USE_MERGEPY=${USE_MERGEPY:-1}
|
||||
|
||||
### --end
|
||||
|
|
Loading…
Reference in New Issue