Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
DipSO
aspire
Commits
d56dfce7
Commit
d56dfce7
authored
Oct 20, 2021
by
ubuntu
Browse files
deploy to orion
parent
8773b928
Pipeline
#50046
passed with stages
in 2 minutes and 50 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
d56dfce7
...
...
@@ -40,14 +40,14 @@ deploy:
-
export HOST=$( eval echo \$DOMAIN )
-
echo "Host is $HOST"
script
:
-
helm create
$RELEASE_NAME
-
helm create
rshiny
-
'
sed
-ri
"s/^(\s*)(containerPort\s*:\s*80\s*$)/\1containerPort:
3838/"
rshiny/templates/deployment.yaml'
-
'
sed
-ri
"s/^(\s*)(targetPort\s*:\s*http\s*$)/\1targetPort:
3838/"
rshiny/templates/service.yaml'
-
helm upgrade --namespace $NAMESPACE --install $RELEASE_NAME
--set image.repository=$CI_REGISTRY_IMAGE --set image.tag=$CI_COMMIT_SHORT_SHA
--set imagePullSecrets[0].name=aspire-registry-credentials
--set ingress.enabled=true --set ingress.className=nginx --set ingress.hosts[0].host=$HOST
--set ingress.hosts[0].paths[0].path="/" --set ingress.hosts[0].paths[0].pathType=Prefix ./
$RELEASE_NAME
--set ingress.hosts[0].paths[0].path="/" --set ingress.hosts[0].paths[0].pathType=Prefix ./
rshiny
#--set ingress.tls[0].secretName=$TLS_SECRET
#--set ingress.tls[0].hosts[0]=$HOST
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment