Niedzielski has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/236827

Change subject: Work around missing Android SDK files w/ emulator
......................................................................

Work around missing Android SDK files w/ emulator

Replace apps-android-wikipedia-publish's UbuntuTrusty node label with
AndroidEmulator and add the android-emulator wrapper. The wrapper will
launch the emulator unnecessarily but will also install any missing SDK
dependencies. These changes can be reverted when the SDK Manager Gradle
plugin fix[0] is merged.

[0] https://github.com/JakeWharton/sdk-manager-plugin/issues/57

Bug: T99115
Change-Id: I8395e2fad684a81d4274c1639995d64b4d8996a9
---
M jjb/mobile.yaml
1 file changed, 21 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/config 
refs/changes/27/236827/1

diff --git a/jjb/mobile.yaml b/jjb/mobile.yaml
index 95b8e92..cc35ed1 100644
--- a/jjb/mobile.yaml
+++ b/jjb/mobile.yaml
@@ -54,7 +54,11 @@
 
 - job-template:
     name: 'apps-android-wikipedia-publish'
-    node: contintLabsSlave && UbuntuTrusty
+    # TODO: replace AndroidEmulator node label with UbuntuTrusty and remove the
+    #       android-emulator wrapper when
+    #       https://github.com/JakeWharton/sdk-manager-plugin/issues/57 is
+    #       merged.
+    node: contintLabsSlave && AndroidEmulator
     defaults: use-remoteonly-zuul
     concurrent: true
     triggers:
@@ -65,6 +69,22 @@
          fail: true
      - timestamps
      - ansicolor
+     # TODO: replace AndroidEmulator node label with UbuntuTrusty and remove
+     #       the android-emulator wrapper when
+     #       https://github.com/JakeWharton/sdk-manager-plugin/issues/57 is
+     #       merged.
+     - android-emulator:
+         os: android-15
+         target-abi: x86
+         wipe: false
+         delete: false
+         snapshot: true
+         commandline-options: '-noaudio'
+         screen-density: 240
+         screen-resolution: WVGA
+         locale: en_US
+         hardware-properties:
+             vm.heapSize: 512
     builders:
      - shell: |
          declare START_TIME="$(date +"%Y-%m-%dT%H:%M:%S.%N")"

-- 
To view, visit https://gerrit.wikimedia.org/r/236827
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8395e2fad684a81d4274c1639995d64b4d8996a9
Gerrit-PatchSet: 1
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Niedzielski <sniedziel...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to