diff options
author | Rémy Coutable <remy@rymai.me> | 2019-03-19 10:30:25 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2019-03-19 10:31:20 +0300 |
commit | dc2a482ba16fb43d8b772209b3a6863be3843f81 (patch) | |
tree | f48dbfa7f77f319c65d1e5306d5eccc0f087f6c5 /scripts/review_apps | |
parent | 68aacd65ae3c53f3c1d2cf081adc89e3758c52de (diff) |
Fix the .review-deploy-base job so that env variables are passed
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'scripts/review_apps')
-rwxr-xr-x | scripts/review_apps/review-apps.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/review_apps/review-apps.sh b/scripts/review_apps/review-apps.sh index f610485a700..32fce946c17 100755 --- a/scripts/review_apps/review-apps.sh +++ b/scripts/review_apps/review-apps.sh @@ -4,6 +4,16 @@ export TILLER_NAMESPACE="$KUBE_NAMESPACE" function echoerr() { printf "\033[0;31m%s\n\033[0m" "$*" >&2; } function echoinfo() { printf "\033[0;33m%s\n\033[0m" "$*" >&2; } +function perform_review_app_deployment() { + check_kube_domain + download_gitlab_chart + ensure_namespace + install_tiller + install_external_dns + time deploy + add_license +} + function check_kube_domain() { if [ -z ${REVIEW_APPS_DOMAIN+x} ]; then echo "In order to deploy or use Review Apps, REVIEW_APPS_DOMAIN variable must be set" |