[tor-commits] [tor/master] Fix yml

nickm at torproject.org nickm at torproject.org
Tue Sep 19 17:44:02 UTC 2017


commit 086a6702c45840ab835aa5435653ae4fc2991f45
Author: hiromipaw <hiro at torproject.org>
Date:   Fri Sep 1 18:56:58 2017 +0200

    Fix yml
---
 .gitlab-ci.yml | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d2634b4b8..2ab8800cd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,7 @@
 before_script:
     - "apt-get update -qq"
     - "apt-get upgrade -y"
-    
+
 build:
   script:
     - "apt-get install -y --fix-missing git openssh-client asciidoc wget gcc g++ automake cmake make libglib2.0 libglib2.0-dev libigraph0 libigraph0-dev libevent-dev openssl libssl-dev"
@@ -12,7 +12,7 @@ build:
 update:
   script: 
     - "apt-get install -y --fix-missing git openssh-client"
-    -
+    
     # Run ssh-agent (inside the build environment)
     - eval $(ssh-agent -s)
 
@@ -31,10 +31,9 @@ update:
     - mkdir -p ~/.ssh
     - '[[ -f /.dockerenv ]] && echo "$SSH_SERVER_HOSTKEYS" > ~/.ssh/known_hosts'
     - echo "merging from torgit"
-    - "cd tor" 
-    - "mkdir tor"
-    - git clone --bare https://git.torproject.org/tor.git
-    - git checkout master
     - git config --global user.email "labadmin at oniongit.eu"
     - git config --global user.name "gitadmin"
+    - "mkdir tor"
+    - "cd tor" 
+    - git clone --bare https://git.torproject.org/tor.git
     - git push --mirror git at oniongit.eu:hiro/tor.git
\ No newline at end of file





More information about the tor-commits mailing list