phase1,phase2: s/master/main for phase{1,2}
[buildbot.git] / phase2 / config.ini.example
index 9fee5148d16fb65caae92007db9f7838528756fb..ec0e6dbfc355cec938cc05867d4ac490de261fa4 100644 (file)
@@ -1,36 +1,60 @@
 [general]
-title = LEDE Project
-title_url = http://lede-project.org/
-buildbot_url = http://phase2.builds.lede-project.org/
-homedir = ../phase1
-port = 9990
+title = OpenWrt Project
+title_url = http://openwrt.org/
+workdir = /buildbot
 
-[status]
-bind = tcp:8011:interface=127.0.0.1
-user = example
-password = example
+[phase2]
+buildbot_url = http://phase2.builds.openwrt.org/
+status_bind = tcp:8011:interface=127.0.0.1
+status_user = example
+status_password = example
+port = 9990
+persistent = false
+git_ssh = true
+git_ssh_key = -----BEGIN RSA PRIVATE KEY-----
+       MIIEpAIBAAKCAQEAuCJwo6OmrRDxcGfsMgBhq0vdzp2ZIdqnedFH8u6tVYLt9WDU
+       ...
+       mHzkh8Uv4OAWTjiLGycbXa0/31hu9PCeNzYmjjrp8tcGjsiJJFxydgS+wc0i2UPV
+       nSI+JbmAAF9vw6gj2i+Hqx7UloRd0tEv/leX354T5lO06LMiNhvN9g==
+       -----END RSA PRIVATE KEY-----
 
 [repo]
-url = https://git.lede-project.org/source.git
+url = https://git.openwrt.org/openwrt/openwrt.git
+branch = main
 
 [rsync]
 binary_url = user@example.org::upload-packages
 binary_password = example
 source_url = user@example.org::upload-sources
 source_password = example2
+sdk_url = user@example.org::download-binary
+sdk_password = example3
+sdk_pattern = openwrt-sdk-*.tar.*
 
 [gpg]
-keyid = 626471F1
-passfile = ./gpg-passphrase.txt
+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
+
+[usign]
+key = RWRCSwAAA...OihABfuLvGRVfVaJ6wLf0=
 comment = Unattended build signature
 
-[slave 1]
-name = slave-example-1
+[worker 1]
+phase = 2
+name = worker-example-1
 password = example
 builds = 1
 
-[slave 2]
-name = slave-example-2
+[worker 2]
+phase = 2
+name = worker-example-2
 password = example2
 builds = 3