mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
0948bc8d3a
The builders use the existing dev_container to run tests for the 3 currently supported architectures on linux: x86_64, aarch64 and armhf. A new recipe 'build_linux' has been added runs the dev_container to build and execute tests. To share code with other upcoming recipes, some of the recipe code has been extracted into a shared crosvm module. Basic tests for the recipes have been added. BUG=b:233230344 TEST=./recipes.py test run ./recipes.py run build_linux Change-Id: I17ecb25c0a0eabdce56537831454ac22d4dc7021 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3654196 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
164 lines
4.3 KiB
INI
164 lines
4.3 KiB
INI
# Auto-generated by lucicfg.
|
|
# Do not modify manually.
|
|
#
|
|
# For the schema of this file, see BuildbucketCfg message:
|
|
# https://luci-config.appspot.com/schemas/projects:buildbucket.cfg
|
|
|
|
buckets {
|
|
name: "ci"
|
|
acls {
|
|
group: "all"
|
|
}
|
|
acls {
|
|
role: SCHEDULER
|
|
group: "mdb/crosvm-acl-luci-admin"
|
|
}
|
|
swarming {
|
|
builders {
|
|
name: "crosvm_linux_aarch64"
|
|
swarming_host: "chromium-swarm.appspot.com"
|
|
dimensions: "cpu:x86-64"
|
|
dimensions: "os:Ubuntu"
|
|
dimensions: "pool:luci.crosvm.ci"
|
|
exe {
|
|
cipd_package: "infra/recipe_bundles/chromium.googlesource.com/crosvm/crosvm"
|
|
cipd_version: "refs/heads/main"
|
|
cmd: "luciexe"
|
|
}
|
|
properties:
|
|
'{'
|
|
' "recipe": "build_linux",'
|
|
' "test_arch": "aarch64"'
|
|
'}'
|
|
service_account: "crosvm-luci-ci-builder@crosvm-infra.iam.gserviceaccount.com"
|
|
experiments {
|
|
key: "luci.recipes.use_python3"
|
|
value: 100
|
|
}
|
|
}
|
|
builders {
|
|
name: "crosvm_linux_armhf"
|
|
swarming_host: "chromium-swarm.appspot.com"
|
|
dimensions: "cpu:x86-64"
|
|
dimensions: "os:Ubuntu"
|
|
dimensions: "pool:luci.crosvm.ci"
|
|
exe {
|
|
cipd_package: "infra/recipe_bundles/chromium.googlesource.com/crosvm/crosvm"
|
|
cipd_version: "refs/heads/main"
|
|
cmd: "luciexe"
|
|
}
|
|
properties:
|
|
'{'
|
|
' "recipe": "build_linux",'
|
|
' "test_arch": "armhf"'
|
|
'}'
|
|
service_account: "crosvm-luci-ci-builder@crosvm-infra.iam.gserviceaccount.com"
|
|
experiments {
|
|
key: "luci.recipes.use_python3"
|
|
value: 100
|
|
}
|
|
}
|
|
builders {
|
|
name: "crosvm_linux_x86_64"
|
|
swarming_host: "chromium-swarm.appspot.com"
|
|
dimensions: "cpu:x86-64"
|
|
dimensions: "os:Ubuntu"
|
|
dimensions: "pool:luci.crosvm.ci"
|
|
exe {
|
|
cipd_package: "infra/recipe_bundles/chromium.googlesource.com/crosvm/crosvm"
|
|
cipd_version: "refs/heads/main"
|
|
cmd: "luciexe"
|
|
}
|
|
properties:
|
|
'{'
|
|
' "recipe": "build_linux",'
|
|
' "test_arch": "x86_64"'
|
|
'}'
|
|
service_account: "crosvm-luci-ci-builder@crosvm-infra.iam.gserviceaccount.com"
|
|
experiments {
|
|
key: "luci.recipes.use_python3"
|
|
value: 100
|
|
}
|
|
}
|
|
}
|
|
}
|
|
buckets {
|
|
name: "prod"
|
|
acls {
|
|
group: "all"
|
|
}
|
|
}
|
|
buckets {
|
|
name: "try"
|
|
acls {
|
|
group: "all"
|
|
}
|
|
swarming {
|
|
builders {
|
|
name: "crosvm_linux_aarch64"
|
|
swarming_host: "chromium-swarm.appspot.com"
|
|
dimensions: "cpu:x86-64"
|
|
dimensions: "os:Ubuntu"
|
|
dimensions: "pool:luci.crosvm.try"
|
|
exe {
|
|
cipd_package: "infra/recipe_bundles/chromium.googlesource.com/crosvm/crosvm"
|
|
cipd_version: "refs/heads/main"
|
|
cmd: "luciexe"
|
|
}
|
|
properties:
|
|
'{'
|
|
' "recipe": "build_linux",'
|
|
' "test_arch": "aarch64"'
|
|
'}'
|
|
service_account: "crosvm-luci-try-builder@crosvm-infra.iam.gserviceaccount.com"
|
|
experiments {
|
|
key: "luci.recipes.use_python3"
|
|
value: 100
|
|
}
|
|
}
|
|
builders {
|
|
name: "crosvm_linux_armhf"
|
|
swarming_host: "chromium-swarm.appspot.com"
|
|
dimensions: "cpu:x86-64"
|
|
dimensions: "os:Ubuntu"
|
|
dimensions: "pool:luci.crosvm.try"
|
|
exe {
|
|
cipd_package: "infra/recipe_bundles/chromium.googlesource.com/crosvm/crosvm"
|
|
cipd_version: "refs/heads/main"
|
|
cmd: "luciexe"
|
|
}
|
|
properties:
|
|
'{'
|
|
' "recipe": "build_linux",'
|
|
' "test_arch": "armhf"'
|
|
'}'
|
|
service_account: "crosvm-luci-try-builder@crosvm-infra.iam.gserviceaccount.com"
|
|
experiments {
|
|
key: "luci.recipes.use_python3"
|
|
value: 100
|
|
}
|
|
}
|
|
builders {
|
|
name: "crosvm_linux_x86_64"
|
|
swarming_host: "chromium-swarm.appspot.com"
|
|
dimensions: "cpu:x86-64"
|
|
dimensions: "os:Ubuntu"
|
|
dimensions: "pool:luci.crosvm.try"
|
|
exe {
|
|
cipd_package: "infra/recipe_bundles/chromium.googlesource.com/crosvm/crosvm"
|
|
cipd_version: "refs/heads/main"
|
|
cmd: "luciexe"
|
|
}
|
|
properties:
|
|
'{'
|
|
' "recipe": "build_linux",'
|
|
' "test_arch": "x86_64"'
|
|
'}'
|
|
service_account: "crosvm-luci-try-builder@crosvm-infra.iam.gserviceaccount.com"
|
|
experiments {
|
|
key: "luci.recipes.use_python3"
|
|
value: 100
|
|
}
|
|
}
|
|
}
|
|
}
|