Commit graph

533 commits

Author SHA1 Message Date
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
960cb50ffd Taskcluster: use servo-* cache names 2018-10-11 18:31:37 +02:00
Simon Sapin
6c82c471c5 Add --accept-all-licences to ./mach bootstrap-android 2018-10-11 16:08:41 +02:00
Simon Sapin
89e1878bd6 Add --build and --emulator-x86 to ./mach bootstrap-android
This allows not downloading dependencies that are not needed for a praticular task.
2018-10-11 15:24:57 +02:00
bors-servo
78327fcba5
Auto merge of #21863 - servo:tc-windows, r=Manishearth
Build on and for Windows on Taskcluster CI

I’ve configured a `servo-win2016` Taskcluster worker type and built an AMI for it. The docs and scripts for this are in `etc/taskcluster/windows` in this PR. They don’t strictly need to be in this repository, but it’s as good a place as any.

This PR also adds a new Windows task similar to Buildbot’s `windows-msvc-dev` job. Like the other tasks triggered on `github-push` events (in particular pushes by Homu to the `auto`), it needs to succeed for a PR to be merged.

CC https://github.com/servo/saltfs/issues/559

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21863)
<!-- Reviewable:end -->
2018-10-10 04:31:42 -04:00
Simon Sapin
bd6762314f decisionlib docs 2018-10-09 14:00:26 +02:00
Simon Sapin
09d8339b46 Code coverage for decisionlib 2018-10-09 14:00:25 +02:00
Simon Sapin
62e4f7072b Taskcluster WPT: inline extra variable 2018-10-09 14:00:25 +02:00
Simon Sapin
829b44e9f0 Taskcluster: index Windows builds 2018-10-09 14:00:25 +02:00
Simon Sapin
2d12d50b54 Tascluster: shorten x86_64 to x64 2018-10-09 14:00:25 +02:00
Simon Sapin
652ff71482 Taskcluster: Add Windows release build 2018-10-09 14:00:24 +02:00
Simon Sapin
2c7abbb2bf Taskcluster: package the Windows build 2018-10-09 14:00:24 +02:00
Simon Sapin
0a7811111e Time fetching dependencies on Windows separately from build 2018-10-09 14:00:24 +02:00
Simon Sapin
c0b132a2e0 Rewrite decisionlib with a builder pattern to be more composable 2018-10-09 14:00:24 +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
545d54704a Add bootstrap script for messing with a manually-started instance 2018-10-08 16:44:24 +02:00
Simon Sapin
7be1c2c899 Windows AMI: disable indexing and anti-virus 2018-10-08 16:44:24 +02:00
Simon Sapin
a88fb7ed40 Taskcluster Windows: build 2018-10-08 16:44:24 +02:00
Simon Sapin
b5cf1f87cf Taskcluster Windows: add gstreamer 2018-10-08 16:44:23 +02:00
Simon Sapin
233c911639 Taskcluster Windows: install rustup 2018-10-08 16:44:23 +02:00
Simon Sapin
63e244ebab Cache repackaged Python 2 for Windows 2018-10-08 16:44:23 +02:00
Simon Sapin
a7fc7629ff msiextract corrupts files :( Try lessmsi instead
https://gitlab.gnome.org/GNOME/msitools/issues/6
2018-10-08 16:44:22 +02:00
Simon Sapin
3b2076fdc3 Windows: don’t check out tests/wpt
Creating many files is slow, on Windows
2018-10-08 16:44:22 +02:00
Simon Sapin
522445f609 Convert python-2.7.15.amd64.msi to a ZIP file, for generic-worker mount 2018-10-08 16:44:22 +02:00
Simon Sapin
f9038a78df Taskcluster: add initial Windows task 2018-10-08 16:44:21 +02:00
Simon Sapin
c2d868f213 (Disabled) Exfiltrate IP addresses for new generic-worker instances 2018-10-08 16:44:21 +02:00
Simon Sapin
bb7157ec59 Windows AMI: add missing signinig key for generic-worker 2018-10-08 16:44:20 +02:00
Simon Sapin
e0d6cb8a60 Initial Windows AMI-building script 2018-10-08 16:44:20 +02:00
Fernando Jiménez Moreno
1c92240310 Fix HAVE_METADATA and HAVE_CURRENT_DATA state transitions 2018-10-08 16:12:03 +02:00
Josh Matthews
991f1fb7fd Support uploading maven artifacts. 2018-10-08 07:49:33 -04:00
Paul Rouget
6d543dec28 com.mozilla to org.mozilla 2018-10-02 08:09:35 +02:00
Simon Sapin
2968572187 Taskcluster: add Android build 2018-09-28 17:26:57 +02:00
bors-servo
0964d055cd
Auto merge of #21809 - servo:features, r=SimonSapin
Only build ports/servo by default (except Android), add `./mach build --libsimpleservo`

Fixes #21314

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21809)
<!-- Reviewable:end -->
2018-09-27 13:35:09 -04:00
Simon Sapin
5a48669e90 Move etc/ci/taskcluster one level up 2018-09-27 18:23:37 +02:00
Simon Sapin
4e85f9c186 Build libsimpleservo on CI 2018-09-25 19:21:59 +02:00
bors-servo
ea2ca7ed4a
Auto merge of #21805 - jdm:jsup, r=jdm
Upgrade mozjs.

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21469
- [x] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21805)
<!-- Reviewable:end -->
2018-09-25 08:34:16 -04:00
bors-servo
10cf425069
Auto merge of #21776 - servo:taskcluster, r=Manishearth
Rewrite Taskcluster integration

This rewrites this repository’s integration with Taskcluster to have a decision task that runs an in-tree Python script to schedule a graph of other tasks with inter-dependencies, saved build artifacts, Docker images built from in-tree `Dockerfile`s, etc. This also adds support fail daily tasks, run automatically every 24 hours. See `etc/ci/taskcluster/README.md` for more details.

Example of a green build with web-platform-tests enabled: https://tools.taskcluster.net/groups/aDL0pUBkSmuhezT1OF80_g

For now this PR only enables one task, equivalent to Buildbot’s `linux-dev` job. (Running Tidy and other linting tools, compiling in debug mode, and running unit tests.) At this time Homu does **not** yet block PRs from merging on a successful result from Taskcluster, but I plan to do this soon after this PR lands.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21776)
<!-- Reviewable:end -->
2018-09-25 03:26:09 -04:00
Simon Sapin
c33f5cc3a9 Docstrings for decisionlib 2018-09-25 09:25:30 +02:00
Josh Matthews
89dd750631
Don't unset ndk/sdk variables for android-mac. 2018-09-24 23:58:14 -04:00
Josh Matthews
f53ac35088
Fix trailing whitespace. 2018-09-24 16:16:31 -04:00
Simon Sapin
a79be41623 Document daily task indexing 2018-09-24 18:02:32 +02:00
Simon Sapin
59a875e3e4 Move daily_tasks_setup() out of the way 2018-09-24 18:00:02 +02:00
Simon Sapin
efd62ea677 Mock both kinds of decision tasks 2018-09-24 18:00:01 +02:00
Simon Sapin
ed55b8c1e6 Index daily decision tasks even if they fail 2018-09-24 17:55:38 +02:00
Simon Sapin
8bed0cb044 Clarify index v.s. route terminology 2018-09-24 17:47:34 +02:00
Simon Sapin
62822fb103 Link to Taskcluster IRC notifications docs 2018-09-24 17:12:05 +02:00
Simon Sapin
b3b67ef5ee Strip command whitespace 2018-09-24 16:59:40 +02:00
Simon Sapin
726ccf3a39 Each sub-task needs IRC notification individually 2018-09-24 16:54:35 +02:00
Simon Sapin
45ab69b996 Document Taskcluster config locations 2018-09-24 16:32:03 +02:00