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
1a75b0c1
Commit
1a75b0c1
authored
Mar 06, 2019
by
nabil el mahiri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
using npm login
parent
2fb7145c
Pipeline
#458
canceled with stages
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
.gitlab-ci.yml
+1
-1
docker/Dockerfile
+1
-1
No files found.
.gitlab-ci.yml
View file @
1a75b0c1
...
...
@@ -34,7 +34,7 @@ build:
# - mkdir -p ~/.ssh
# - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
-
chmod +x sh/run.sh
-
docker build --build-arg SSH_PRIVATE_KEY="$SSH_PRIVATE_KEY" --build-arg CI_JOB_TOKEN="${CI_JOB_TOKEN}" -f docker/Dockerfile -t atlasvoyages-docker:prod .
-
docker build --build-arg SSH_PRIVATE_KEY="$SSH_PRIVATE_KEY" --build-arg CI_JOB_TOKEN="${CI_JOB_TOKEN}" -
-build-arg DEPLOY_TOKEN= "$DEPLOY_TOKEN" -
f docker/Dockerfile -t atlasvoyages-docker:prod .
-
sh sh/clean.sh
deploy
:
...
...
docker/Dockerfile
View file @
1a75b0c1
...
...
@@ -81,7 +81,7 @@ WORKDIR /atlasvoyages
# RUN expect -f ./sh/npm_login_expect nabilelmahiri arigatou@65 "nabil.elmahiri@fractalite.com"
COPY
package*.json /atlasvoyages/
RUN
sed
-i
's/git+ssh:\/\/git@labs.atlasvoyages.com:/git+https:\/\/
oauth2:'
$BUILD
_TOKEN
'@glabs.atlasvoyages.com\//'
./package.json
RUN
sed
-i
's/git+ssh:\/\/git@labs.atlasvoyages.com:/git+https:\/\/
npm:'
$DEPLOY
_TOKEN
'@glabs.atlasvoyages.com\//'
./package.json
RUN
npm install
--unsafe-perm
=
true
COPY
./ /atlasvoyages/
...
...
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