AWS: Wire-up ENABLE_DEPLOYMENT env var

The AWS equivalent of a558fca24b
pull/6/head
Justin Santa Barbara 2015-10-19 22:14:13 -04:00
parent d3862d453f
commit ff44cd113a
1 changed files with 7 additions and 0 deletions

View File

@ -452,6 +452,13 @@ function verify-prereqs {
fi fi
fi fi
fi fi
if [[ "${ENABLE_DEPLOYMENTS}" == "true" ]]; then
if [[ -z "${RUNTIME_CONFIG}" ]]; then
RUNTIME_CONFIG="extensions/v1beta1/deployments=true"
else
RUNTIME_CONFIG="${RUNTIME_CONFIG},extensions/v1beta1/deployments=true"
fi
fi
if [[ "$(which aws)" == "" ]]; then if [[ "$(which aws)" == "" ]]; then
echo "Can't find aws in PATH, please fix and retry." echo "Can't find aws in PATH, please fix and retry."