-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Taskcluster: add dev build and unit tests on macOS #22185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
etc/taskcluster/macos/Saltfile
Outdated
@@ -0,0 +1,2 @@ | |||
salt-ssh: | |||
config_dir: ./config |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing newlines at eof for most of these files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
file.managed: | ||
- mode: 644 | ||
- template: jinja | ||
- contents: >- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it possible to store this file separately?
i suppose the substs make this harder
nah, we use files with substs in our current salt setup: https://github.com/servo/saltfs/blob/master/homu/init.sls#L69
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
- contents: |- | ||
#!/bin/sh | ||
# generic-worker overwrites its config file to fill in defaults, | ||
# but we want to avoid touching config.json here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
try to split this into its own file if possible
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed as part of another change.
|
||
* Add a correponding entry in the `config/roster` file. | ||
|
||
* Log in through VNC, and run `xcode-select --install` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/servo/servo/wiki/SaltStack-Administration has a number of other steps we follow right now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I’m hoping to make some of those taken care of by Salt or by tasks, but installing XCode requires GUI interaction.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, this document is intended to expand over time as we do more, it is not at an end state. This is documenting what I’ve done so far and how to reproduce it.
☔ The latest upstream changes (presumably #22201) made this pull request unmergeable. Please resolve the merge conflicts. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me
@bors-servo r=Manishearth |
📌 Commit 1c7dbe1 has been approved by |
Taskcluster: add dev build and unit tests on macOS For simplicity, Salt is used in [agentless](https://docs.saltstack.com/en/getstarted/ssh/) mode for now. I’m also hoping to have most of the dependencies be installed by tasks for themselves, so that changes can be made in the same `servo/servo` PR that uses them without redeploying servers. <!-- 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/22185) <!-- Reviewable:end -->
💔 Test failed - mac-rel-css2 |
@bors-servo retry |
⚡ Previous build results for android, android-mac, android-x86, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, status-taskcluster, windows-msvc-dev are reusable. Rebuilding only mac-rel-css1, mac-rel-css2... |
☀️ Test successful - android, android-mac, android-x86, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, status-taskcluster, windows-msvc-dev |
For simplicity, Salt is used in agentless mode for now.
I’m also hoping to have most of the dependencies be installed by tasks for themselves, so that changes can be made in the same
servo/servo
PR that uses them without redeploying servers.This change is