summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/source-test/remote.yml
blob: f292068d201df88888b9302d4c9e40d643685c86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
---
job-defaults:
    platform: linux1804-64/opt
    require-build:
        by-project:
            try:
                linux1804-64/opt: build-linux64/opt
            default:
                linux1804-64/opt: build-linux64-shippable/opt
    fetches:
        build:
            - target.tar.bz2
        toolchain:
            - linux64-node
    treeherder:
        kind: test
        tier: 1
    worker-type: t-linux-xlarge-source
    worker:
        docker-image: {in-tree: ubuntu1804-test}
        max-run-time: 3600
        artifacts:
            - type: file
              name: public/remote/results.json
              path: /builds/worker/results.json
            - type: file
              name: public/remote/pup_errorsummary.json
              path: /builds/worker/pup_errorsummary.json
            - type: file
              name: public/remote/pup_raw.log
              path: /builds/worker/pup_raw.log
    optimization:
        skip-unless-expanded: null

puppeteer:
    description: Puppeteer tests against Firefox CDP-based remote protocol
    treeherder:
        symbol: remote(pup)
    run:  # Bug 1651542: Use screenshot feature to warm-up the font cache before the actual test
        using: run-task
        command: >
            cd $GECKO_PATH/ &&
            $MOZ_FETCHES_DIR/firefox/firefox --screenshot http://example.org &&
            ./mach puppeteer-test --ci -vv --binary $MOZ_FETCHES_DIR/firefox/firefox --headless --write-results /builds/worker/results.json --log-tbpl - --log-errorsummary /builds/worker/pup_errorsummary.json --log-raw /builds/worker/pup_raw.log