Browse Source

ubuntu

merge-requests/8/head
Steven Foerster 6 years ago
parent
commit
29423d6f7b
  1. 42
      .gitlab-ci.yml

42
.gitlab-ci.yml

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
image: docker:latest
image: ubuntu:18.04
services:
- docker:dind
@ -13,27 +13,27 @@ stages: @@ -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

Loading…
Cancel
Save