mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 05:03:43 +01:00
Modify gitlab-ci for mirroring
This commit is contained in:
parent
40288fd772
commit
ef03aa3f8e
@ -30,11 +30,9 @@ build:
|
||||
update:
|
||||
script:
|
||||
- echo "merging from torgit"
|
||||
- git clone git@oniongit.eu:hiro/tor.git
|
||||
- "cd tor"
|
||||
- git remote add upstream https://git.torproject.org/tor.git
|
||||
- git clone --bare https://git.torproject.org/tor.git
|
||||
- "cd tor"
|
||||
- git checkout master
|
||||
- git config --global user.email "labadmin@oniongit.eu"
|
||||
- git config --global user.name "gitadmin"
|
||||
- git pull -Xtheirs upstream master
|
||||
- git push origin master
|
||||
- git push --mirror git@oniongit.eu:hiro/tor.git
|
||||
|
Loading…
Reference in New Issue
Block a user