Skip to content
Snippets Groups Projects
Commit 055edd2f authored by Luigi Sbailo's avatar Luigi Sbailo
Browse files

Modify CI tag of develop branch

Tag does not contain the commit number and build in analytics-deployment is not triggered
parent e244679a
No related branches found
No related tags found
1 merge request!123testing develop merge
......@@ -19,9 +19,9 @@ build to develop:
- docker info
script:
# Using cache to speed up the build process
- docker pull ${CI_REGISTRY_IMAGE}:latest || true
- docker build --cache-from ${CI_REGISTRY_IMAGE}:latest --tag ${CI_REGISTRY_IMAGE}:develop${CI_COMMIT_SHORT_SHA} .
- docker push ${CI_REGISTRY_IMAGE}:develop${CI_COMMIT_SHORT_SHA}
- docker pull ${CI_REGISTRY_IMAGE}:develop || true
- docker build --cache-from ${CI_REGISTRY_IMAGE}:latest --tag ${CI_REGISTRY_IMAGE}:develop .
- docker push ${CI_REGISTRY_IMAGE}:develop
rules:
# Execute jobs when a new commit is pushed to develop branch
- if: $CI_COMMIT_BRANCH == "develop"
......@@ -60,21 +60,6 @@ build to production:
- if: $CI_COMMIT_BRANCH == 'master'
deploy to develop:
image: python:3.6
stage: deploy
variables:
GIT_SUBMODULE_STRATEGY: none
script:
- ./.gitlab-ci/update_tag_develop.sh
environment:
name: develop
url: https://analytics-toolkit.nomad-coe.eu/develop
rules:
# Execute jobs when a new commit is pushed to develop branch
- if: $CI_COMMIT_BRANCH == "develop"
deploy to staging:
image: python:3.6
stage: deploy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment