image: ubuntu:18.04 services: - docker:dind variables: GIT_SUBMODULE_STRATEGY: "recursive" MISTBORN_DEFAULT_PASSWORD: "default_password" before_script: #- apk add docker-compose - apt-get update - apt-get - apt install -y python python3-pip libffi-dev python-backports.ssl-match-hostname - pip3 install docker-compose - docker info - docker-compose --version 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 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