Automated running MCC and MOS StackLight tests
Related-PROD: PROD-37187
Change-Id: Iafdda9f0395a72c63565c398c4336f575aa06899
diff --git a/k8s/workspace/init-workspace.sh b/k8s/workspace/init-workspace.sh
index 7ce7878..01e2d0d 100644
--- a/k8s/workspace/init-workspace.sh
+++ b/k8s/workspace/init-workspace.sh
@@ -67,10 +67,15 @@
truncate -s 0 $MY_PROJFOLDER/env.sh
echo "$MY_PROJFOLDER/env.sh has been truncated"
fi
+
+### Edit the following lines to set the client name, floating network name, IAM writer password
ewriteln "export MY_CLIENTNAME='ClientName'"
ewriteln "export MY_CLIENTSHORTNAME='clname'"
ewriteln "export MY_PROJNAME='MOS_DEPLOY'"
CUSTOM_PUBLIC_NET_NAME=""
+ewriteln "export WRITER_PASSWORD=''" # IAM (Keycloak) writer password
+
+### Setting the project directory
ewriteln "export MY_PROJFOLDER=/artifacts"
# NS & CLUSTER
@@ -99,6 +104,9 @@
ewriteln "export MCC_K8S_CONFORMANCE_IMAGE_VERSION='${mcc_conformance_image_tag}'"
ewriteln "export MCC_K8S_CONFORMANCE_IMAGE_URL='${mcc_conformance_image_url}'"
+# getting IAM Keycloak URL
+ewriteln "export KEYCLOAK_URL=$(kubectl get cluster kaas-mgmt -o jsonpath='{.status.providerStatus.helm.releases.iam.keycloak.url}')"
+
# extract MOS kubeconfig
echo " "
printf "\n\nExtracting mos-kubeconfig.yaml"