[tbb-bugs] #23688 [Applications/Tor Browser]: Add GitLab CI script

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Sep 29 10:43:04 UTC 2017


#23688: Add GitLab CI script
--------------------------------------+-----------------------------------
 Reporter:  krichter                  |          Owner:  tbb-team
     Type:  enhancement               |         Status:  needs_information
 Priority:  Medium                    |      Milestone:
Component:  Applications/Tor Browser  |        Version:
 Severity:  Normal                    |     Resolution:
 Keywords:                            |  Actual Points:
Parent ID:                            |         Points:
 Reviewer:                            |        Sponsor:
--------------------------------------+-----------------------------------

Comment (by krichter):

 Thank for you feedback.

 > the before_script is downloading some deb file and installing them
 without checking their checksum, so we don't really know what we are
 installing.

 I'll fix that if it come to that.

 > where is this gitlab-ci file going to be used? I think doing a full
 rebuild of tor-browser-bundle.git on each commit is going to use a lot of
 resources.

 It can be used in GitLab instance at https://oniongit.eu or you can mirror
 to gitlab.com. Where is the CI script for Tor being used which I linked
 above?

 I followed the [build
 instructions](https://trac.torproject.org/projects/tor/wiki/doc/TorBrowser/Hacking).
 A proper CI needs to run all of them on a bare system - reasonable
 compromises are possible of course. After you set up a CI infrastructure
 or bought a plan from a provider, I think resources no longer matter. Note
 that you can connect arbitrary machines as runners to GitLab, so
 trustworthy volunteers might donate CI resources.

 > why is the script first starting a build with LXC, and after doing that
 starting an other one in the vagrant directory?

 Aren't those the two different build systems and how one would use them -
 obviously not, but I never got so far, see e.g.
 https://gitlab.com/krichter/tor-browser-bundle/-/jobs/34423604 for the
 current build?

 > starting with version 7.5a5, we are now using rbm and tor-browser-
 build.git rather than gitian and tor-browser-bundle.git for new
 development.

 Same here, I think I never got the build past the downloading of
 dependencies. Maybe you can fix the checksum error shown in the linked
 GitLab CI log and notify me so that I can proceed with the tests.

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


More information about the tbb-bugs mailing list