Jack Grigg
7 years ago
4 changed files with 70 additions and 6 deletions
@ -0,0 +1,10 @@ |
|||
--- |
|||
- name: Check if brew is installed |
|||
stat: |
|||
path: /usr/local/bin/brew |
|||
register: brew_check |
|||
|
|||
- name: Fail if brew is unavailable |
|||
fail: |
|||
msg: 'brew is not installed! Please install Homebrew: https://docs.brew.sh/Installation.html' |
|||
when: not brew_check.stat.exists |
@ -0,0 +1,23 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
|||
<plist version="1.0"> |
|||
<dict> |
|||
<key>Label</key> |
|||
<string>net.buildbot.worker</string> |
|||
<key>ProgramArguments</key> |
|||
<array> |
|||
<string>{{ buildbot_worker_dir }}/venv/bin/buildbot-worker</string> |
|||
<string>start</string> |
|||
<string>{{ buildbot_worker_name }}</string> |
|||
</array> |
|||
<key>WorkingDirectory</key> |
|||
<string>{{ buildbot_worker_dir }}</string> |
|||
<key>UserName</key> |
|||
<string>{{ buildbot_worker_user }}</string> |
|||
<key>KeepAlive</key> |
|||
<dict> |
|||
<key>NetworkState</key> |
|||
<true/> |
|||
</dict> |
|||
</dict> |
|||
</plist> |
@ -0,0 +1,5 @@ |
|||
--- |
|||
buildbot_deps: |
|||
- coreutils # For gnproc etc. |
|||
# Already installed |
|||
build_deps: [] |
Loading…
Reference in new issue