Bug 1462613 - Added new task to upload wpt manifest, r=jgraham draft
authorAhilya Sinha <asinha@mozilla.com>
Fri, 18 May 2018 17:16:33 +0530
changeset 797023 8c91bf5dbd2923b0c0b969dbd66ecd64baf88bf1
parent 795656 dedd25bfd2794eaba95225361f82c701e49c9339
push id110400
push userbmo:asinha@mozilla.com
push dateFri, 18 May 2018 16:14:31 +0000
reviewersjgraham
bugs1462613
milestone62.0a1
Bug 1462613 - Added new task to upload wpt manifest, r=jgraham MozReview-Commit-ID: K3D1o62cC3S
taskcluster/ci/source-test/kind.yml
taskcluster/ci/source-test/manifest-upload.yml
--- a/taskcluster/ci/source-test/kind.yml
+++ b/taskcluster/ci/source-test/kind.yml
@@ -13,16 +13,17 @@ transforms:
 jobs-from:
    - cram.yml
    - doc.yml
    - file-metadata.yml
    - mocha.yml
    - mozlint.yml
    - python.yml
    - webidl.yml
+   - manifest-upload.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:
new file mode 100644
--- /dev/null
+++ b/taskcluster/ci/source-test/manifest-upload.yml
@@ -0,0 +1,31 @@
+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/**'