2021-08-06 01:28:10 +02:00
|
|
|
#include:
|
|
|
|
# - local: 'ci_templates/.cic-template.yml'
|
|
|
|
# - local: 'apps/contract-migration/.gitlab-ci.yml'
|
|
|
|
# - local: 'apps/cic-eth/.gitlab-ci.yml'
|
|
|
|
# - local: 'apps/cic-ussd/.gitlab-ci.yml'
|
|
|
|
# - local: 'apps/cic-notify/.gitlab-ci.yml'
|
|
|
|
# - local: 'apps/cic-meta/.gitlab-ci.yml'
|
|
|
|
# - local: 'apps/cic-cache/.gitlab-ci.yml'
|
|
|
|
# - local: 'apps/data-seeding/.gitlab-ci.yml'
|
|
|
|
|
|
|
|
image: tiangolo/docker-with-compose
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
|
2021-01-24 21:16:22 +01:00
|
|
|
|
|
|
|
stages:
|
|
|
|
- build
|
2021-08-06 01:28:10 +02:00
|
|
|
- deploy
|
|
|
|
|
|
|
|
build-prod:
|
2021-08-06 01:39:48 +02:00
|
|
|
tags:
|
|
|
|
- integration
|
2021-08-06 01:28:10 +02:00
|
|
|
stage: build
|
|
|
|
script:
|
|
|
|
- docker-compose build
|
|
|
|
only:
|
|
|
|
- bvander/integration-tests-on-docker
|
|
|
|
|
2021-08-06 01:42:23 +02:00
|
|
|
deploy-prod:
|
2021-08-06 01:39:48 +02:00
|
|
|
tags:
|
|
|
|
- integration
|
2021-08-06 01:28:10 +02:00
|
|
|
stage: deploy
|
|
|
|
script:
|
|
|
|
- docker stack deploy -c docker-compose.yml --with-registry-auth my-stack
|
|
|
|
only:
|
|
|
|
- bvander/integration-tests-on-docker
|
|
|
|
|