Commit graph

28 commits

Author SHA1 Message Date
Simon Sapin
6125fe88c3 Run a decision task on both deployments for push events 2019-11-06 00:43:24 +01:00
Simon Sapin
694e38e163 Update the decision task’s Docker image
47b7864da...5a2588ef1
2019-11-05 14:25:33 +01:00
Simon Sapin
55fe681ca1 New TC: only run tasks for pushes to the try-communitytc branch 2019-11-04 20:23:07 +01:00
Simon Sapin
d8b630779d Support both Taskcluster deployments
Part of https://bugzilla.mozilla.org/show_bug.cgi?id=1574648
2019-11-04 17:39:17 +01:00
Josh Matthews
c9927b52a6
Route all trychooser tasks to servo-try. 2019-03-13 12:40:52 -04:00
Simon Sapin
5d0dbd6355 Taskcluster: run tidy on PRs 2019-01-05 01:15:17 +01:00
Simon Sapin
0700aeb4f7 Tasckluster: use default taskId and taskGroupId
See https://docs.taskcluster.net/docs/reference/integrations/taskcluster-github/docs/taskcluster-yml-v1#result
2019-01-04 17:06:12 +01:00
Simon Sapin
d4038d0580 Taskcluster: run tasks for PRs from everyone
These tasks should be untrusted, since they run before review.
The `repo:github.com/servo/servo:pull-request` role determines what scopes
(permissions) those tasks have.

https://tools.taskcluster.net/auth/roles/repo%3Agithub.com%2Fservo%2Fservo%3Apull-request
2019-01-04 17:06:12 +01:00
Simon Sapin
3680fb7ffa Send decision task data for try-* branches to Treeherder’s servo-try 2018-12-14 19:03:49 +01:00
Simon Sapin
7df2087dc0 Use restricted Treeherder scopes in .taskcluster.yml too
https://bugzilla.mozilla.org/show_bug.cgi?id=1509027
2018-12-13 17:45:11 +01:00
Simon Sapin
558799cc0f Also run Taskcluster tasks when pushing to master
I forgot to include this in https://github.com/servo/servo/pull/22381
2018-12-12 18:29:14 +01:00
Simon Sapin
eb21ceaf98 Upload to doc.servo.org when merging to master 2018-12-12 08:28:58 +01:00
Simon Sapin
fdb2a66261 Taskcluster: start a decision task for all try-* branches
This is an alternative fix for https://github.com/servo/saltfs/issues/903,
and anticipates adding trychooser support to Taskcluster
2018-12-11 23:43:14 +01:00
Simon Sapin
35eaa924ec Make Taskcluster tasks show up on Treeherder
See for example https://treeherder.allizom.org/#/jobs?repo=servo-try-taskcluster
2018-11-20 19:56:30 +01:00
Simon Sapin
46f9312d0c Taskcluster: use a dedicated role for scopes granted to decision tasks 2018-10-30 13:25:19 +01:00
Simon Sapin
f357c6fe93 Taskcluster: test in Android emulator 2018-10-30 13:25:18 +01:00
Simon Sapin
60eff32c9b Taskcluster: cache ~/.gradle
This is where are kept files whose downloads sometimes fail, so downloading less often will reduce the impact of those failures.

```
> Could not get resource 'https://jcenter.bintray.com/com/android/tools/build/gradle/3.1.3/gradle-3.1.3.pom'.
   > Could not GET 'https://jcenter.bintray.com/com/android/tools/build/gradle/3.1.3/gradle-3.1.3.pom'.
      > Read timed out
```

https://tools.taskcluster.net/groups/PGuIkH5QQmqghZozhVtmoQ/tasks/CBa6IbLmQJqYgoswRn-hiw/runs/0/logs/public%2Flogs%2Flive.log#L3411
2018-10-11 18:54:31 +02:00
Simon Sapin
eaee801e64 Add try-taskcluster branch 2018-10-09 14:00:23 +02:00
Simon Sapin
95150280bf Rename decision-task.py to make it importable 2018-10-09 14:00:23 +02:00
Simon Sapin
5a48669e90 Move etc/ci/taskcluster one level up 2018-09-27 18:23:37 +02:00
Simon Sapin
947c01ea25 Add support for daily builds
https://tools.taskcluster.net/hooks/project-servo/daily
2018-09-24 15:35:50 +02:00
Simon Sapin
a6fbab9c5b Adapt servo/servo-taskcluster-experiments’s code for servo/servo 2018-09-21 12:45:20 +02:00
Simon Sapin
1492bacbca Use .taskcluster.yml from servo/servo-taskcluster-experiments 2018-09-21 12:39:57 +02:00
Aneesh Agrawal
f41377f10d 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.
2018-05-20 18:36:44 -07:00
E. Dunham
514e714485 use dedicated workertype 2018-05-09 10:24:50 -07:00
Aneesh Agrawal
6446aff444 Use existing Docker image tag for now
We have not yet pushed a :latest tag,
so use the (old) named tag that we have for now.
2017-12-17 15:29:34 -08:00
Aneesh Agrawal
a8a7199da6 Actually run Taskcluster jobs on PRs
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.
2017-12-17 14:58:36 -08:00
E. Dunham
5ccca8c9b0 Add .taskcluster.yml
Template mostly from https://tools.taskcluster.net/quickstart/. Steps from the
linux-dev builder in etc/ci/buildbot_steps.yml are in taskcluster-test.sh.
2017-12-14 11:16:29 -08:00