Commit e799d578 by nabil el mahiri

using npm login

parent 107fdeb3
Pipeline #359 failed with stages
in 1 minute 55 seconds
......@@ -7,7 +7,7 @@ variables:
CI_DEBUG_TRACE: "true"
before_script:
- git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@labs.atlasvoyages.com/".insteadOf "git@labs.atlasvoyages.com:"
# - git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@labs.atlasvoyages.com/".insteadOf "git@labs.atlasvoyages.com:"
- docker info
- echo $CI_BUILD_REF
- echo $CI_PROJECT_DIR
......
# Stage 0, "build-stage", based on Node.js, to build and compile Angular
FROM node:6.11.1 as build-stage
FROM ubuntu:latest as build-stage
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade
......@@ -29,15 +29,14 @@ RUN apt-get update && apt-get -yq install mongodb-org && apt-get -yq install red
RUN mkdir -p /data/db
RUN mongod --fork --syslog
RUN apt-get -yq install expect-dev
# RUN apt-get -yq install expect-dev
# sudo ./mongodb/bin/mongodump --host localhost --port 27017 --db atlasvoyages-dev --out ./
# sudo ./mongodb/bin/mongodump --host localhost --port 27017 --db atlasvoyages-dev --gzip --archive=atlasvoyages-dev.archive
COPY ./ /atlasvoyages/
WORKDIR /atlasvoyages
WORKDIR /atlasvoyages
COPY package*.json /atlasvoyages/
......@@ -69,9 +68,9 @@ RUN mkdir -p /root/.ssh/ && \
# RUN git clone git@labs.atlasvoyages.com:pine/theme-atlasvoyages.git -b 0.3-beta-v1
RUN expect -f ./sh/npm_login_expect nabilelmahiri arigatou@65 "nabil.elmahiri@fractalite.com" && npm i -S git+http://nabilelmahiri@labs.atlasvoyages.com/pine/pine-express.git#0.3-dev
# RUN expect -f ./sh/npm_login_expect nabilelmahiri arigatou@65 "nabil.elmahiri@fractalite.com" && npm i -S git+http://nabilelmahiri@labs.atlasvoyages.com/pine/pine-express.git#0.3-dev
COPY ./ /atlasvoyages/
# RUN mongorestore --host localhost --port 27017 --gzip --archive=atlasvoyages-dev.archive
RUN find ./node_modules -maxdepth 1 -name 'pine*' -type d \( ! -name . \) -exec bash -c "cd '{}' && npm i --unsafe-perm=true && grunt build:dist" \; \
......
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