Commit 08d44803 by chahir

see job

parent be63581e
Pipeline #541 failed with stages
in 4 seconds
......@@ -93,7 +93,7 @@ COPY package*.json /atlasvoyages/
# RUN include deploy token in gitlab urls in each of the modules
RUN sed -i 's/git+ssh:\/\/git@labs.atlasvoyages.com:/git+http:\/\/gitlab-ci-token:'$DEPLOY_TOKEN'@labs.atlasvoyages.com\//' ./package.json
#RUN npm install --unsafe-perm=true
RUN npm install --unsafe-perm=true
# hide deploy token
RUN sed -i 's/git+ssh:\/\/git@labs.atlasvoyages.com:/git+http:\/\/gitlab-ci-token:xxxxxxxxx@labs.atlasvoyages.com\//' ./package.json
......@@ -106,13 +106,13 @@ RUN chown -R www-data:www-data /atlasvoyages/apps
# restore mongo db database
# RUN mongorestore --host localhost --port 27017 --gzip --archive=atlasvoyages-dev.archive
RUN echo '\n----------------location1----------' | pwd && mkdir ./node_modules
RUN find ./node_modules -maxdepth 1 -name "pine*" -type d \( ! -name . \) -exec bash -c "cd '{}' && npm i --unsafe-perm=true && grunt build:dist --force" \; && \
find ./node_modules -maxdepth 1 -name "hermes*" -type d \( ! -name . \) -exec bash -c "cd '{}' && npm i --unsafe-perm=true && grunt build:dist --force" \; && \
find ./node_modules -maxdepth 1 -name "theme-atlasvoyages*" -type d \( ! -name . \) -exec bash -c "cd '{}' && npm i --unsafe-perm=true && grunt build:dist --force" \;
RUN echo '\n----------------location2----------' | pwd && ls -la && npm install
RUN echo '\n----------------location2----------' | pwd && ls -la
RUN echo '\n' | grunt pine:setup
# RUN tree /atlasvoyages/apps/atlas-voyages/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment