From 29423d6f7b3dc49ef899bf3e410a34d20fdb0637 Mon Sep 17 00:00:00 2001 From: Steven Foerster Date: Sat, 21 Mar 2020 00:32:43 -0400 Subject: [PATCH] ubuntu --- .gitlab-ci.yml | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 87ce653..959b6c3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: docker:latest +image: ubuntu:18.04 services: - docker:dind @@ -13,27 +13,27 @@ stages: #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: +#install: # stage: test +# image: ubuntu:18.04 +# variables: +# MISTBORN_TEST_SKIP_IPTABLES: "true" # before_script: -# - apk add docker-compose -# - docker info -# - docker-compose --version +# - apt-get update +# - apt-get install -y sudo git # 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 +# - 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