Skip to content
Snippets Groups Projects
Commit a64a3016 authored by Sean Fredrick Cruz's avatar Sean Fredrick Cruz
Browse files

Update .gitlab-ci.yml file

parent 5903eeb5
No related branches found
No related tags found
No related merge requests found
Pipeline #67362 failed with stage
in 1 minute and 1 second
...@@ -23,6 +23,9 @@ build-frontend: ...@@ -23,6 +23,9 @@ build-frontend:
deploy-dev: deploy-dev:
stage: deploy stage: deploy
script: script:
# Clone submodules
- git submodule init
- git submodule update
# Install kubectl and Helm # Install kubectl and Helm
- curl -LO "https://dl.k8s.io/release/v1.28.0/bin/linux/amd64/kubectl" - curl -LO "https://dl.k8s.io/release/v1.28.0/bin/linux/amd64/kubectl"
- chmod +x ./kubectl - chmod +x ./kubectl
...@@ -39,7 +42,7 @@ deploy-dev: ...@@ -39,7 +42,7 @@ deploy-dev:
# - if [ ! -z "$TOKEN" ]; then kubectl apply -f task-app/ --server=https://8.tcp.ngrok.io:12167 --insecure-skip-tls-verify --token=$TOKEN; else echo "No token found in config"; fi # - if [ ! -z "$TOKEN" ]; then kubectl apply -f task-app/ --server=https://8.tcp.ngrok.io:12167 --insecure-skip-tls-verify --token=$TOKEN; else echo "No token found in config"; fi
# - kubectl apply -f task-app/ --server=https://0.tcp.ap.ngrok.io:11295 --insecure-skip-tls-verify # - kubectl apply -f task-app/ --server=https://0.tcp.ap.ngrok.io:11295 --insecure-skip-tls-verify
- cd task-app # - cd task-app
- helm upgrade --install my-release task-app/ --namespace task-app --create-namespace --kube-apiserver https://0.tcp.ap.ngrok.io:11295 --kube-insecure-skip-tls-verify - helm upgrade --install my-release task-app/ --namespace task-app --create-namespace --kube-apiserver https://0.tcp.ap.ngrok.io:11295 --kube-insecure-skip-tls-verify
environment: environment:
name: development name: development
......
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