File: README.md

package info (click to toggle)
buildbot 4.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 21,080 kB
  • sloc: python: 174,183; sh: 1,204; makefile: 332; javascript: 119; xml: 16
file content (27 lines) | stat: -rw-r--r-- 619 bytes parent folder | download | duplicates (2)
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
This docker-compose environment show how to setup a buildbot in multimaster mode with docker and ha-proxy


The network schema is as follow:


           [ web users]
                |  |
    ------------------------
    [workers]   | /
         \|     |/
       [  HAPROXY  ]
         /     \
        /       \
    [master1]..[masterN]
          |  \    / |
          |   \ /   |
          |   /\    |
    [ postgre]  [crossbar]


The same haproxy serves as load balancing for both web and worker protocols

You can run this by using for example 4 masters

    docker-compose up -d
    docker-compose scale buildbot=4