servo: Merge #19591 - Actually run Taskcluster jobs on PRs (from aneeshusa:actually-trigger-taskcluster); r=edunham

Spawn TC jobs on the following events:
  - Pull request opened or reopened
  - New commit made in pull request

Spawn TC jobs for pull requests started by anybody,
not just trusted collaborators.
This is safe for now as we do not provide any scopes to spawned jobs.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 6440f17835e35069eddab88067f328a1a99d5376

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e2c5882be224caa2999ab7b5bf8fbb6b98329385
This commit is contained in:
Aneesh Agrawal 2018-01-04 18:40:39 -06:00
Родитель 606a9e9a90
Коммит bd8f29779e
1 изменённых файлов: 6 добавлений и 3 удалений

Просмотреть файл

@ -11,10 +11,13 @@ tasks:
workerType: '{{ taskcluster.docker.workerType }}'
extra:
github:
events: []
events:
- pull_request.opened
- pull_request.reopened
- pull_request.synchronize
payload:
maxRunTime: 3600
image: servobrowser/servo-linux-dev
image: 'servobrowser/servo-linux-dev:servo-linux-build-deps-2017-06-30'
command:
- /bin/bash
- '--login'
@ -31,4 +34,4 @@ tasks:
description: Run Linux tests.
owner: '{{ event.head.user.email }}'
source: '{{ event.head.repo.url }}'
allowPullRequests: public