From 0a8a2d6380b4f37515d1cfa60bd5d376356b42fa Mon Sep 17 00:00:00 2001 From: Millicent Billette <git@1000i100.fr> Date: Tue, 23 Oct 2018 16:02:09 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2ead9b30..7dc493c0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,11 +9,11 @@ fast-build: before_script: - pwd - ls -la - - ls -la /cache + - ls -la /customCache - ls -la / - - mv /cache/node_modules /build/ - - mv /cache/www /build/ - - mv /cache/hooks /build/ + - mv /customCache/node_modules /build/ + - mv /customCache/www /build/ + - mv /customCache/hooks /build/ - ls -la script: - node ./node_modules/gulp/bin/gulp build:web @@ -52,7 +52,7 @@ docker-for-fast-build: - docker:dind script: - echo 'FROM node:5' > Dockerfile - - echo 'WORKDIR /cache' >> Dockerfile + - echo 'WORKDIR /customCache' >> Dockerfile - echo 'COPY ./ ./' >> Dockerfile - echo 'RUN du -s `find . -maxdepth 1 | egrep -v "^\.$"`>/before.txt' >> Dockerfile - echo 'RUN npm install' >> Dockerfile -- GitLab