mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 12:34:31 +00:00
infra: Add android-aarch64 builder
This builder will only run clippy using the new presubmit recipe. Also updates the health_check builder to use the same recipe. BUG=b:349907813 TEST=lucicfg validate main.star Change-Id: Icf8a721b6eb37675dd289d496888b62de7ea9660 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5689951 Commit-Queue: Dennis Kempin <denniskempin@google.com> Reviewed-by: Zihan Chen <zihanchen@google.com>
This commit is contained in:
parent
c478abfa71
commit
61bb120f6a
7 changed files with 84 additions and 4 deletions
|
@ -14,6 +14,24 @@ buckets {
|
|||
group: "mdb/crosvm-acl-luci-admin"
|
||||
}
|
||||
swarming {
|
||||
builders {
|
||||
name: "android-aarch64"
|
||||
swarming_host: "chromium-swarm.appspot.com"
|
||||
dimensions: "cpu:x86-64"
|
||||
dimensions: "os:Ubuntu"
|
||||
dimensions: "pool:luci.crosvm.ci"
|
||||
recipe {
|
||||
name: "presubmit"
|
||||
cipd_package: "infra/recipe_bundles/chromium.googlesource.com/crosvm/crosvm"
|
||||
cipd_version: "refs/heads/main"
|
||||
properties_j: "group_name:\"android-aarch64\""
|
||||
}
|
||||
caches {
|
||||
name: "linux_builder_cache"
|
||||
path: "builder"
|
||||
}
|
||||
service_account: "crosvm-luci-ci-builder@crosvm-infra.iam.gserviceaccount.com"
|
||||
}
|
||||
builders {
|
||||
name: "build_docs"
|
||||
swarming_host: "chromium-swarm.appspot.com"
|
||||
|
@ -47,9 +65,10 @@ buckets {
|
|||
dimensions: "os:Ubuntu"
|
||||
dimensions: "pool:luci.crosvm.ci"
|
||||
recipe {
|
||||
name: "health_check"
|
||||
name: "presubmit"
|
||||
cipd_package: "infra/recipe_bundles/chromium.googlesource.com/crosvm/crosvm"
|
||||
cipd_version: "refs/heads/main"
|
||||
properties_j: "group_name:\"health_checks\""
|
||||
}
|
||||
caches {
|
||||
name: "linux_builder_cache"
|
||||
|
@ -193,9 +212,10 @@ buckets {
|
|||
dimensions: "os:Ubuntu"
|
||||
dimensions: "pool:luci.crosvm.try"
|
||||
recipe {
|
||||
name: "health_check"
|
||||
name: "presubmit"
|
||||
cipd_package: "infra/recipe_bundles/chromium.googlesource.com/crosvm/crosvm"
|
||||
cipd_version: "refs/heads/main"
|
||||
properties_j: "group_name:\"health_checks\""
|
||||
}
|
||||
caches {
|
||||
name: "linux_builder_cache"
|
||||
|
|
|
@ -38,6 +38,10 @@ consoles {
|
|||
name: "buildbucket/luci.crosvm.ci/health_check"
|
||||
category: "linux"
|
||||
}
|
||||
builders {
|
||||
name: "buildbucket/luci.crosvm.ci/android-aarch64"
|
||||
category: "android"
|
||||
}
|
||||
}
|
||||
consoles {
|
||||
id: "Presubmit"
|
||||
|
|
|
@ -4,6 +4,21 @@
|
|||
# For the schema of this file, see ProjectConfig message:
|
||||
# https://config.luci.app/schemas/projects:luci-notify.cfg
|
||||
|
||||
notifiers {
|
||||
notifications {
|
||||
on_change: true
|
||||
email {
|
||||
recipients: "crosvm-uprev@grotations.appspotmail.com"
|
||||
recipients: "crosvm-uprev-apac@grotations.appspotmail.com"
|
||||
recipients: "denniskempin@google.com"
|
||||
}
|
||||
}
|
||||
builders {
|
||||
bucket: "ci"
|
||||
name: "android-aarch64"
|
||||
repository: "https://chromium.googlesource.com/crosvm/crosvm"
|
||||
}
|
||||
}
|
||||
notifiers {
|
||||
notifications {
|
||||
on_change: true
|
||||
|
|
|
@ -4,6 +4,16 @@
|
|||
# For the schema of this file, see ProjectConfig message:
|
||||
# https://config.luci.app/schemas/projects:luci-scheduler.cfg
|
||||
|
||||
job {
|
||||
id: "android-aarch64"
|
||||
realm: "ci"
|
||||
acl_sets: "ci"
|
||||
buildbucket {
|
||||
server: "cr-buildbucket.appspot.com"
|
||||
bucket: "ci"
|
||||
builder: "android-aarch64"
|
||||
}
|
||||
}
|
||||
job {
|
||||
id: "build_docs"
|
||||
realm: "ci"
|
||||
|
@ -109,6 +119,7 @@ trigger {
|
|||
id: "main source"
|
||||
realm: "ci"
|
||||
acl_sets: "ci"
|
||||
triggers: "android-aarch64"
|
||||
triggers: "build_docs"
|
||||
triggers: "chromeos_hatch"
|
||||
triggers: "health_check"
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
name: "crosvm"
|
||||
access: "group:all"
|
||||
lucicfg {
|
||||
version: "1.43.5"
|
||||
version: "1.43.8"
|
||||
package_dir: ".."
|
||||
config_dir: "generated"
|
||||
entry_point: "main.star"
|
||||
|
|
|
@ -343,14 +343,37 @@ verify_builder(
|
|||
"cpu": "x86-64",
|
||||
},
|
||||
executable = luci.recipe(
|
||||
name = "health_check",
|
||||
name = "presubmit",
|
||||
),
|
||||
properties = {
|
||||
"group_name": "health_checks",
|
||||
},
|
||||
caches = [
|
||||
swarming.cache("builder", name = "linux_builder_cache"),
|
||||
],
|
||||
category = "linux",
|
||||
)
|
||||
|
||||
verify_builder(
|
||||
name = "android-aarch64",
|
||||
dimensions = {
|
||||
"os": "Ubuntu",
|
||||
"cpu": "x86-64",
|
||||
},
|
||||
executable = luci.recipe(
|
||||
name = "presubmit",
|
||||
),
|
||||
properties = {
|
||||
"group_name": "android-aarch64",
|
||||
},
|
||||
caches = [
|
||||
swarming.cache("builder", name = "linux_builder_cache"),
|
||||
],
|
||||
category = "android",
|
||||
# TODO(b/349907813): Enable in presubmit once stabilized
|
||||
presubmit = False,
|
||||
)
|
||||
|
||||
infra_builder(
|
||||
name = "push_to_github",
|
||||
executable = luci.recipe(
|
||||
|
|
|
@ -427,6 +427,13 @@ GROUPS: List[Group] = [
|
|||
"python_tests",
|
||||
],
|
||||
),
|
||||
Group(
|
||||
name="android-aarch64",
|
||||
doc="Checks run on the android-aarch64 builder",
|
||||
checks=[
|
||||
"clippy_android",
|
||||
],
|
||||
),
|
||||
*(
|
||||
Group(
|
||||
name=f"linux_{platform}",
|
||||
|
|
Loading…
Reference in a new issue