Bug 1182116: Make engineering builds official style. r=garndt
authorWander Lairson Costa <wcosta@mozilla.com>
Fri, 17 Jul 2015 10:14:30 -0300
changeset 253579 4050a3761f1068e1e26633b8fac5f720ae88be41
parent 253578 011665af8da26d44545c1f44a290629d1f1849ae
child 253580 481da0cbe1e311c60bd820aca9a2b26b132821c8
push id29071
push usercbook@mozilla.com
push dateMon, 20 Jul 2015 09:26:07 +0000
treeherdermozilla-central@481da0cbe1e3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgarndt
bugs1182116
milestone42.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 1182116: Make engineering builds official style. r=garndt
testing/taskcluster/tasks/builds/b2g_aries_spark_eng.yml
testing/taskcluster/tasks/builds/b2g_flame_kk_eng.yml
testing/taskcluster/tasks/builds/b2g_flame_kk_eng_blobfree.yml
testing/taskcluster/tasks/builds/b2g_flame_kk_spark_eng.yml
testing/taskcluster/tasks/builds/b2g_phone_eng_base.yml
--- a/testing/taskcluster/tasks/builds/b2g_aries_spark_eng.yml
+++ b/testing/taskcluster/tasks/builds/b2g_aries_spark_eng.yml
@@ -1,35 +1,25 @@
 $inherits:
-  from: 'tasks/builds/b2g_phone_base.yml'
+  from: 'tasks/builds/b2g_phone_eng_base.yml'
   variables:
     build_name: 'aries-eng'
     build_type: 'opt'
 task:
-  workerType: flame-kk
   scopes:
     - 'docker-worker:cache:build-aries-eng'
   metadata:
     name: '[TC] B2G Aries Eng'
 
   payload:
     cache:
       build-aries-eng: /home/worker/workspace
     env:
       TARGET: 'aries'
-      DEBUG: 0
-      VARIANT: eng
-      GAIA_OPTIMIZE: '1'
-      B2G_SYSTEM_APPS: '1'
       MOZHARNESS_CONFIG: b2g/taskcluster-spark.py
-    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: Aries
       groupName: Aries Device Image
--- a/testing/taskcluster/tasks/builds/b2g_flame_kk_eng.yml
+++ b/testing/taskcluster/tasks/builds/b2g_flame_kk_eng.yml
@@ -1,34 +1,24 @@
 $inherits:
-  from: 'tasks/builds/b2g_phone_base.yml'
+  from: 'tasks/builds/b2g_phone_eng_base.yml'
   variables:
     build_name: 'flame-kk-eng'
     build_type: 'opt'
 task:
-  workerType: flame-kk
   scopes:
     - 'docker-worker:cache:build-flame-kk-eng'
   metadata:
     name: '[TC] B2G Flame KK Eng'
 
   payload:
     cache:
       build-flame-kk-eng: /home/worker/workspace
     env:
       TARGET: 'flame-kk'
-      DEBUG: 0
-      VARIANT: eng
-      GAIA_OPTIMIZE: '1'
-      B2G_SYSTEM_APPS: '1'
-    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: Flame-KK
       groupName: Flame KitKat Device Image
--- a/testing/taskcluster/tasks/builds/b2g_flame_kk_eng_blobfree.yml
+++ b/testing/taskcluster/tasks/builds/b2g_flame_kk_eng_blobfree.yml
@@ -1,35 +1,25 @@
 $inherits:
-  from: 'tasks/builds/b2g_phone_base.yml'
+  from: 'tasks/builds/b2g_phone_eng_base.yml'
   variables:
     build_name: 'flame-kk-eng-blobfree'
     build_type: 'opt'
 task:
-  workerType: flame-kk
   scopes:
     - 'docker-worker:cache:build-flame-kk-eng-blobfree'
   metadata:
     name: 'B2G Flame KK Eng (blobfree)'
 
   payload:
     cache:
       build-flame-kk-eng-blobfree: /home/worker/workspace
     env:
       TARGET: 'flame-kk'
-      DEBUG: 0
-      VARIANT: eng
-      GAIA_OPTIMIZE: '1'
-      B2G_SYSTEM_APPS: '1'
       MOZHARNESS_CONFIG: b2g/taskcluster-phone-blobfree.py
-    command:
-      - >
-        checkout-gecko workspace &&
-        cd ./workspace/gecko/testing/taskcluster/scripts/phone-builder &&
-        buildbot_step 'Build' ./build-phone.sh $HOME/workspace
   extra:
     treeherderEnv:
       - staging
     treeherder:
       symbol: Bef
       groupSymbol: Flame-KK
       groupName: Flame KitKat Device Image
       machine:
--- a/testing/taskcluster/tasks/builds/b2g_flame_kk_spark_eng.yml
+++ b/testing/taskcluster/tasks/builds/b2g_flame_kk_spark_eng.yml
@@ -1,35 +1,25 @@
 $inherits:
-  from: 'tasks/builds/b2g_phone_base.yml'
+  from: 'tasks/builds/b2g_phone_eng_base.yml'
   variables:
     build_name: 'flame-kk-spark-eng'
     build_type: 'opt'
 task:
-  workerType: flame-kk
   scopes:
     - 'docker-worker:cache:build-flame-kk-spark-eng'
   metadata:
     name: '[TC] B2G Flame KK Eng (spark)'
 
   payload:
     cache:
       build-flame-kk-spark-eng: /home/worker/workspace
     env:
       TARGET: 'flame-kk'
-      DEBUG: 0
-      VARIANT: eng
-      GAIA_OPTIMIZE: '1'
-      B2G_SYSTEM_APPS: '1'
       MOZHARNESS_CONFIG: b2g/taskcluster-spark.py
-    command:
-      - >
-        checkout-gecko workspace &&
-        cd ./workspace/gecko/testing/taskcluster/scripts/phone-builder &&
-        buildbot_step 'Build' ./build-phone.sh $HOME/workspace
   extra:
     treeherderEnv:
       - staging
     treeherder:
       symbol: Be
       groupSymbol: Flame-KK-spark
       groupName: Flame KitKat Device Image
       machine:
new file mode 100644
--- /dev/null
+++ b/testing/taskcluster/tasks/builds/b2g_phone_eng_base.yml
@@ -0,0 +1,22 @@
+$inherits:
+  from: 'tasks/builds/b2g_phone_base.yml'
+task:
+  workerType: flame-kk
+
+  payload:
+    env:
+      DEBUG: 0
+      VARIANT: eng
+      GAIA_OPTIMIZE: '1'
+      B2G_SYSTEM_APPS: '1'
+      MOZILLA_OFFICIAL: '1'
+      MOZ_TELEMETRY_REPORTING: '1'
+      MOZ_CRASHREPORTER_NO_REPORT: '1'
+      GAIA_KEYBOARD_LAYOUTS: 'en,pt-BR,es,de,fr,pl,zh-Hans-Pinyin,zh-Hant-Zhuyin,en-Dvorak'
+      B2G_UPDATER: '1'
+      B2G_UPDATE_CHANNEL: 'default'
+    command:
+      - >
+        checkout-gecko workspace &&
+        cd ./workspace/gecko/testing/taskcluster/scripts/phone-builder &&
+        buildbot_step 'Build' ./build-phone.sh $HOME/workspace