Skip to content
Snippets Groups Projects
Commit 193cc42a authored by Heiko Wolf's avatar Heiko Wolf
Browse files

remove .gitlab-ci.yml

parent 07d80155
No related merge requests found
stages:
- mirror
gitolite_mirror:
stage: mirror
image:
name: alpine/git
entrypoint: [ "/bin/sh", "-c" ]
variables:
GIT_STRATEGY: clone
GIT_CHECKOUT: "false"
script: |
mkdir -p ~/.ssh
echo "${GITLAB_MIRROR_SERVICE}" > ~/.ssh/id_ecdsa
echo "${GITOLITE_SSH_FINGERPRINT}" > ~/.ssh/known_hosts
chmod go-rw -R ~/.ssh
cd /tmp
git clone --mirror ${CI_REPOSITORY_URL} project
cd project
git remote add gitolite git@git.ub.intern.uni-leipzig.de:gitlab-vufind.git
git push --mirror gitolite
tags: [docker]
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment