File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 11stages :
22 - test
33 - build image
4+ - deploy
45
56variables :
67 DOCKER_TLS_CERTDIR : " "
@@ -13,6 +14,7 @@ variables:
1314 SBT_OPTS : " -sbt-launch-dir .sbt/launchers -sbt-dir .sbt -ivy .ivy2 -Dsbt.color=true -Dscala.color=true"
1415 ARTIFACTORY_USERNAME : cicd-innovation
1516 ARTIFACTORY_URL : https://artifactory-horw.int.toradex.com/artifactory
17+ SERVICE : treehub
1618
1719image : artifactory-horw.int.toradex.com/ota-docker-dev-horw/tdx-inno-ci-scala:0.0.1
1820
@@ -35,6 +37,11 @@ default:
3537
3638test :
3739 stage : test
40+ only :
41+ refs :
42+ - master
43+ - branches
44+ - merge_requests
3845 variables :
3946 DB_URL : " jdbc:mariadb://db:3306/ota_treehub"
4047 before_script :
@@ -47,13 +54,19 @@ test:
4754include :
4855 - project : rd/innovation/continuous-delivery/ci-container-build
4956 file : gitlab-ci-templates/jfrog-sbt-docker-publish.yaml
57+ - project : ' rd/platform/deploy-env'
58+ ref : master
59+ file : ' /gitlab/deploy-core-service.yml'
5060
5161build docker image :
5262 stage : build image
5363 only :
54- - master
64+ refs :
65+ - master
66+ - merge_requests
5567 extends : .jfrog-sbt-docker-publish
5668 variables :
5769 ARTIFACTORY_REPO : ota-docker-dev-horw
5870 SERVICE_NAME : treehub
5971
72+
You can’t perform that action at this time.
0 commit comments