Bug 1187946 - enable Nexus B2G builds in Taskcluster; r=wcosta
authorMike Shal <mshal@mozilla.com>
Wed, 16 Sep 2015 15:42:56 -0400
changeset 295933 d09a02afe050cb91b45cf7b3cc0b529159e3a7fd
parent 295932 4e8dd2742625a606946026babc82478765ed51de
child 295934 7ba91c441e350089b3bf05bdabfe90ef729aa112
push id5245
push userraliiev@mozilla.com
push dateThu, 29 Oct 2015 11:30:51 +0000
treeherdermozilla-beta@dac831dc1bd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerswcosta
bugs1187946
milestone43.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1187946 - enable Nexus B2G builds in Taskcluster; r=wcosta
b2g/config/nexus-5-l/config.json
testing/taskcluster/tasks/branches/base_job_flags.yml
testing/taskcluster/tasks/branches/base_jobs.yml
testing/taskcluster/tasks/builds/b2g_nexus4_eng.yml
testing/taskcluster/tasks/builds/b2g_nexus4_user.yml
testing/taskcluster/tasks/builds/b2g_nexus_4_eng.yml
testing/taskcluster/tasks/builds/b2g_nexus_4_user.yml
testing/taskcluster/tasks/builds/b2g_nexus_5l_eng.yml
testing/taskcluster/tasks/builds/b2g_nexus_5l_user.yml
--- a/b2g/config/nexus-5-l/config.json
+++ b/b2g/config/nexus-5-l/config.json
@@ -2,17 +2,17 @@
     "config_version": 2,
     "tooltool_manifest": "releng-nexus5.tt",
     "mock_target": "mozilla-centos6-x86_64",
     "mock_packages": ["ccache", "make", "bison", "flex", "gcc", "g++", "mpfr", "zlib-devel", "ncurses-devel", "zip", "autoconf213", "glibc-static", "perl-Digest-SHA", "wget", "alsa-lib", "atk", "cairo", "dbus-glib", "fontconfig", "freetype", "glib2", "gtk2", "libXRender", "libXt", "pango", "mozilla-python27-mercurial", "openssh-clients", "nss-devel", "glibc-devel.i686", "libstdc++.i686", "zlib-devel.i686", "ncurses-devel.i686", "libX11-devel.i686", "mesa-libGL-devel.i686", "mesa-libGL-devel", "libX11-devel", "git", "libxml2"],
     "mock_files": [
         ["/home/cltbld/.ssh", "/home/mock_mozilla/.ssh"],
         ["/builds/crash-stats-api.token", "/builds/crash-stats-api.token"]
     ],
-    "build_targets": [],
+    "build_targets": ["", "blobfree"],
     "upload_files": [
         "{objdir}/dist/b2g-*.crashreporter-symbols.zip",
         "{objdir}/dist/b2g-*.tar.gz",
         "{workdir}/sources.xml"
     ],
     "public_upload_files": [
         "{objdir}/dist/b2g-*.crashreporter-symbols.zip",
         "{objdir}/dist/b2g-*.tar.gz",
--- a/testing/taskcluster/tasks/branches/base_job_flags.yml
+++ b/testing/taskcluster/tasks/branches/base_job_flags.yml
@@ -15,16 +15,20 @@ flags:
     - linux64_gecko  # b2g desktop linux 64 bit
     - linux64-mulet  # Firefox desktop - b2g gecko linux 64 bit
     - macosx64_gecko # b2g desktop osx 64 bit
     - win32_gecko    # b2g desktop win 32 bit
     - flame-kk-ota
     - flame-kk       # b2g flame kitkat
     - flame-kk-eng   # b2g flame eng build
     - flame-kk-spark-eng
+    - nexus-4
+    - nexus-4-eng
+    - nexus-5l
+    - nexus-5l-eng
     - dolphin
     - dolphin-eng
     - dolphin-512
     - dolphin-512-eng
     - aries
     - aries-ota
     - aries-eng
     - aries-dogfood
--- a/testing/taskcluster/tasks/branches/base_jobs.yml
+++ b/testing/taskcluster/tasks/branches/base_jobs.yml
@@ -81,16 +81,40 @@ builds:
       opt:
         task: tasks/builds/b2g_flame_kk_eng.yml
   flame-kk-spark-eng:
     platforms:
       - b2g
     types:
       opt:
         task: tasks/builds/b2g_flame_kk_spark_eng.yml
+  nexus-4:
+    platforms:
+      - b2g
+    types:
+      opt:
+        task: tasks/builds/b2g_nexus_4_user.yml
+  nexus-4-eng:
+    platforms:
+      - b2g
+    types:
+      opt:
+        task: tasks/builds/b2g_nexus_4_eng.yml
+  nexus-5l:
+    platforms:
+      - b2g
+    types:
+      opt:
+        task: tasks/builds/b2g_nexus_5l_user.yml
+  nexus-5l-eng:
+    platforms:
+      - b2g
+    types:
+      opt:
+        task: tasks/builds/b2g_nexus_5l_eng.yml
 
 tests:
   cppunit:
     allowed_build_tasks:
       tasks/builds/b2g_emulator_ics_opt.yml:
         task: tasks/tests/b2g_emulator_cpp_unit.yml
       tasks/builds/b2g_emulator_ics_debug.yml:
         task: tasks/tests/b2g_emulator_cpp_unit.yml
deleted file mode 100644
--- a/testing/taskcluster/tasks/builds/b2g_nexus4_eng.yml
+++ /dev/null
@@ -1,19 +0,0 @@
-$inherits:
-  from: 'tasks/builds/b2g_phone_base.yml'
-  variables:
-    build_name: 'nexus-4-eng'
-    build_type: 'opt'
-task:
-  scopes:
-    - 'docker-worker:cache:build-nexus-4-eng'
-  metadata:
-    name: B2G Nexus 4 Eng
-  payload:
-    cache:
-      build-nexus-4-eng: /home/worker/object-folder
-    env:
-      TARGET: 'nexus-4'
-      DEBUG: 0
-  extra:
-    locations:
-      img: 'private/build/nexus-4.zip'
deleted file mode 100644
--- a/testing/taskcluster/tasks/builds/b2g_nexus4_user.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-$inherits:
-  from: 'tasks/builds/b2g_phone_base.yml'
-  variables:
-    build_name: 'nexus-4-user'
-    build_type: 'opt'
-task:
-  scopes:
-    - 'docker-worker:cache:build-nexus-4-user'
-  metadata:
-    name: '[TC] B2G Nexus 4 User'
-
-  payload:
-    cache:
-      build-nexus-4-user: /home/worker/object-folder
-    env:
-      TARGET: 'nexus-4'
-      DEBUG: 0
-  extra:
-    treeherder:
-      symbol: B
-      groupSymbol: Nexus4
-      groupName: Nexus4 Device Image
-      machine:
-        platform: b2g-device-image
-    locations:
-      img: 'private/build/nexus-4.zip'
new file mode 100644
--- /dev/null
+++ b/testing/taskcluster/tasks/builds/b2g_nexus_4_eng.yml
@@ -0,0 +1,34 @@
+$inherits:
+  from: 'tasks/builds/b2g_phone_eng_base.yml'
+  variables:
+    build_name: 'nexus-4-eng'
+    build_type: 'opt'
+task:
+  workerType: flame-kk
+  scopes:
+    - 'docker-worker:cache:build-nexus-4-eng'
+  metadata:
+    name: '[TC] B2G Nexus 4 Eng'
+  payload:
+    cache:
+      build-nexus-4-eng: /home/worker/object-folder
+    env:
+      TARGET: 'nexus-4'
+      DEBUG: 0
+    command:
+      - >
+        checkout-gecko workspace &&
+        cd ./workspace/gecko/testing/taskcluster/scripts/phone-builder &&
+        buildbot_step 'Build' ./build-phone.sh $HOME/workspace
+  extra:
+    treeherderEnv:
+      - production
+      - staging
+    treeherder:
+      symbol: Be
+      groupSymbol: Nexus 4
+      groupName: Nexus 4 Device Image
+      machine:
+        platform: b2g-device-image
+    locations:
+      img: 'private/build/nexus-4.zip'
new file mode 100644
--- /dev/null
+++ b/testing/taskcluster/tasks/builds/b2g_nexus_4_user.yml
@@ -0,0 +1,35 @@
+$inherits:
+  from: 'tasks/builds/b2g_phone_base.yml'
+  variables:
+    build_name: 'nexus-4-user'
+    build_type: 'opt'
+task:
+  workerType: flame-kk
+  scopes:
+    - 'docker-worker:cache:build-nexus-4-user'
+  metadata:
+    name: '[TC] B2G Nexus 4 User'
+
+  payload:
+    cache:
+      build-nexus-4-user: /home/worker/object-folder
+    env:
+      TARGET: 'nexus-4'
+      DEBUG: 0
+    command:
+      - >
+        checkout-gecko workspace &&
+        cd ./workspace/gecko/testing/taskcluster/scripts/phone-builder &&
+        buildbot_step 'Build' ./build-phone.sh $HOME/workspace
+  extra:
+    treeherderEnv:
+      - production
+      - staging
+    treeherder:
+      symbol: B
+      groupSymbol: Nexus 4
+      groupName: Nexus 4 Device Image
+      machine:
+        platform: b2g-device-image
+    locations:
+      img: 'private/build/nexus-4.zip'
new file mode 100644
--- /dev/null
+++ b/testing/taskcluster/tasks/builds/b2g_nexus_5l_eng.yml
@@ -0,0 +1,34 @@
+$inherits:
+  from: 'tasks/builds/b2g_phone_eng_base.yml'
+  variables:
+    build_name: 'nexus-5-l-eng'
+    build_type: 'opt'
+task:
+  workerType: flame-kk
+  scopes:
+    - 'docker-worker:cache:build-nexus-5-l-eng'
+  metadata:
+    name: '[TC] B2G Nexus 5-L Eng'
+  payload:
+    cache:
+      build-nexus-5-l-eng: /home/worker/object-folder
+    env:
+      TARGET: 'nexus-5-l'
+      DEBUG: 0
+    command:
+      - >
+        checkout-gecko workspace &&
+        cd ./workspace/gecko/testing/taskcluster/scripts/phone-builder &&
+        buildbot_step 'Build' ./build-phone.sh $HOME/workspace
+  extra:
+    treeherderEnv:
+      - production
+      - staging
+    treeherder:
+      symbol: Be
+      groupSymbol: Nexus 5-L
+      groupName: Nexus 5-L Device Image
+      machine:
+        platform: b2g-device-image
+    locations:
+      img: 'private/build/nexus-5-l.zip'
new file mode 100644
--- /dev/null
+++ b/testing/taskcluster/tasks/builds/b2g_nexus_5l_user.yml
@@ -0,0 +1,35 @@
+$inherits:
+  from: 'tasks/builds/b2g_phone_base.yml'
+  variables:
+    build_name: 'nexus-5-user'
+    build_type: 'opt'
+task:
+  workerType: flame-kk
+  scopes:
+    - 'docker-worker:cache:build-nexus-5-l-user'
+  metadata:
+    name: '[TC] B2G Nexus 5-L User'
+
+  payload:
+    cache:
+      build-nexus-5-l-user: /home/worker/object-folder
+    env:
+      TARGET: 'nexus-5-l'
+      DEBUG: 0
+    command:
+      - >
+        checkout-gecko workspace &&
+        cd ./workspace/gecko/testing/taskcluster/scripts/phone-builder &&
+        buildbot_step 'Build' ./build-phone.sh $HOME/workspace
+  extra:
+    treeherderEnv:
+      - production
+      - staging
+    treeherder:
+      symbol: B
+      groupSymbol: Nexus 5-L
+      groupName: Nexus 5-L Device Image
+      machine:
+        platform: b2g-device-image
+    locations:
+      img: 'private/build/nexus-5-l.zip'