1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# 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
config = {
"default_actions": [
"get-secrets",
"build",
],
"vcs_share_base": os.path.join(os.getcwd(), "checkouts", "hg-shared"),
"max_build_output_timeout": 60 * 80,
"env": {
"HG_SHARE_BASE_DIR": os.path.join(os.getcwd(), "checkouts", "hg-shared"),
"MOZBUILD_STATE_PATH": os.path.join(os.getcwd(), ".mozbuild"),
"MOZ_CRASHREPORTER_NO_REPORT": "1",
"MOZ_OBJDIR": "%(abs_obj_dir)s",
"TINDERBOX_OUTPUT": "1",
"WORKSPACE": "%(base_work_dir)s",
"PATH": "/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin",
},
"upload_env": {
"UPLOAD_PATH": os.path.join(os.getcwd(), "public", "build"),
},
"secret_files": [
{
"filename": "gls-gapi.data",
"secret_name": "project/releng/gecko/build/level-%(scm-level)s/gls-gapi.data",
"min_scm_level": 1,
},
{
"filename": "sb-gapi.data",
"secret_name": "project/releng/gecko/build/level-%(scm-level)s/sb-gapi.data",
"min_scm_level": 1,
},
{
"filename": "mozilla-desktop-geoloc-api.key",
"secret_name": "project/releng/gecko/build/level-%(scm-level)s/mozilla-desktop-geoloc-api.key",
"min_scm_level": 2,
"default": "try-build-has-no-secrets",
},
],
}
|