|
|
|
@ -5,18 +5,19 @@ services: |
|
|
|
|
|
|
|
|
|
|
|
variables: |
|
|
|
variables: |
|
|
|
GIT_SUBMODULE_STRATEGY: "recursive" |
|
|
|
GIT_SUBMODULE_STRATEGY: "recursive" |
|
|
|
|
|
|
|
MISTBORN_DEFAULT_PASSWORD: "default_password" |
|
|
|
before_script: |
|
|
|
|
|
|
|
- apk add docker-compose |
|
|
|
stages: |
|
|
|
- docker info |
|
|
|
- test |
|
|
|
- docker-compose --version |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
include: |
|
|
|
include: |
|
|
|
- template: Code-Quality.gitlab-ci.yml |
|
|
|
- template: Code-Quality.gitlab-ci.yml |
|
|
|
|
|
|
|
|
|
|
|
test: |
|
|
|
docker_build: |
|
|
|
stage: test |
|
|
|
stage: test |
|
|
|
script: |
|
|
|
script: |
|
|
|
- scripts/subinstallers/gen_prod_env.sh "default_password" |
|
|
|
- apk add docker-compose |
|
|
|
- docker-compose -f base.yml build |
|
|
|
- scripts/subinstallers/gen_prod_env.sh "$MISTBORN_DEFAULT_PASSWORD" |
|
|
|
|
|
|
|
- cp compose/production/traefik/traefik.toml.template compose/production/traefik/traefik.toml |
|
|
|
|
|
|
|
- docker-compose -f base.yml build |
|
|
|
|
|
|
|
|
|
|
|
|