diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2ead9b30bfb21d543559e178961395b286ea06f0..7dc493c009400bfc22cb00b7a255c66912089567 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