aboutsummaryrefslogtreecommitdiffstats
path: root/etc/taskcluster/macos/modules/pillar/taskcluster_secrets.py
blob: 7283f6ec088a06bc150091478f9a01a6cad02002 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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.livelog())
    return data