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

Update .gitlab-ci.yml

parent ccff5988
No related branches found
No related tags found
No related merge requests found
Pipeline #473254 failed
......@@ -2,7 +2,8 @@ include:
template: DAST.gitlab-ci.yml
stages:
- build
- build backend
- build frontend
# - test
- deploy mongodb
- deploy backend
......@@ -16,8 +17,8 @@ variables:
# DAST_AUTH_USERNAME: “DAST”
# DAST_AUTH_PASSWORD: “DAST”
build:
stage: build backend
build backend:
stage: backend
when: manual
......@@ -33,8 +34,8 @@ build:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR/conduit-backend --dockerfile $CI_PROJECT_DIR/conduit-backend/Dockerfile --destination $CI_REGISTRY_IMAGE:backend
build:
stage: build frontend
build frontend:
stage: frontend
when: manual
......@@ -55,7 +56,7 @@ deploy mongodb:
# tags:
# - example
stage: deploy mongodb
stage: mongodb
when: manual
......@@ -76,7 +77,7 @@ deploy backend:
# tags:
# - example
stage: deploy backend
stage: backend
when: manual
......@@ -93,7 +94,7 @@ deploy frontend:
# tags:
# - example
stage: deploy frontend
stage: frontend
when: manual
......
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