mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
generic-worker on macOS: run as unprivileged user, start as a service
This commit is contained in:
parent
889d479935
commit
70f507879f
8 changed files with 115 additions and 16 deletions
16
etc/taskcluster/macos/modules/pillar/taskcluster_secrets.py
Normal file
16
etc/taskcluster/macos/modules/pillar/taskcluster_secrets.py
Normal file
|
@ -0,0 +1,16 @@
|
|||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
import os
|
||||
import sys
|
||||
sys.path.append(os.path.join(os.path.dirname(__file__), "..", "..", "..", "packet.net"))
|
||||
import tc
|
||||
|
||||
|
||||
def ext_pillar(_minion_id, _pillar, *_args):
|
||||
tc.check()
|
||||
data = {}
|
||||
data.update(tc.secret("project/servo/tc-client/worker/macos/1"))
|
||||
data.update(tc.secret("project/servo/livelog-secret/1"))
|
||||
return data
|
Loading…
Add table
Add a link
Reference in a new issue