Added new task to upload wpt manifest; r?jgraham draft
authorAhilya Sinha <asinha@mozilla.com>
Fri, 18 May 2018 17:16:33 +0530
changeset 796836 05614790a494c73ff73d513b6edd823f4b2c8d7f
parent 795656 dedd25bfd2794eaba95225361f82c701e49c9339
push id110367
push userbmo:asinha@mozilla.com
push dateFri, 18 May 2018 11:50:19 +0000
reviewersjgraham
milestone62.0a1
Added new task to upload wpt manifest; r?jgraham MozReview-Commit-ID: C7jdyzFuKVL
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: upload the manifest in web-platform-tests as an artifact
+    treeherder:
+        symbol: Manifest
+    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/**'