Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Viacheslav Ostroukh
research-docker
Commits
a2e94c74
Commit
a2e94c74
authored
Apr 06, 2018
by
Rafal Skolasinski
Browse files
revert
ba8bac95
as now image is run as Jovyan again in the CI
parent
67cf5064
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
a2e94c74
...
...
@@ -8,11 +8,11 @@ mirror repository:
variables
:
REPO
:
"
git@github.com:quantum-tinkerer/research-docker.git"
before_script
:
-
mkdir
/root
/.ssh && chmod 700
/root
/.ssh
-
ssh-keyscan -t rsa github.com >>
/root
/.ssh/known_hosts
-
echo "$DEPLOY_KEY" >
/root
/.ssh/id_rsa && chmod 600
/root
/.ssh/id_rsa
-
mkdir
~
/.ssh && chmod 700
~
/.ssh
-
ssh-keyscan -t rsa github.com >>
~
/.ssh/known_hosts
-
echo "$DEPLOY_KEY" >
~
/.ssh/id_rsa && chmod 600
~
/.ssh/id_rsa
after_script
:
-
rm -rf
/root
/.ssh
-
rm -rf
~
/.ssh
script
:
-
ORIGIN_URL=$(git config --get remote.origin.url)
-
cd $(mktemp -d); git clone --bare $ORIGIN_URL .
...
...
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