Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlasvoayages.com
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nabil el mahiri
atlasvoayages.com
Commits
e799d578
Commit
e799d578
authored
Mar 05, 2019
by
nabil el mahiri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
using npm login
parent
107fdeb3
Pipeline
#359
failed with stages
in 1 minute 55 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
.gitlab-ci.yml
+1
-1
docker/Dockerfile
+5
-6
No files found.
.gitlab-ci.yml
View file @
e799d578
...
@@ -7,7 +7,7 @@ variables:
...
@@ -7,7 +7,7 @@ variables:
CI_DEBUG_TRACE
:
"
true"
CI_DEBUG_TRACE
:
"
true"
before_script
:
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
-
docker info
-
echo $CI_BUILD_REF
-
echo $CI_BUILD_REF
-
echo $CI_PROJECT_DIR
-
echo $CI_PROJECT_DIR
...
...
docker/Dockerfile
View file @
e799d578
# Stage 0, "build-stage", based on Node.js, to build and compile Angular
# 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
&&
\
RUN
DEBIAN_FRONTEND
=
noninteractive apt-get update
&&
\
DEBIAN_FRONTEND
=
noninteractive apt-get
-y
dist-upgrade
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
...
@@ -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
mkdir
-p
/data/db
RUN
mongod
--fork
--syslog
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 --out ./
# sudo ./mongodb/bin/mongodump --host localhost --port 27017 --db atlasvoyages-dev --gzip --archive=atlasvoyages-dev.archive
# 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/
COPY
package*.json /atlasvoyages/
...
@@ -69,9 +68,9 @@ RUN mkdir -p /root/.ssh/ && \
...
@@ -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 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 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"
\;
\
RUN
find ./node_modules
-maxdepth
1
-name
'pine*'
-type
d
\(
!
-name
.
\)
-exec
bash
-c
"cd '{}' && npm i --unsafe-perm=true && grunt build:dist"
\;
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment