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
Merge requests
!254
Resolve "Multiple fixes on KPI Management"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Multiple fixes on KPI Management"
feat/177-multiple-fixes-on-kpi-management
into
develop
Overview
0
Commits
3
Pipelines
6
Changes
14
Merged
Lluis Gifre Renom
requested to merge
feat/177-multiple-fixes-on-kpi-management
into
develop
10 months ago
Overview
0
Commits
3
Pipelines
6
Changes
14
Expand
Closes
#177 (closed)
0
0
Merge request reports
Compare
develop
version 2
2ea824bf
10 months ago
version 1
fca7587e
10 months ago
develop (base)
and
latest version
latest version
c5e19713
3 commits,
10 months ago
version 2
2ea824bf
2 commits,
10 months ago
version 1
fca7587e
1 commit,
10 months ago
14 files
+
41
−
143
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
14
Search (e.g. *.vue) (Ctrl+P)
deploy/tfs.sh
+
2
−
2
Options
@@ -340,7 +340,7 @@ for COMPONENT in $TFS_COMPONENTS; do
echo
" Deploying '
$COMPONENT
' component to Kubernetes..."
DEPLOY_LOG
=
"
$TMP_LOGS_FOLDER
/deploy_
${
COMPONENT
}
.log"
kubectl
--namespace
$TFS_K8S_NAMESPACE
apply
-f
"
$MANIFEST
"
>
"
$DEPLOY_LOG
"
COMPONENT_OBJNAME
=
$(
echo
"
${
COMPONENT
}
"
|
sed
"s/
\_
/-/"
)
COMPONENT_OBJNAME
=
$(
echo
"
${
COMPONENT
}
"
|
sed
"s/
\_
/-/
g
"
)
#kubectl --namespace $TFS_K8S_NAMESPACE scale deployment --replicas=0 ${COMPONENT_OBJNAME}service >> "$DEPLOY_LOG"
#kubectl --namespace $TFS_K8S_NAMESPACE scale deployment --replicas=1 ${COMPONENT_OBJNAME}service >> "$DEPLOY_LOG"
@@ -391,7 +391,7 @@ printf "\n"
for
COMPONENT
in
$TFS_COMPONENTS
;
do
echo
"Waiting for '
$COMPONENT
' component..."
COMPONENT_OBJNAME
=
$(
echo
"
${
COMPONENT
}
"
|
sed
"s/
\_
/-/"
)
COMPONENT_OBJNAME
=
$(
echo
"
${
COMPONENT
}
"
|
sed
"s/
\_
/-/
g
"
)
kubectl
wait
--namespace
$TFS_K8S_NAMESPACE
\
--for
=
'condition=available'
--timeout
=
90s deployment/
${
COMPONENT_OBJNAME
}
service
WAIT_EXIT_CODE
=
$?
Loading