1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# Copyright 2021 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
load("//lib/builders.star", "cpu", "os")
load("//lib/ci.star", "ci")
load("//lib/consoles.star", "consoles")
load("//console-header.star", "HEADER")
luci.bucket(
name = "reclient",
acls = [
acl.entry(
roles = acl.BUILDBUCKET_READER,
groups = "all",
),
acl.entry(
roles = acl.BUILDBUCKET_TRIGGERER,
groups = "project-chromium-ci-schedulers",
),
acl.entry(
roles = acl.BUILDBUCKET_OWNER,
groups = "google/luci-task-force@google.com",
),
],
)
ci.defaults.set(
bucket = "reclient",
build_numbers = True,
builder_group = "chromium.reclient.fyi",
configure_kitchen = True,
cores = 8,
cpu = cpu.X86_64,
executable = "recipe:chromium",
execution_timeout = 3 * time.hour,
goma_backend = None,
kitchen_emulate_gce = True,
os = os.LINUX_DEFAULT,
pool = "luci.chromium.ci",
service_account = (
"chromium-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
),
swarming_tags = ["vpython:native-python-wrapper"],
triggered_by = ["chromium-gitiles-trigger"],
)
consoles.console_view(
name = "chromium.reclient.fyi",
header = HEADER,
include_experimental_builds = True,
repo = "https://chromium.googlesource.com/chromium/src",
)
def fyi_reclient_staging_builder(
*,
name,
reclient_instance = "rbe-chromium-trusted",
**kwargs):
return ci.builder(
name = name,
reclient_instance = reclient_instance,
console_view_entry = consoles.console_view_entry(
category = "rbe|linux",
short_name = "rcs",
),
**kwargs
)
fyi_reclient_staging_builder(
name = "Linux Builder Re-Client Staging",
)
|