7 - apt-get install -qy --fix-missing automake build-essential
8 libevent-dev libssl-dev zlib1g-dev
9 libseccomp-dev liblzma-dev libscrypt-dev
11 - ./configure --disable-asciidoc --enable-fatal-warnings
12 --disable-silent-rules
13 - make check || (e=$?; cat test-suite.log; exit $e)
20 - "apt-get install -y --fix-missing git openssh-client"
22 # Run ssh-agent (inside the build environment)
23 - eval $(ssh-agent -s)
25 # Add the SSH key stored in SSH_PRIVATE_KEY variable to the agent store
26 - ssh-add <(echo "$DEPLOY_KEY")
28 # For Docker builds disable host key checking. Be aware that by adding that
29 # you are susceptible to man-in-the-middle attacks.
30 # WARNING: Use this only with the Docker executor, if you use it with shell
31 # you will overwrite your user's SSH config.
33 - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
34 # In order to properly check the server's host key, assuming you created the
35 # SSH_SERVER_HOSTKEYS variable previously, uncomment the following two lines
38 - '[[ -f /.dockerenv ]] && echo "$SSH_SERVER_HOSTKEYS" > ~/.ssh/known_hosts'
39 - echo "merging from torgit"
40 - git config --global user.email "labadmin@oniongit.eu"
41 - git config --global user.name "gitadmin"
44 - git clone --bare https://git.torproject.org/tor.git
45 - git push --mirror git@oniongit.eu:network/tor.git