taskcluster/ci/source-test/wpt-manifest.yml
author Ahilya Sinha <asinha@mozilla.com>
Wed, 23 May 2018 02:25:23 +0530
changeset 419605 d67b21a431e5e495802527018434e83f43bdbe1c
child 421754 1cd94ab77e2e0031d7abda6bd92068bec743e2de
permissions -rw-r--r--
Bug 1463730 - Changes to wpt manifest upload task, r=jgraham MozReview-Commit-ID: J6Ywh2UsfHd

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/**'