Update the Linux Android defines test to use dimensions when selecting a build bot (#118930)

* Round 2 with dimensions

* Try with stringified keys

* Forgot a comma

* trying a list of maps.

* Try key value pairs

* Try with kvm only

* try with swarming_dimensions

* Updated with fix in swarming.star
This commit is contained in:
Ricardo Amador 2023-01-23 12:34:07 -08:00 committed by GitHub
parent 19dfde6989
commit 392dffeb08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1379,12 +1379,26 @@ targets:
- name: Linux_android android_defines_test
recipe: devicelab/devicelab_drone
presubmit: false
presubmit: true
bringup: true
timeout: 60
dimensions: {
kvm: "1",
cores: "8",
machine_type: "n1-standard-8"
}
properties:
device_type: "none"
tags: >
["devicelab" ,"android", "linux"]
task_name: android_defines_test
dependencies: >-
[
{"dependency": "android_virtual_device", "version": "31"},
{"dependency": "android_sdk", "version": "version:33v6"},
{"dependency": "open_jdk", "version": "version:11"}
]
use_emulator: "true"
- name: Linux_android android_obfuscate_test
recipe: devicelab/devicelab_drone