echoinfo "Waiting till '${app_name}' pod is ready"true
echoinfo "Running '${get_pod_cmd}'"
...
...
@@ -147,7 +147,7 @@ function disable_sign_ups() {
run_task "${ruby_cmd}"
# Disable sign-ups
curl --request PUT --header"PRIVATE-TOKEN: ${REVIEW_APPS_ROOT_TOKEN}""${CI_ENVIRONMENT_URL}/api/v4/application/settings?signup_enabled=false"
curl --silent--show-error--request PUT --header"PRIVATE-TOKEN: ${REVIEW_APPS_ROOT_TOKEN}""${CI_ENVIRONMENT_URL}/api/v4/application/settings?signup_enabled=false"
local signup_enabled=$(curl --silent--show-error--request GET --header"PRIVATE-TOKEN: ${REVIEW_APPS_ROOT_TOKEN}""${CI_ENVIRONMENT_URL}/api/v4/application/settings" | jq ".signup_enabled")
if[["${signup_enabled}"=="false"]];then
...
...
@@ -213,6 +213,9 @@ function install_external_dns() {
fi
}
# This script is used to install cert-manager in the cluster