@@ -215,3 +215,39 @@ function install_external_dns() {
--set rbac.create="true"
fi
}
function add_license(){
if[-z"${REVIEW_APPS_EE_LICENSE}"];then echo"License not found"&&return;fi
while[-z"$(kubectl get pods -n${KUBE_NAMESPACE}--field-selector=status.phase=Running -lapp=task-runner,release=${CI_ENVIRONMENT_SLUG}--no-headers-o=custom-columns=NAME:.metadata.name)"];do
echo"Waiting till task-runner pod is ready";
sleep 5;
done
task_runner_pod=$(kubectl get pods -n${KUBE_NAMESPACE}--field-selector=status.phase=Running -lapp=task-runner,release=${CI_ENVIRONMENT_SLUG}--no-headers-o=custom-columns=NAME:.metadata.name)
if[-z"${task_runner_pod}"];then echo"Task runner pod not found"&&return;fi