summaryrefslogtreecommitdiff
path: root/README.rst
blob: 061796a1096ac3318b6e0f6ddfc886fd1341bea0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Dependencies
------------
See `Bitmask Client documentation <https://leap.se/en/docs/client/dev-environment#install-dependencies>`_

- xvfb
- qmake-qt4
- cmake

Setting up a slave
------------------

- Please send an email to buildbot-master@leap.se requesting a
  password, and stating which OS are you running (GNU/Linux, Mac OS X,
  Windows) and which version.
- In a nutshell:
  - If you are going to run the slave in a GNU/Linux or a Mac
    operating system, then what you need to do is `this
    <http://trac.buildbot.net/wiki/DownloadInstall#SlaveinVirtualenv>`_
  - If you're going to run it in a Microsft Windows system, then `go
    here <http://trac.buildbot.net/wiki/RunningBuildbotOnWindows>`_

- For more information, and since we're using the latest version of
  Buildbot, please read `creating a slave
  <http://docs.buildbot.net/latest/manual/installation.html#creating-a-buildslave>`_

Workflow
--------

- Set up a feature branch and push modifications to it.
- Fetch your feature branch in lizard:/home/buildbot/buildbot-bitmask.
- Restart the buildbot in the virtualenv::

    root@lizard:/home/buildbot/buildbot-bitmask# source sandbox/bin/activate
    (sandbox)root@lizard:/home/buildbot/buildbot-bitmask# buildbot restart master

- Once the code is tested in the feature branch it should be rebased/squashed and
  merged into the master branch.
- With the code merged into the master branch restart the buildbot using this branch.