phase1: allow restricting builders to tag builds only
[buildbot.git] / phase1 / config.ini.example
index 703280622a6d4a850beaa522ffebe6d02cb34966..5ae45fa1d1aab93df2feb4b6a5e400d2eed1aa92 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,27 +19,52 @@ password = example
 
 [repo]
 url = https://git.openwrt.org/openwrt/openwrt.git
-branch = master
 
-[rsync]
+# 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-----
+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
 
-[gpg]
-home = ~/.gnupg
-keyid = 626471F1
-passfile = ./gpg-passphrase.txt
-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