Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TFS
controller
Commits
9c971c7d
Commit
9c971c7d
authored
7 months ago
by
Lluis Gifre Renom
Browse files
Options
Downloads
Patches
Plain Diff
Updated my_deploy.sh
parent
6dce5e7a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!294
Release TeraFlowSDN 4.0
,
!268
Resolve "(OPT) Integrate QKD tests in TFS CI/CD pipeline"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
my_deploy.sh
+7
-6
7 additions, 6 deletions
my_deploy.sh
with
7 additions
and
6 deletions
my_deploy.sh
+
7
−
6
View file @
9c971c7d
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment