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
delft-machine-learning
docker-env
Commits
e076ebe8
Commit
e076ebe8
authored
Jul 24, 2018
by
Joseph Weston
Browse files
remove cloning to gitlab
parent
06f82432
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
deleted
100644 → 0
View file @
06f82432
stages
:
-
mirror
mirror repository
:
stage
:
mirror
allow_failure
:
true
variables
:
REPO
:
"
git@github.com:quantum-tinkerer/research-docker.git"
before_script
:
-
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 ~/.ssh
script
:
-
ORIGIN_URL=$(git config --get remote.origin.url)
-
cd $(mktemp -d); git clone --bare $ORIGIN_URL .
-
git push --mirror $REPO
Write
Preview
Supports
Markdown
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