customize

This commit is contained in:
AF 2023-08-05 16:54:05 +00:00
parent 04faa3d073
commit 9fbd6be1e6

View File

@ -28,7 +28,9 @@ assert CLIENT_SECRET
# a Worker object, specifying a unique worker name and password. The same
# worker name and password must be configured on the worker.
c["workers"] = [worker.Worker("worker-rust", "pass")]
c["workers"] = [
worker.Worker("worker-rust", "pass", properties={"rust_version": "1.65"})
]
if "BUILDBOT_MQ_URL" in os.environ:
c["mq"] = {
@ -142,7 +144,9 @@ factory.addStep(
steps.DirectoryUpload(
workersrc=DOC_DIR,
masterdest="/buildbot_share/docs/radn-rs/",
url="https://radn.parrrate.ru/latest/docs/radn_rs/",
url=util.Interpolate(
"https://radn.parrrate.ru/latest/%(worker:rust_version)/docs/radn_rs/"
),
)
)
c["builders"].append(