[tor-bugs] #22891 [Core Tor/Tor]: Add GitLab CI configs

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Aug 17 11:24:06 UTC 2017


#22891: Add GitLab CI configs
-------------------------------------------------+-------------------------
 Reporter:  catalyst                             |          Owner:  (none)
     Type:  defect                               |         Status:  new
 Priority:  High                                 |      Milestone:  Tor:
                                                 |  0.3.2.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  ci continuous-integration testing    |  Actual Points:
  best-practice unit-testing new-developers      |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by hiro):

 Hi,

 I am running a test setup for gitlab-ci w/ the tor repository. You can
 have a look at it here: https://oniongit.eu/hiro/tor/pipelines

 Runs two task every time something is pushed to master or a branch. The
 first task test and build the branch. The second task merge updates from
 torgit.

 Here is the gitlab-ci.yml that I am running:
 https://oniongit.eu/hiro/tor/blob/master/.gitlab-ci.yml

 It's just a test, so I thought it was better to show it to you instead of
 sending over a merge request. The reason behind this is that you might
 want to customise your tasks differently and I only wanted to show what it
 can be done.

 To sync the oniongit repo with the tor git repo you need to setup a key in
 oniongit w write access to the oniongit repo (so that it can push
 changes).

 I can setup a number of shared or dedicated runners that can be used to
 build and test the repositories and branches that you need.

 Let me know what you think.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22891#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list