hs: Get rid of duplicate hs_cell_introd_ack_status_t
[tor.git] / .gitlab-ci.yml
blobd2d0d55dd4e2d7699f6d56df49db45ad89cb83e9
1 before_script:
2     - apt-get update -qq
3     - apt-get upgrade -qy
5 build:
6   script:
7     - apt-get install -qy --fix-missing automake build-essential
8       libevent-dev libssl-dev zlib1g-dev
9       libseccomp-dev liblzma-dev libscrypt-dev
10     - ./autogen.sh
11     - ./configure --disable-asciidoc --enable-fatal-warnings
12       --disable-silent-rules
13     - make check || (e=$?; cat test-suite.log; exit $e)
14     - make install
16 update:
17   only:
18     - schedules
19   script: 
20     - "apt-get install -y --fix-missing git openssh-client"
21     
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.
32     - mkdir -p ~/.ssh
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
36     # instead.
37     - mkdir -p ~/.ssh
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"
42     - "mkdir tor"
43     - "cd tor" 
44     - git clone --bare https://git.torproject.org/tor.git
45     - git push --mirror git@oniongit.eu:network/tor.git