Debian Codegraph @

testing/mozharness/configs/builds/taskcluster_base_windows.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 ntpath
6 import os
7
8 HG_SHARE_BASE_DIR = ntpath.join(
9 ntpath.dirname(ntpath.normpath(os.environ["HG_CACHE"])),
10 "hg-shared",
11 )
12
13 config = {
14 "default_actions": [
15 "get-secrets",
16 "build",
17 ],
18 "vcs_share_base": HG_SHARE_BASE_DIR,
19 "max_build_output_timeout": 60 * 80,
20 "env": {
21 "HG_SHARE_BASE_DIR": HG_SHARE_BASE_DIR,
22 "MOZBUILD_STATE_PATH": os.path.join(os.getcwd(), ".mozbuild"),
23 "MOZ_CRASHREPORTER_NO_REPORT": "1",
24 "MOZ_OBJDIR": "%(abs_obj_dir)s",
25 "TINDERBOX_OUTPUT": "1",
26 "TOOLTOOL_CACHE": "c:/builds/tooltool_cache",
27 "TOOLTOOL_HOME": "/c/builds",
28 "MSYSTEM": "MINGW32",
29 "WORKSPACE": "%(base_work_dir)s",
30 },
31 "upload_env": {
32 "UPLOAD_PATH": os.path.join(os.getcwd(), "public", "build"),
33 },
34 "secret_files": [
35 {
36 "filename": "gls-gapi.data",
37 "secret_name": "project/releng/gecko/build/level-%(scm-level)s/gls-gapi.data",
38 "min_scm_level": 1,
39 },
40 {
41 "filename": "sb-gapi.data",
42 "secret_name": "project/releng/gecko/build/level-%(scm-level)s/sb-gapi.data",
43 "min_scm_level": 1,
44 },
45 {
46 "filename": "mozilla-desktop-geoloc-api.key",
47 "secret_name": "project/releng/gecko/build/level-%(scm-level)s/mozilla-desktop-geoloc-api.key",
48 "min_scm_level": 2,
49 "default": "try-build-has-no-secrets",
50 },
51 ],
52 }