Try to build front using docker runner instead of dind

merge-requests/154/head
Eliot Berriot 2017-06-25 17:55:07 +02:00
rodzic 385c7eb1fe
commit 3664f47aab
1 zmienionych plików z 5 dodań i 7 usunięć

Wyświetl plik

@ -1,5 +1,3 @@
image: docker:latest
stages: stages:
- build - build
- test - test
@ -18,11 +16,10 @@ test_api:
build_front: build_front:
stage: build stage: build
before_script: image: node:6-alpine
- docker-compose -f dev.yml run front rm dist/*
- docker-compose -f dev.yml build front
script: script:
- docker-compose -f dev.yml run front npm run build - npm install
- npm run build
artifacts: artifacts:
paths: paths:
- front/dist - front/dist
@ -30,7 +27,8 @@ build_front:
- master - master
- develop - develop
tags: tags:
- dind - docker
# When using dind, it's wise to use the overlayfs driver for # When using dind, it's wise to use the overlayfs driver for
# improved performance. # improved performance.
# variables: # variables: