Bug 1463730 - Changes to wpt manifest upload task, r?jgraham draft
authorAhilya Sinha <asinha@mozilla.com>
Wed, 23 May 2018 02:25:23 +0530
changeset 798919 9d6d2f795fb6
parent 797560 226437245483
push id110878
push userbmo:asinha@mozilla.com
push dateWed, 23 May 2018 18:11:31 +0000
reviewersjgraham
bugs1463730
milestone62.0a1
Bug 1463730 - Changes to wpt manifest upload task, r?jgraham MozReview-Commit-ID: J6Ywh2UsfHd
taskcluster/ci/source-test/kind.yml
taskcluster/ci/source-test/manifest-upload.yml
taskcluster/ci/source-test/wpt-manifest.yml
--- a/taskcluster/ci/source-test/kind.yml
+++ b/taskcluster/ci/source-test/kind.yml
@@ -13,17 +13,17 @@ transforms:
 jobs-from:
    - cram.yml
    - doc.yml
    - file-metadata.yml
    - mocha.yml
    - mozlint.yml
    - python.yml
    - webidl.yml
-   - manifest-upload.yml
+   - wpt-manifest.yml
 
 # This is used by run-task based tasks to lookup which build task it
 # should depend on based on its own platform.
 dependent-build-platforms:
    linux64-asan/opt:
       label: build-linux64-asan/opt
       target-name: target.tar.bz2
    linux64/debug:
deleted file mode 100644
--- a/taskcluster/ci/source-test/manifest-upload.yml
+++ /dev/null
@@ -1,31 +0,0 @@
-job-defaults:
-    platform: linux64/opt
-    treeherder:
-        kind: test
-        tier: 1
-    worker-type: aws-provisioner-v1/gecko-t-linux-xlarge
-    worker:
-        docker-image: {in-tree: "lint"}
-        max-run-time: 1800
-
-manifest-upload:
-    description: Generate and store the web-platform-tests manifest
-    treeherder:
-        symbol: Wm
-    index:
-        product: source
-        job-name: manifest-upload
-    run:
-        using: run-task
-        command: >
-            cd /builds/worker/checkouts/gecko
-            && ./mach wpt-manifest-update
-    worker:
-        artifacts:
-            - type: file
-              path: /builds/worker/checkouts/gecko/testing/web-platform/meta/MANIFEST.json
-              name: public/manifest
-        max-run-time: 3600
-    when:
-        files-changed:
-            - 'testing/web-platform/tests/**'
new file mode 100644
--- /dev/null
+++ b/taskcluster/ci/source-test/wpt-manifest.yml
@@ -0,0 +1,36 @@
+job-defaults:
+    platform: linux64/opt
+    treeherder:
+        kind: test
+        tier: 2
+    worker-type: aws-provisioner-v1/gecko-t-linux-xlarge
+    worker:
+        docker-image: {in-tree: "lint"}
+        max-run-time: 1800
+
+upload:
+    description: Generate and store the web-platform-tests manifest
+    treeherder:
+        symbol: Wm
+    index:
+        product: source
+        job-name: manifest-upload
+    run:
+        using: run-task
+        command: >
+            cd /builds/worker/checkouts/gecko
+            && ./mach wpt-manifest-update
+            && gzip testing/web-platform/meta/MANIFEST.json testing/web-platform/mozilla/meta/MANIFEST.json
+    worker:
+        artifacts:
+            - type: file
+              path: /builds/worker/checkouts/gecko/testing/web-platform/meta/MANIFEST.json.gz
+              name: public/manifest.json.gz
+            - type: file
+              path: /builds/worker/checkouts/gecko/testing/web-platform/mozilla/meta/MANIFEST.json.gz
+              name: public/moz_manifest.json.gz
+        max-run-time: 3600
+    when:
+        files-changed:
+            - 'testing/web-platform/tests/**'
+            - 'testing/web-platform/mozilla/tests/**'