Bug 1463730 - Changes to wpt manifest upload task, r=jgraham
authorAhilya Sinha <asinha@mozilla.com>
Wed, 23 May 2018 02:25:23 +0530
changeset 419589 d67b21a431e5
parent 419588 a04c1686e5ab
child 419590 81367b23ee5f
push id64357
push userjames@hoppipolla.co.uk
push dateWed, 23 May 2018 19:56:09 +0000
treeherderautoland@d67b21a431e5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjgraham
bugs1463730
milestone62.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 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,16 +13,16 @@ 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: build-linux64-asan/opt
    linux64/debug: build-linux64/debug
    linux64.*: build-linux64/opt
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/**'