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 @@
image: docker:latest image: ubuntu:18.04
services: services:
- docker:dind - docker:dind
@ -13,27 +13,27 @@ stages:
#include: #include:
# - template: Code-Quality.gitlab-ci.yml # - template: Code-Quality.gitlab-ci.yml
install: #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 # stage: test
# image: ubuntu:18.04
# variables:
# MISTBORN_TEST_SKIP_IPTABLES: "true"
# before_script: # before_script:
# - apk add docker-compose # - apt-get update
# - docker info # - apt-get install -y sudo git
# - docker-compose --version
# script: # script:
# - scripts/subinstallers/gen_prod_env.sh "$MISTBORN_DEFAULT_PASSWORD" # - echo "MISTBORN_TEST_SKIP_IPTABLES:"
# - cp compose/production/traefik/traefik.toml.template compose/production/traefik/traefik.toml # - echo $MISTBORN_TEST_SKIP_IPTABLES
# - docker-compose -f base.yml build # - 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