Skip to content
Snippets Groups Projects
Commit 9c971c7d authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Updated my_deploy.sh

parent 6dce5e7a
No related branches found
No related tags found
2 merge requests!294Release TeraFlowSDN 4.0,!268Resolve "(OPT) Integrate QKD tests in TFS CI/CD pipeline"
......@@ -20,7 +20,8 @@
export TFS_REGISTRY_IMAGES="http://localhost:32000/tfs/"
# Set the list of components, separated by spaces, you want to build images for, and deploy.
export TFS_COMPONENTS="context device pathcomp service slice nbi webui load_generator"
#export TFS_COMPONENTS="context device pathcomp service slice nbi webui load_generator"
export TFS_COMPONENTS="context device pathcomp service slice nbi webui"
# Uncomment to activate Monitoring (old)
#export TFS_COMPONENTS="${TFS_COMPONENTS} monitoring"
......@@ -74,11 +75,11 @@ export TFS_COMPONENTS="context device pathcomp service slice nbi webui load_gene
# To manage QKD Apps, "service" requires "qkd_app" to be deployed
# before "service", thus we "hack" the TFS_COMPONENTS environment variable prepending the
# "qkd_app" only if "service" is already in TFS_COMPONENTS, and re-export it.
#if [[ "$TFS_COMPONENTS" == *"service"* ]]; then
# BEFORE="${TFS_COMPONENTS% service*}"
# AFTER="${TFS_COMPONENTS#* service}"
# export TFS_COMPONENTS="${BEFORE} qkd_app service ${AFTER}"
#fi
if [[ "$TFS_COMPONENTS" == *"service"* ]]; then
BEFORE="${TFS_COMPONENTS% service*}"
AFTER="${TFS_COMPONENTS#* service}"
export TFS_COMPONENTS="${BEFORE} qkd_app service ${AFTER}"
fi
# Set the tag you want to use for your images.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment