Commit graph

450 commits

Author SHA1 Message Date
bors-servo
62d726369f
Auto merge of #22125 - Darkspirit:https_dl_buildbot_timings, r=jdm
Download buildbot metadata via https

https://build.servo.org/json works.

https://www.hardenize.com/report/build.servo.org#www_tls
Likely ECDHE-RSA-AES128-GCM-SHA256 will be used by any modern client to download the file.

-----
https://docs.python.org/2/library/urllib.html
> For Python versions earlier than 2.7.9, urllib does not attempt to validate the server certificates of HTTPS URIs. Use at your own risk!

python3 is used to run the script: 535ea9674f/etc/ci/buildbot_steps.yml (L170)

-----
https://docs.python.org/3.1/howto/urllib2.html
> Currently urllib.request does not support fetching of https locations through a proxy. However, this can be enabled by extending urllib.request as shown in the recipe [7].

I don't think this will be downloaded through a proxy.

<!-- 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/22125)
<!-- Reviewable:end -->
2018-11-06 20:26:28 -05:00
bors-servo
8667cb327d
Auto merge of #22123 - Darkspirit:https_taskcluster_windows, r=jdm
Ensuring https for Windows Taskcluster

This should be a safe change as there're already some https downloads on Windows Taskcluster. Examples:
* with `$client.DownloadFile()`: 78327fcba5/etc/taskcluster/windows/bootstrap.ps1 (L43)
* with `Expand-ZIPFile`: e217672c1a/etc/taskcluster/windows/bootstrap.ps1 (L40)

Modern TLS is supported:
https://www.hardenize.com/report/download.tuxfamily.org#www_tls
https://www.hardenize.com/report/nssm.cc#www_tls

<!-- 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/22123)
<!-- Reviewable:end -->
2018-11-06 19:13:20 -05:00
Jan Andre Ikenmeyer
860422d1dc
Optional Windows Taskcluster dependency should be able to use TLS 1.2 2018-11-06 17:29:43 +01:00
Jan Andre Ikenmeyer
0ac730a38d
Download buildbot metadata via https 2018-11-06 14:27:05 +01:00
bors-servo
32d97d695e
Auto merge of #22120 - Darkspirit:httpsdocs, r=jdm
Replace http with https in docs

This PR only changes markdown files and one Rust comment.
Background: [bug 1482947](https://bugzilla.mozilla.org/show_bug.cgi?id=1482947) enabled HSTS for servo.org and its subdomains.

<!-- 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/22120)
<!-- Reviewable:end -->
2018-11-06 08:13:04 -05:00
Jan Andre Ikenmeyer
82bd1e51c7
Ensuring https for Windows Taskcluster 2018-11-06 13:00:47 +01:00
Jan Andre Ikenmeyer
1097d3fe00
Replace http with https in docs 2018-11-06 11:39:09 +01:00
Alan Jeffrey
e57859fe49 Add magicleap builder 2018-11-05 12:48:17 -06:00
Simon Sapin
b1da53e47f Use apt-get update before apt-get install 2018-10-31 23:55:21 +01:00
Simon Sapin
d1a18dc052 Also show created/updated dates in Packet.net server list 2018-10-30 13:30:41 +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
a5cce280f1 Taskcluster: move curl’ing artifacts into decisionlib 2018-10-30 13:25:18 +01:00
Simon Sapin
f357c6fe93 Taskcluster: test in Android emulator 2018-10-30 13:25:18 +01:00
Simon Sapin
556435ae01 Taskcluster: add Android x86 build 2018-10-30 13:25:18 +01:00
Simon Sapin
6fa0c6bbf7 Add Terraform config for docker-worker on Packet.net 2018-10-30 13:25:17 +01:00
Simon Sapin
ba8b37f3bc List packet.net servers through their API 2018-10-29 22:23:00 +01:00
bors-servo
79f0291924
Auto merge of #21912 - servo:lighter-bootstrap, r=jdm
Add `--build` and `--emulator-x86` to `./mach bootstrap-android`

This allows not downloading dependencies that are not needed for a particular task.

<!-- 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/21912)
<!-- Reviewable:end -->
2018-10-11 23:15:38 -04: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
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