RED-7404 - Fix gitlab-ci.yml #242
@ -1,23 +1,6 @@
|
|||||||
variables:
|
variables:
|
||||||
SONAR_PROJECT_KEY: 'RED_redaction-report-service'
|
SONAR_PROJECT_KEY: 'RED_persistence-service'
|
||||||
include:
|
include:
|
||||||
- project: 'gitlab/gitlab'
|
- project: 'gitlab/gitlab'
|
||||||
ref: 'main'
|
ref: 'main'
|
||||||
file: 'ci-templates/gradle_java.yml'
|
file: 'ci-templates/gradle_java.yml'
|
||||||
|
|
||||||
deploy:
|
|
||||||
stage: deploy
|
|
||||||
tags:
|
|
||||||
- dind
|
|
||||||
script:
|
|
||||||
- echo "Building with gradle version ${BUILDVERSION}"
|
|
||||||
- gradle -Pversion=${BUILDVERSION} publish
|
|
||||||
- gradle bootBuildImage --publishImage -PbuildbootDockerHostNetwork=true -Pversion=${BUILDVERSION}
|
|
||||||
- echo "BUILDVERSION=$BUILDVERSION" >> version.env
|
|
||||||
artifacts:
|
|
||||||
reports:
|
|
||||||
dotenv: version.env
|
|
||||||
rules:
|
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
|
||||||
- if: $CI_COMMIT_BRANCH =~ /^release/
|
|
||||||
- if: $CI_COMMIT_TAG
|
|
||||||
Loading…
x
Reference in New Issue
Block a user