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

Update .gitlab-ci.yml

parent a87b0290
No related branches found
No related tags found
No related merge requests found
Pipeline #509204 failed
......@@ -23,7 +23,7 @@ stages:
Backend:
stage: build
# when: manual
when: manual
image:
name: gcr.io/kaniko-project/executor:debug
......@@ -42,7 +42,7 @@ Backend:
Frontend:
stage: build
# when: manual
when: manual
image:
name: gcr.io/kaniko-project/executor:debug
......@@ -65,7 +65,7 @@ deploy mongodb:
# - example
stage: deploy mongodb
# when: manual
when: manual
# script: echo "Deploying"
image: bitnami/kubectl:latest
......@@ -92,8 +92,8 @@ deploy backend:
image: bitnami/kubectl:latest
script:
- kubectl apply -f git://gitlab.labranet.jamk.fi/conduitmiau/te-backend/backend-service.yaml
- kubectl apply -f git://gitlab.labranet.jamk.fi/conduitmiau/te-backend/backend-deployment.yaml
- kubectl apply -f git://gitlab.labranet.jamk.fi/conduitmiau/te-backend/te-backend-service.yaml
- kubectl apply -f git://gitlab.labranet.jamk.fi/conduitmiau/te-backend/te-backend-deployment.yaml
- kubectl -n default rollout restart deployment backend
deploy frontend:
......@@ -109,6 +109,6 @@ deploy frontend:
image: bitnami/kubectl:latest
script:
- kubectl apply -f git://gitlab.labranet.jamk.fi/conduitmiau/te-frontend/front-service.yaml
- kubectl apply -f git://gitlab.labranet.jamk.fi/conduitmiau/te-frontend/front-deployment.yaml
- kubectl apply -f git://gitlab.labranet.jamk.fi/conduitmiau/te-frontend/te-front-service.yaml
- kubectl apply -f git://gitlab.labranet.jamk.fi/conduitmiau/te-frontend/te-front-deployment.yaml
- kubectl -n default rollout restart deployment front
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