Debian Codegraph @

testing/mozharness/configs/builds/taskcluster_base_macosx.py

raw
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
5 import os
6
7 config = {
8 "default_actions": [
9 "get-secrets",
10 "build",
11 ],
12 "vcs_share_base": os.path.join(os.getcwd(), "checkouts", "hg-shared"),
13 "max_build_output_timeout": 60 * 80,
14 "env": {
15 "HG_SHARE_BASE_DIR": os.path.join(os.getcwd(), "checkouts", "hg-shared"),
16 "MOZBUILD_STATE_PATH": os.path.join(os.getcwd(), ".mozbuild"),
17 "MOZ_CRASHREPORTER_NO_REPORT": "1",
18 "MOZ_OBJDIR": "%(abs_obj_dir)s",
19 "TINDERBOX_OUTPUT": "1",
20 "WORKSPACE": "%(base_work_dir)s",
21 "PATH": "/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin",
22 },
23 "upload_env": {
24 "UPLOAD_PATH": os.path.join(os.getcwd(), "public", "build"),
25 },
26 "secret_files": [
27 {
28 "filename": "gls-gapi.data",
29 "secret_name": "project/releng/gecko/build/level-%(scm-level)s/gls-gapi.data",
30 "min_scm_level": 1,
31 },
32 {
33 "filename": "sb-gapi.data",
34 "secret_name": "project/releng/gecko/build/level-%(scm-level)s/sb-gapi.data",
35 "min_scm_level": 1,
36 },
37 {
38 "filename": "mozilla-desktop-geoloc-api.key",
39 "secret_name": "project/releng/gecko/build/level-%(scm-level)s/mozilla-desktop-geoloc-api.key",
40 "min_scm_level": 2,
41 "default": "try-build-has-no-secrets",
42 },
43 ],
44 }