version: 0
metadata:
  name: servo
  description: >-
    A modern, high-performance browser engine designed for both application
    and embedded use.
  owner: '{{ event.head.user.email }}'
  source: '{{ event.head.repo.url }}'
tasks:
  - provisionerId: '{{ taskcluster.docker.provisionerId }}'
    workerType: 'servo-docker-worker'
    extra:
      github:
        events:
          - pull_request.opened
          - pull_request.reopened
          - pull_request.synchronize
    payload:
      maxRunTime: 3600
      image: 'servobrowser/servo-linux-dev:servo-linux-build-deps-2017-06-30'
      command:
        - /bin/bash
        - '--login'
        - '-c'
        - '-x'
        - >-
          git clone {{event.head.repo.url}} servo &&
          cd servo &&
          git config advice.detachedHead false &&
          git checkout {{event.head.sha}} &&
          etc/ci/taskcluster-test.sh
    metadata:
      name: linux-tests
      description: Run Linux tests.
      owner: '{{ event.head.user.email }}'
      source: '{{ event.head.repo.url }}'
allowPullRequests: public

version: 0
metadata:
  name: servo
  description: >-
    A modern, high-performance browser engine designed for both application
    and embedded use.
  owner: '{{ event.head.user.email }}'
  source: '{{ event.head.repo.url }}'
tasks:
  - provisionerId: '{{ taskcluster.docker.provisionerId }}'
    workerType: 'servo-docker-worker'
    extra:
      github:
        events:
          - pull_request.opened
          - pull_request.reopened
          - pull_request.synchronize
    payload:
      maxRunTime: 7200
      image: 'servobrowser/servo-linux-dev:servo-linux-build-deps-2017-06-30'
      command:
        - /bin/bash
        - '--login'
        - '-c'
        - '-x'
        - >-
          git clone {{event.head.repo.url}} servo &&
          cd servo &&
          git config advice.detachedHead false &&
          git checkout {{event.head.sha}} &&
          etc/ci/taskcluster-test.sh
    metadata:
      name: linux-tests
      description: Run Linux tests.
      owner: '{{ event.head.user.email }}'
      source: '{{ event.head.repo.url }}'
allowPullRequests: public

Increase max run time to 2 hours
Increase max run time to 2 hours

Based on the Taskcluster log for
(https://taskcluster-artifacts.net/HkxDh1oKQceXH1fL9RSGow/0/public/logs/live_backing.log),
it looks like the job is running successfully but hitting the max time limit.

Our builds + tests shouldn't take this long to run normally,
but we'll need to set up sccache with cache uploading/downloading
in order to improve most build times.

For now, bump the max run time to 2 hours;
since we complete one build + som tests within an hour,
2 hours should be enough for the second build to finish as well.
