1
0
mirror of https://github.com/raseels-repos/golang-saas-starter-kit.git synced 2025-08-10 22:41:25 +02:00

gitlab ci testing nested variables

This commit is contained in:
Lee Brown
2019-07-14 12:53:36 -08:00
parent 95e0d28c3b
commit 2c340999a8
2 changed files with 25 additions and 3 deletions

View File

@@ -3,6 +3,10 @@ image: geeksaccelerator/docker-library:golang1.12-docker
services:
- docker:dind
variables:
NO_BUILD: 'true'
NO_DEPLOY: 'true'
before_script:
- 'cd ./tools/devops && make install && cd ../../'
- 'cd ./tools/schema && make install && cd ../../'
@@ -109,12 +113,12 @@ cache:
HOST_NAMES: 'www.eproc.tech, api.eproc.tech'
S3_BUCKET_PRIVATE: 'saas-starter-kit-private'
S3_BUCKET_PUBLIC: 'saas-starter-kit-public'
NO_BUILD: 0
NO_DEPLOY: 1
AWS_USE_ROLE: 1
AWS_USE_ROLE: 'true'
webapi:build:dev:
<<: *deploy_dev_webapi_tmpl
stage: build:dev
variables:
NO_BUILD: 'false'
only:
- master
- dev
@@ -122,6 +126,8 @@ webapi:build:dev:
webapi:deploy:dev:
<<: *deploy_dev_webapi_tmpl
stage: deploy:dev
variables:
NO_DEPLOY: 'false'
dependencies:
- 'webapi:build:dev'
# - 'db:migrate:dev'