Fix Trove periodic CI jobs

Change-Id: I11456aaeb2d417dbae6bdb0e51944aa122c521e0
This commit is contained in:
Lingxian Kong 2019-12-08 20:20:43 +13:00
parent 4c551947c9
commit 4c8482095d

View File

@ -25,7 +25,7 @@ function build_vm() {
# In dev mode, the trove guest agent needs to download trove code from
# trove-taskmanager host during service initialization.
if [[ "${dev_mode}" == "true" ]]; then
if [[ "${dev_mode,,}" == "true" ]]; then
export PATH_TROVE=${PATH_TROVE}
export ESCAPED_PATH_TROVE=$(echo ${PATH_TROVE} | sed 's/\//\\\//g')
export GUEST_LOGDIR=${GUEST_LOGDIR:-"/var/log/trove/"}
@ -61,7 +61,7 @@ function build_vm() {
elementes="$elementes ${guest_os}"
if [[ "${dev_mode}" == "false" ]]; then
if [[ "${dev_mode,,}" == "false" ]]; then
elementes="$elementes pip-and-virtualenv"
elementes="$elementes pip-cache"
elementes="$elementes guest-agent"