Skip to content
Snippets Groups Projects
Commit 20b67449 authored by Udai Singh's avatar Udai Singh
Browse files

Update .gitlab-ci.yml file

parent 96640fb9
No related branches found
No related tags found
No related merge requests found
Pipeline #114744 failed
...@@ -20,11 +20,13 @@ stages: # List of stages for jobs, and their order of execution ...@@ -20,11 +20,13 @@ stages: # List of stages for jobs, and their order of execution
- build - build
- test - test
- deploy - deploy
image: docker
services:
- docker:dind
build-job: # This job runs in the build stage, which runs first. build-job: # This job runs in the build stage, which runs first.
stage: build stage: build
image: docker
services:
- docker:dind
script: script:
- echo "Compiling the code..." - echo "Compiling the code..."
- docker build -t gitlab.desy.de:5555/fs-ec/docker/bluesky_bliss_data ./docker - docker build -t gitlab.desy.de:5555/fs-ec/docker/bluesky_bliss_data ./docker
...@@ -47,6 +49,8 @@ build-job: # This job runs in the build stage, which runs first. ...@@ -47,6 +49,8 @@ build-job: # This job runs in the build stage, which runs first.
deploy-job: # This job runs in the deploy stage. deploy-job: # This job runs in the deploy stage.
stage: deploy # It only runs when *both* jobs in the test stage complete successfully. stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
environment: production image: docker
services:
- docker:dind
script: script:
- docker push gitlab.desy.de:5555/fs-ec/docker/bluesky_bliss_data - docker push gitlab.desy.de:5555/fs-ec/docker/bluesky_bliss_data
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