Commit d56dfce7 authored by ubuntu's avatar ubuntu
Browse files

deploy to orion

parent 8773b928
Pipeline #50046 passed with stages
in 2 minutes and 50 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment