Skip to content
Snippets Groups Projects
Commit 52bf5c5a authored by M9713's avatar M9713
Browse files

Update .gitlab-ci.yml

parent 2bbd0f3f
No related branches found
No related tags found
No related merge requests found
Pipeline #509219 skipped
......@@ -38,7 +38,7 @@ Backend:
- /kaniko/executor
--context git://gitlab.labranet.jamk.fi/conduitmiau/te-backend/
--dockerfile Dockerfile
--destination $CI_REGISTRY_IMAGE:backend-$CI_COMMIT_SHORT_SHA
--destination $CI_REGISTRY_IMAGE:backend #-$CI_COMMIT_SHORT_SHA
Frontend:
stage: build
......@@ -57,7 +57,7 @@ Frontend:
- /kaniko/executor
--context git://gitlab.labranet.jamk.fi/conduitmiau/te-frontend/
--dockerfile Dockerfile
--destination $CI_REGISTRY_IMAGE:frontend-$CI_COMMIT_SHORT_SHA
--destination $CI_REGISTRY_IMAGE:frontend #-$CI_COMMIT_SHORT_SHA
deploy mongodb:
......@@ -86,7 +86,7 @@ deploy backend:
stage: deploy backend
# when: manual
when: manual
# script: echo "Deploying"
image: bitnami/kubectl:latest
......@@ -103,7 +103,7 @@ deploy frontend:
stage: deploy frontend
# when: manual
when: manual
# script: echo "Deploying"
image: bitnami/kubectl:latest
......@@ -111,4 +111,4 @@ deploy frontend:
- kubectl apply -f $CI_PROJECT_DIR/te-frontend/te-front-service.yaml
- kubectl apply -f $CI_PROJECT_DIR/te-frontend/te-front-deployment.yaml
- kubectl -n default rollout restart deployment front
- kubectl -n default rollout restart deployment frontend
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