This repository was archived by the owner on Nov 21, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,33 @@ it needs to be restarted.
83
83
If the above steps fail, restart the Buildbot process on the production
84
84
buildmaster.
85
85
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
+
86
113
# License
87
114
88
115
This software is distributed under the terms of both the MIT license
You can’t perform that action at this time.
0 commit comments