Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd rudimentary .taskcluster.yml #17580
Conversation
|
A few style nits; please also fix the |
| @@ -0,0 +1,15 @@ | |||
| #! /bin/bash | |||
|
|
|||
| ./mach clean-nightlies --keep 3 --force | |||
This comment has been minimized.
This comment has been minimized.
aneeshusa
Jun 30, 2017
Member
I don't think we need this on TC (since the caching is different there).
| events: [] | ||
| payload: | ||
| maxRunTime: 3600 | ||
| image: servobrowser/servo-linux-dev |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
edunham
Jul 6, 2017
Author
Contributor
I'd prefer to not pin this quite yet, as we may need to iterate on the image due to TaskCluster failures and using the latest will save us a lot of spurious commits to the Servo repo. However, we should pin it before we consider gating on TaskCluster results.
This comment has been minimized.
This comment has been minimized.
gregarndt
Jul 7, 2017
So one of the cool things here is if you're trying to get the task just right and iterating on the image and task definition, you could do so using the task creator on our tools site. we can give you permissions to create tasks for the worker type that can be used for servo and you can just iterate there rather than having to edit things in this repo.
| - >- | ||
| git clone {{event.head.repo.url}} servo && cd servo && git config | ||
| advice.detachedHead false && git checkout {{event.head.sha}} && | ||
| etc/ci/taskcluster-test.sh |
This comment has been minimized.
This comment has been minimized.
aneeshusa
Jun 30, 2017
Member
Would be nice if each command was on a separate line, or at the least no command was split across multiple lines.
| etc/ci/taskcluster-test.sh | ||
| metadata: | ||
| name: linux-tests | ||
| description: run linux tests similarly to BuildBot |
This comment has been minimized.
This comment has been minimized.
aneeshusa
Jun 30, 2017
Member
nit: capitalize, IMO no need to reference BuildBot, maybe mention linux-dev?
| @@ -0,0 +1,15 @@ | |||
| #! /bin/bash | |||
|
|
|||
This comment has been minimized.
This comment has been minimized.
aneeshusa
Jun 30, 2017
Member
I'm not sure if taskcluster already does folding or something like Travis, but it would be nice to add set -x or something so that it's easier to figure out which step fails in the case of an error.
|
Thanks! Those are now fixed. |
|
LGTM, although I still think it might be helpful to add Once this is merged, will TC automatically start running builds? |
|
Oh, also don't forget to make the |
|
|
gregarndt
commented
Aug 17, 2017
|
Just checking in, how's this going? anything we can help out with? |
|
@bors-servo r=aneeshusa |
|
|
Add rudimentary .taskcluster.yml Template mostly from https://tools.taskcluster.net/quickstart/. Steps from the linux-dev builder in etc/ci/buildbot_steps.yml, but with the real parts commented out for speed during the testing process. r? @aneeshusa I got the first-draft image built and pushed to docker hub at https://hub.docker.com/r/servobrowser/servo-linux-dev which is what this is set to pull from. cc @gregarndt @imbstack <!-- 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/17580) <!-- Reviewable:end -->
|
|
|
Our shell script linter is not so smart and requires the Also, please squash these commits into one so we have good commit messages/history. |
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.
|
Moved & squashed up. r? @aneeshusa |
|
Thanks for finishing this up! @bors-servo r+ |
|
|
Add rudimentary .taskcluster.yml Template mostly from https://tools.taskcluster.net/quickstart/. Steps from the linux-dev builder in etc/ci/buildbot_steps.yml, but with the real parts commented out for speed during the testing process. r? @aneeshusa I got the first-draft image built and pushed to docker hub at https://hub.docker.com/r/servobrowser/servo-linux-dev which is what this is set to pull from. cc @gregarndt @imbstack <!-- 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/17580) <!-- Reviewable:end -->
|
|
edunham commentedJun 30, 2017
•
edited by larsbergstrom
Template mostly from https://tools.taskcluster.net/quickstart/. Steps from the
linux-dev builder in etc/ci/buildbot_steps.yml, but with the real parts
commented out for speed during the testing process.
r? @aneeshusa
I got the first-draft image built and pushed to docker hub at https://hub.docker.com/r/servobrowser/servo-linux-dev which is what this is set to pull from.
cc @gregarndt @imbstack
This change is