phase1: make 'rsync -4' worker-configurable
[buildbot.git] / phase1 / config.ini.example
index c06edbd626a857a586992787ac3f2d0a2e2c851b..d7262bd0bbd400610360427fec2a42290f88c171 100644 (file)
@@ -1,24 +1,14 @@
 [general]
 title = OpenWrt Project
 title_url = http://openwrt.org/
+workdir = /buildbot
+
+[phase1]
 buildbot_url = http://phase1.builds.openwrt.org/
-homedir = .
-expire = 1209600
+status_bind = tcp:8010:interface=127.0.0.1
+status_user = example
+status_password = example
 port = 9989
-cc_version = le 4.9
-git_ssh = true
-git_ssh_key = -----BEGIN RSA PRIVATE KEY-----
-       MIIEpAIBAAKCAQEAuCJwo6OmrRDxcGfsMgBhq0vdzp2ZIdqnedFH8u6tVYLt9WDU
-       ...
-       mHzkh8Uv4OAWTjiLGycbXa0/31hu9PCeNzYmjjrp8tcGjsiJJFxydgS+wc0i2UPV
-       nSI+JbmAAF9vw6gj2i+Hqx7UloRd0tEv/leX354T5lO06LMiNhvN9g==
-       -----END RSA PRIVATE KEY-----
-
-
-[status]
-bind = tcp:8010:interface=127.0.0.1
-user = example
-password = example
 
 [irc]
 host = irc.freenode.net
@@ -29,36 +19,54 @@ password = example
 
 [repo]
 url = https://git.openwrt.org/openwrt/openwrt.git
-branch = master
 
-[rsync]
-binary_url = user@example.org::upload-binary
-binary_password = example
-source_url = user@example.org::upload-sources
-source_password = example2
-
-[gpg]
-key = -----BEGIN PGP PRIVATE KEY BLOCK-----
+# branches should be listed by decreasing build priority order, typically oldest branch first (less build intensive)
+# branch section name should match branch "name" option until signall.sh is reworked
+[branch openwrt-21.02]
+name = openwrt-21.02
+gpg_key = -----BEGIN PGP PRIVATE KEY BLOCK-----
        Version: GnuPG v2
 
        mQGNBFX4kxkBDACcTUVUl6zbn4r9tDap0/aCpcK9MO+HPatS7p2aBGY51kh78Ixr
        ...
        HwHLaFTMvYFY7WJDwA==
        -----END PGP PRIVATE KEY BLOCK-----
-passphrase = secret password
-comment = Unattended build signature
+gpg_passphrase = secret password
+gpg_comment = Unattended build signature
+usign_key = RWRCSwAAA...OihABfuLvGRVfVaJ6wLf0=
+usign_comment = Unattended build signature
+binary_url = user@example.org::upload-binary
+binary_password = example
+source_url = user@example.org::upload-sources
+source_password = example2
+config_seed = # Seed configuration
+       CONFIG_BUILDBOT=y
+       CONFIG_DEVEL=y
+       CONFIG_CCACHE=n
+       CONFIG_KERNEL_KALLSYMS=y
+       CONFIG_AUTOREMOVE=y
+
+[branch openwrt-22.03]
+name = openwrt-22.03
 
-[usign]
-key = RWRCSwAAA...OihABfuLvGRVfVaJ6wLf0=
-comment = Unattended build signature
+[branch master]
+name = master
 
-[slave 1]
-name = example-slave-1
+[worker 1]
+phase = 1
+name = example-worker-1
 password = example
-builds = 3
 
-[slave 2]
-name = example-slave-2
+[worker 2]
+phase = 1
+name = example-worker-2
 password = example2
-builds = 1
-cleanup = 1
+# for workers which share a common pipe, ul/dl resource-access locks can be defined.
+# if the identifier is the same for both ul/dl, then all ul/dl operations will be serialized between workers having the same id.
+# if the identifier differs for ul and dl, then dl operations will be serialized independently of ul operations.
+ul_lock = host1
+dl_lock = host1
+# tag_only workers will only build forced tag buildrequests (i.e. release builds)
+tag_only = yes
+# if rsync operations must prefer ipv4 ('rsync -4'), set the following
+rsync_ipv4 = yes