7 - "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"
8 - "sh autogen.sh && ./configure && make"
14 - "apt-get install -y --fix-missing git openssh-client"
16 # Run ssh-agent (inside the build environment)
17 - eval $(ssh-agent -s)
19 # Add the SSH key stored in SSH_PRIVATE_KEY variable to the agent store
20 - ssh-add <(echo "$DEPLOY_KEY")
22 # For Docker builds disable host key checking. Be aware that by adding that
23 # you are suspectible to man-in-the-middle attacks.
24 # WARNING: Use this only with the Docker executor, if you use it with shell
25 # you will overwrite your user's SSH config.
27 - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
28 # In order to properly check the server's host key, assuming you created the
29 # SSH_SERVER_HOSTKEYS variable previously, uncomment the following two lines
32 - '[[ -f /.dockerenv ]] && echo "$SSH_SERVER_HOSTKEYS" > ~/.ssh/known_hosts'
33 - echo "merging from torgit"
34 - git config --global user.email "labadmin@oniongit.eu"
35 - git config --global user.name "gitadmin"
38 - git clone --bare https://git.torproject.org/tor.git
39 - git push --mirror git@oniongit.eu:network/tor.git