Add constraints to try bucket.

Trying to fix the error:
bad request: build: constraints for webrtc:try not found

Change-Id: Icf96d5082ce09a60d079b91117a3786ddb97269c
Bug: None
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/356301
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Commit-Queue: Jeremy Leconte <jleconte@google.com>
Cr-Commit-Position: refs/heads/main@{#42585}
This commit is contained in:
Jeremy Leconte 2024-07-03 16:05:18 +02:00 committed by WebRTC LUCI CQ
parent 0471a1963f
commit 10bd257dbe
2 changed files with 8 additions and 0 deletions

View File

@ -276,6 +276,10 @@ luci.bucket(
"project-webrtc-tryjob-access", "project-webrtc-tryjob-access",
]), ]),
], ],
constraints = luci.bucket_constraints(
pools = ["luci.webrtc.try"],
service_accounts = ["webrtc-try-builder@chops-service-accounts.iam.gserviceaccount.com"],
),
) )
luci.bucket( luci.bucket(

View File

@ -5686,4 +5686,8 @@ buckets {
} }
} }
} }
constraints {
pools: "luci.webrtc.try"
service_accounts: "webrtc-try-builder@chops-service-accounts.iam.gserviceaccount.com"
}
} }