Commit graph

60 commits

Author SHA1 Message Date
Simon Sapin
1110cac184 mach + rustup: use the minimal profile and install rustc-dev 2020-01-02 15:48:11 +01:00
Simon Sapin
648de3984a Avoid spaces in treeherder tags
The are visually separated by each other by only a space
2019-12-10 12:33:48 +01:00
Josh Matthews
9b5c79fccc
Update Git for Windows on CI. 2019-11-27 11:37:15 -05:00
Simon Sapin
4dbdd255a1 Remove support for shallow clones. The bundle is already shallow. 2019-11-22 18:14:26 +01:00
Simon Sapin
3a8bb531a0 Fetch repository from artifacts rather than GitHub 2019-11-22 18:14:26 +01:00
Simon Sapin
55a8158d17 Decision taks: add artifacts of the repository’s contents 2019-11-22 16:09:03 +01:00
Simon Sapin
a11dc7006f Add Windows support to with_curl_artifact_script 2019-11-22 16:09:03 +01:00
Simon Sapin
b96a36c131 Move mkdir call out of with_curl_script 2019-11-22 16:09:02 +01:00
Simon Sapin
83921dbc99 Deduplicate task dependencies 2019-11-22 16:09:02 +01:00
Simon Sapin
fe23add637 Raise the priority of the release build task for WPT on macOS
… since other time-sensitive tasks depend on them.

Note: we need to be careful with task priorities,
especially in worker pools with limited capacity,
since they are absolute and can cause starvation:

https://docs.taskcluster.net/docs/manual/tasks/priority
2019-11-18 11:05:49 +01:00
Simon Sapin
0dad48f54f macOS CI: use a cache of github.com/servo/servo
Relies on https://github.com/servo/taskcluster-config/pull/6
2019-11-17 09:08:21 +01:00
Simon Sapin
657fead0ce Don’t fetch git tags 2019-11-16 14:26:37 +01:00
Simon Sapin
188dd9e7ab Reduce git fetch depth. 100 still takes quite some time!
```
(git init servo.git &&
    cd servo.git &&
    time git fetch https://github.com/servo/servo master $ARGS &&
); rm -rf servo.git

Full: 724.75 MiB
      57s home fiber in Paris
    1m25s AWS us-west-2 Oregon
    3m23s Macstadium DC1 Atlanta
    4m22s Macstadium DC2 Las Vegas

--depth 100: 129.00 MiB
    1m21s home
    1m18s AWS
    1m30s Macstadium 1
    1m24s Macstadium 2

--depth 50: 97.62 MiB
    30s home
    30s AWS
    41s Macstadium 1
    40s Macstadium 2

--depth 30: 92.47 MiB
    17s home
    18s AWS
    27s Macstadium 1
    26s Macstadium 2

--depth 10: 88.25 MiB
    11s home
    12s AWS
    26s Macstadium 1
    25s Macstadium 2

--depth 1: 87.53 MiB
    10s home
    10s AWS
    22s Macstadium 1
    28s Macstadium 2
```
2019-11-16 14:15:52 +01:00
Simon Sapin
a74046a3b6 Print timing of git operations 2019-11-16 14:15:15 +01:00
bors-servo
396df40218
Auto merge of #24712 - servo:lz4, r=jdm
Revert "Upload uncompressed Docker images"

https://bugzilla.mozilla.org/show_bug.cgi?id=1593543 is fixed.

This reverts commit 5abb013dfd.
2019-11-12 21:57:04 -05:00
Simon Sapin
56dd10c2ee Revert "Upload uncompressed Docker images"
https://bugzilla.mozilla.org/show_bug.cgi?id=1593543 is fixed.

This reverts commit 5abb013dfd.
2019-11-12 14:18:52 +01:00
Simon Sapin
b3faeb5483 Remove support for taskcluster.net in the decision task 2019-11-08 16:20:50 +01:00
Simon Sapin
9d85cbb65c Move all tasks to Community-TC 2019-11-08 07:24:33 +01:00
Simon Sapin
694e38e163 Update the decision task’s Docker image
47b7864da...5a2588ef1
2019-11-05 14:25:33 +01:00
Simon Sapin
7cf489c1f8 Don’t fail tasks if a branch was fast-forward-pushed since the triggering push event 2019-11-05 14:25:33 +01:00
Simon Sapin
08705345d6 Always construct TC API URLs from $TASKCLUSTER_PROXY_URL or $TASKCLUSTER_ROOT_URL 2019-11-05 14:25:33 +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
Simon Sapin
5abb013dfd Upload uncompressed Docker images
Work aronud https://bugzilla.mozilla.org/show_bug.cgi?id=1593543
2019-11-04 17:39:17 +01:00
Simon Sapin
6ba0fabc73 Taskcluster: install the rustc-dev rustup component, required for compiler plugins 2019-10-27 21:13:14 +01:00
Simon Sapin
6913ad086a Don’t install rust-docs, rust-src, or clippy on CI
See https://blog.rust-lang.org/2019/10/15/Rustup-1.20.0.html#profiles
2019-10-21 17:28:41 +02:00
bors-servo
ae33700c72
Auto merge of #23445 - servo:rustup_win, r=jdm
Taskcluster: use current rustup.rs on Windows

1.18.3 includes speed improvements when excracting tarballs:
https://github.com/rust-lang/rustup.rs/blob/1.18.3/CHANGELOG.md

<!-- 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/23445)
<!-- Reviewable:end -->
2019-06-21 19:30:04 -04:00
Simon Sapin
3d0be552d8 git show --pretty=%P sometimes prints a diff. Use git cat-file instead. 2019-05-23 16:38:28 -04:00
Simon Sapin
0ed6cdbb42 Compute the "task ID" only when needed 2019-05-23 16:16:40 -04:00
Josh Matthews
0edf865deb Index taskcluster tasks by merge parents if available. 2019-05-23 18:35:07 +02:00
Simon Sapin
3211c6628e Taskcluster: use current rustup.rs on Windows
1.18.3 includes speed improvements when excracting tarballs:
https://github.com/rust-lang/rustup.rs/blob/1.18.3/CHANGELOG.md
2019-05-23 13:38:34 +02:00
Josh Matthews
ceff9a61ef Allow pushing updated WPT results to git remote. 2019-05-21 21:20:38 -04:00
Josh Matthews
e2d994b354 Support features in generic-worker tasks. 2019-05-02 10:49:24 -04:00
Josh Matthews
dbdbbeb132 Move taskcluster secrets into appropriate mach commands. 2019-05-02 10:49:24 -04:00
Josh Matthews
e0e8f64f54 Move windows and mac nightly builds to taskcluster. 2019-05-02 10:22:05 -04:00
Josh Matthews
6ded5c9707 Move android nightly build to taskcluster. 2019-05-02 10:21:49 -04:00
Josh Matthews
57d241fce5 Add Windows x86 build job. 2019-04-26 08:54:24 -04:00
Josh Matthews
03f79b241c Use provided docker builder worker for github PR tasks. 2019-03-26 17:44:14 -04:00
Simon Sapin
c39dbb81e3 TC Windows: Use generic-worker "raw mounts" for the sparse-checkout file
CC https://bugzilla.mozilla.org/show_bug.cgi?id=1495732
2019-02-15 20:20:25 +01:00
Simon Sapin
7a628080ec Taskcluster: Don’t attempt to write to the index from unprivileged tasks 2019-01-07 17:47:05 +01:00
Simon Sapin
bc366d01a8 Add a script to run .taskcluster.yml expansion offline
That file’s logic is getting kinda complex
2019-01-07 15:00:06 +01:00
Simon Sapin
1031b48214 decisionlib: add with_curl_artifact_script for macOS 2018-12-14 11:35:53 +01:00
Simon Sapin
27e903bab8 Decision task: print IDs of tasks scheduled or found in the index 2018-12-13 11:38:48 +01:00
Simon Sapin
be69c01ba7 Taskcluster-Treeherder only supports submitting to one Treeherder repo :(
ff5261151a/src/handler.js (L65-L70)
2018-12-13 11:25:58 +01:00
Simon Sapin
4cd200dd61 Ensure all tasks started from decision_task.py are on Treeherder. 2018-12-13 11:04:17 +01:00
Simon Sapin
eb21ceaf98 Upload to doc.servo.org when merging to master 2018-12-12 08:28:58 +01:00
Simon Sapin
d4442f0f73 Bug 1509027 - Use more restricted scope for Treeherder routes
https://bugzilla.mozilla.org/show_bug.cgi?id=1509027
2018-12-08 01:58:36 +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
1c7dbe1036 Taskcluster: Add dev build and unit tests on macOS 2018-11-15 17:38:21 +01:00
Simon Sapin
b0d13cc254 Always build Docker images on AWS 2018-11-10 17:47:28 +01:00
Simon Sapin
a5cce280f1 Taskcluster: move curl’ing artifacts into decisionlib 2018-10-30 13:25:18 +01:00