From 392dffeb08157a43b840e9de199a6f4d8c60a757 Mon Sep 17 00:00:00 2001 From: Ricardo Amador <32242716+ricardoamador@users.noreply.github.com> Date: Mon, 23 Jan 2023 12:34:07 -0800 Subject: [PATCH] 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 --- .ci.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.ci.yaml b/.ci.yaml index 1c2120ee8a..fa406516a3 100644 --- a/.ci.yaml +++ b/.ci.yaml @@ -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