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
bfc3065a
Commit
bfc3065a
authored
6 years ago
by
nabil el mahiri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
using npm login
parent
69148b4d
Pipeline
#350
failed with stages
in 2 minutes 20 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
.gitlab-ci.yml
+1
-1
docker/Dockerfile
+2
-4
No files found.
.gitlab-ci.yml
View file @
bfc3065a
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
docker/Dockerfile
View file @
bfc3065a
...
...
@@ -53,9 +53,6 @@ COPY package*.json /atlasvoyages/
# Take an SSH key as a build argument.
ARG
SSH_PRIVATE_KEY
# Install dependencies required to git clone.
RUN
apt-get
-y
install openssh-server
# 1. Create the SSH directory.
# 2. Populate the private key file.
# 3. Set the required permissions.
...
...
@@ -63,7 +60,8 @@ RUN apt-get -y install openssh-server
RUN
mkdir
-p
/root/.ssh/
&&
\
echo
"
$SSH_PRIVATE_KEY
"
>
/root/.ssh/id_rsa
&&
\
chmod
-R
600 /root/.ssh/
&&
\
ssh-keyscan
-t
rsa labs.atlasvoyages.com
>>
~/.ssh/known_hosts
ssh-keyscan labs.atlasvoyages.com
>>
/root/.ssh/known_hosts
RUN
git clone git@labs.atlasvoyages.com:pine/theme-atlasvoyages.git
-b
0.3-beta-v1
...
...
This diff is collapsed.
Click to expand it.
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