Skip to content
This repository was archived by the owner on Nov 21, 2018. It is now read-only.

Commit 682f8fa

Browse files
committed
Merge pull request #34 from edunham/docs
Document master.cfg.txt
2 parents d274ac0 + 455fcf3 commit 682f8fa

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,33 @@ it needs to be restarted.
8383
If the above steps fail, restart the Buildbot process on the production
8484
buildmaster.
8585

86+
# Testing Locally
87+
88+
## `master.cfg.txt`
89+
90+
To do things with this Buildbot on your local machine, you'll need to create
91+
the file `master/master.cfg.txt`. `master.cfg` reads secrets out of it at
92+
startup.
93+
94+
```
95+
env prod
96+
master_addy 11.22.333.4444:5678
97+
git_source git://github.com/rust-lang/rust.git
98+
cargo_source git://github.com/rust-lang/cargo.git
99+
packaging_source git://github.com/rust-lang/rust-packaging.git
100+
s3_addy s3://your-bucket-name-here
101+
s3_cargo_addy s3://your-other-bucket-name-here
102+
homu_secret RFqnZtXnRhD66qv11WOGIkuGn2YzvylOcxlqqXZmSq4RaLpXfb
103+
dist_server_addy http://your-bucket-name.here.s3-website-aws-region.amazonaws.com
104+
```
105+
106+
* `master_addy` is the address and port where buildmaster is running
107+
* `s3_addy` and `s3_cargo_addy` are buckets where artefacts will get uploaded
108+
* `homu_secret` is a string that you can get from `pwgen -s 64 -n 1` or so,
109+
which also appears in `~/rustbuild/homu/cfg.toml` under `repo.rust.buildbot`
110+
and `repo.cargo.buildbot`.
111+
* `dist_server_addy` is the url of that bucket where stuff gets uploaded
112+
86113
# License
87114

88115
This software is distributed under the terms of both the MIT license

0 commit comments

Comments
 (0)