Skip to content
Snippets Groups Projects
Commit 0a8a2d63 authored by Millicent Billette's avatar Millicent Billette
Browse files

Update .gitlab-ci.yml

parent ff1b7b67
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment