Add constraints to the luci buckets.

Goal is to be able to run led jobs, current error is:
constraints for libyuv:try not found

Bug: b/384862261
Change-Id: Ia88f2de7a4068baf151f94ea8cf708983939d11a
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/6105837
Commit-Queue: Jeremy Leconte <jleconte@google.com>
Reviewed-by: Mirko Bonadei <mbonadei@chromium.org>
This commit is contained in:
Jeremy Leconte 2024-12-18 20:44:18 +01:00 committed by libyuv LUCI CQ
parent 4115e118e8
commit e01109dd9b
2 changed files with 16 additions and 0 deletions

View File

@ -904,6 +904,9 @@ buckets {
} }
} }
} }
constraints {
pools: "luci.flex.ci"
}
} }
buckets { buckets {
name: "cron" name: "cron"
@ -1701,4 +1704,8 @@ buckets {
} }
} }
} }
constraints {
pools: "luci.flex.try"
service_accounts: "libyuv-try-builder@chops-service-accounts.iam.gserviceaccount.com"
}
} }

View File

@ -175,6 +175,9 @@ luci.cq_group(
luci.bucket( luci.bucket(
name = "ci", name = "ci",
constraints = luci.bucket_constraints(
pools = ["luci.flex.ci"],
),
) )
luci.bucket( luci.bucket(
name = "try", name = "try",
@ -184,6 +187,12 @@ luci.bucket(
"service-account-cq", "service-account-cq",
]), ]),
], ],
constraints = luci.bucket_constraints(
pools = ["luci.flex.try"],
service_accounts = [
"libyuv-try-builder@chops-service-accounts.iam.gserviceaccount.com",
],
),
) )
luci.bucket( luci.bucket(
name = "cron", name = "cron",