image: ubuntu:18.04 services: - docker:dind variables: GIT_SUBMODULE_STRATEGY: "recursive" MISTBORN_DEFAULT_PASSWORD: "default_password" stages: - test #include: # - template: Code-Quality.gitlab-ci.yml #install: # stage: test # image: ubuntu:18.04 # variables: # MISTBORN_TEST_SKIP_IPTABLES: "true" # before_script: # - apt-get update # - apt-get install -y sudo git # script: # - echo "MISTBORN_TEST_SKIP_IPTABLES:" # - echo $MISTBORN_TEST_SKIP_IPTABLES # - scripts/install.sh docker_build: stage: test before_script: - apk add docker-compose - docker info - docker-compose --version script: - 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