Bug 1230134 - [tc-gip] Make the logs private r=garndt
authorJohan Lorenzo <jlorenzo@mozilla.com>
Fri, 18 Dec 2015 18:54:08 +0100
changeset 316413 ba6c0f7881c68dcaa76c4325a2b4f09945f395f1
parent 316412 a2648343aa32664a9f2961bce5b46669d4828064
child 316681 5afdfa25cc6ff6acf7dc96414ebca0793a296a71
push id8542
push userjlorenzo@mozilla.com
push dateFri, 18 Dec 2015 17:54:41 +0000
reviewersgarndt
bugs1230134
milestone46.0a1
Bug 1230134 - [tc-gip] Make the logs private r=garndt
testing/taskcluster/tasks/branches/b2g-inbound/job_flags.yml
testing/taskcluster/tasks/phone_test.yml
testing/taskcluster/tasks/tests/flame_kk_gaia_ui_test_functional.yml
testing/taskcluster/tasks/tests/flame_kk_gaia_ui_test_functional_dsds.yml
testing/taskcluster/tasks/tests/flame_kk_gaia_ui_test_sanity.yml
testing/taskcluster/tasks/tests/flame_kk_gaia_ui_test_unit.yml
--- a/testing/taskcluster/tasks/branches/b2g-inbound/job_flags.yml
+++ b/testing/taskcluster/tasks/branches/b2g-inbound/job_flags.yml
@@ -1,6 +1,24 @@
 ---
 # For complete sample of all build and test jobs,
 # see <gecko>/testing/taskcluster/tasks/branches/base_job_flags.yml
 
 $inherits:
   from: tasks/branches/base_jobs.yml
+
+tests:
+  gaia-ui-test-functional:
+    allowed_build_tasks:
+      tasks/builds/b2g_flame_kk_eng.yml:
+        task: tasks/tests/flame_kk_gaia_ui_test_functional.yml
+  gaia-ui-test-functional-dsds:
+    allowed_build_tasks:
+      tasks/builds/b2g_flame_kk_eng.yml:
+        task: tasks/tests/flame_kk_gaia_ui_test_functional_dsds.yml
+  gaia-ui-test-sanity:
+    allowed_build_tasks:
+      tasks/builds/b2g_flame_kk_eng.yml:
+        task: tasks/tests/flame_kk_gaia_ui_test_sanity.yml
+  gaia-ui-test-unit:
+    allowed_build_tasks:
+      tasks/builds/b2g_flame_kk_eng.yml:
+        task: tasks/tests/flame_kk_gaia_ui_test_unit.yml
--- a/testing/taskcluster/tasks/phone_test.yml
+++ b/testing/taskcluster/tasks/phone_test.yml
@@ -23,19 +23,26 @@ task:
     cache:
       tc-vcs: '/home/worker/.tc-vcs'
     env:
       GAIA_HEAD_REPOSITORY: '{{{gaia_head_repository}}}'
       GAIA_BASE_REPOSITORY: '{{{gaia_base_repository}}}'
       GAIA_REF: '{{{gaia_ref}}}'
       GAIA_REV: '{{{gaia_rev}}}'
 
+    log: 'private/b2g/logs/live.log'
+
     # All builds share a common artifact directory for ease of uploading.
     artifacts:
-      'private/logs':
+      'private/b2g/device.json':
+        type: file
+        path: '/home/worker/data/device.json'
+        expires: '{{#from_now}}1 year{{/from_now}}'
+
+      'private/b2g/logs':
         type: directory
         path: '/home/worker/upload/logs/'
         expires: '{{#from_now}}1 year{{/from_now}}'
 
   extra:
     treeherder:
       groupSymbol: tc
       groupName: Submitted by taskcluster
--- a/testing/taskcluster/tasks/tests/flame_kk_gaia_ui_test_functional.yml
+++ b/testing/taskcluster/tasks/tests/flame_kk_gaia_ui_test_functional.yml
@@ -32,21 +32,16 @@ task:
         --xml-output=/home/worker/upload/logs/xml_output.xml
         --timeout=10000
         --log-html=/home/worker/upload/logs/index.html
         --restart
         --type=b2g-dsds
         --log-mach=-
         --log-raw=/home/worker/upload/logs/raw.log
         gaia/source/tests/python/gaia-ui-tests/gaiatest/tests/functional/manifest.ini
-    artifacts:
-      'private/device.json':
-        type: file
-        path: '/home/worker/data/device.json'
-        expires: '{{#from_now}}1 year{{/from_now}}'
 
   extra:
     chunks:
       total: 6
 
     treeherder:
       groupName: Gaia Python Integration Tests
       groupSymbol: tc-Gip
--- a/testing/taskcluster/tasks/tests/flame_kk_gaia_ui_test_functional_dsds.yml
+++ b/testing/taskcluster/tasks/tests/flame_kk_gaia_ui_test_functional_dsds.yml
@@ -30,20 +30,15 @@ task:
         --xml-output=/home/worker/upload/logs/xml_output.xml
         --timeout=10000
         --log-html=/home/worker/upload/logs/index.html
         --restart
         --type=b2g+dsds
         --log-mach=-
         --log-raw=/home/worker/upload/logs/raw.log
         gaia/source/tests/python/gaia-ui-tests/gaiatest/tests/functional/manifest.ini
-    artifacts:
-      'private/device.json':
-        type: file
-        path: '/home/worker/data/device.json'
-        expires: '{{#from_now}}1 year{{/from_now}}'
 
   extra:
     treeherder:
       groupName: Gaia Python Integration Tests
       groupSymbol: tc-Gip
       symbol: 'f-dsds'
       productName: b2g
--- a/testing/taskcluster/tasks/tests/flame_kk_gaia_ui_test_sanity.yml
+++ b/testing/taskcluster/tasks/tests/flame_kk_gaia_ui_test_sanity.yml
@@ -31,20 +31,15 @@ task:
         --xml-output=/home/worker/upload/logs/xml_output.xml
         --timeout=10000
         --log-html=/home/worker/upload/logs/index.html
         --restart
         --type=b2g+sanity-dsds
         --log-mach=-
         --log-raw=/home/worker/upload/logs/raw.log
         gaia/source/tests/python/gaia-ui-tests/gaiatest/tests/functional/manifest.ini
-    artifacts:
-      'private/device.json':
-        type: file
-        path: '/home/worker/data/device.json'
-        expires: '{{#from_now}}1 year{{/from_now}}'
 
   extra:
     treeherder:
       groupName: Gaia Python Integration Tests
       groupSymbol: tc-Gip
       symbol: 's'
       productName: b2g
--- a/testing/taskcluster/tasks/tests/flame_kk_gaia_ui_test_unit.yml
+++ b/testing/taskcluster/tasks/tests/flame_kk_gaia_ui_test_unit.yml
@@ -30,20 +30,15 @@ task:
         --xml-output=/home/worker/upload/logs/xml_output.xml
         --timeout=10000
         --log-html=/home/worker/upload/logs/index.html
         --restart
         --type=b2g
         --log-mach=-
         --log-raw=/home/worker/upload/logs/raw.log
         gaia/source/tests/python/gaia-ui-tests/gaiatest/tests/unit/manifest.ini
-    artifacts:
-      'private/device.json':
-        type: file
-        path: '/home/worker/data/device.json'
-        expires: '{{#from_now}}1 year{{/from_now}}'
 
   extra:
     treeherder:
       groupName: Gaia Python Integration Tests
       groupSymbol: tc-Gip
       symbol: 'u'
       productName: b2g