@@ -21,7 +21,8 @@ Remove-Item $FETCHES_PATH/VisualStudio/VC/Tools/MSVC/14.30.30705/bin/HostX64/x64
21
21
# Fetch 3rdparty stuff.
22
22
python3 - m pip install - r requirements.txt -- user
23
23
python3 - m pip install - r taskcluster/ scripts/ requirements.txt -- user
24
- git submodule update -- init -- force -- recursive -- remote -- depth= 1
24
+ git submodule update -- init -- force -- recursive -- depth= 1
25
+ git submodule update -- remote i18n
25
26
26
27
# Fix: pip scripts are not on path by default on tc, so glean would fail
27
28
$PYTHON_SCRIPTS = resolve-path " $env: APPDATA \Python\Python36\Scripts"
@@ -57,13 +58,13 @@ $BUILD_DIR =resolve-path "$TASK_WORKDIR/cmake_build"
57
58
58
59
cmake -- version
59
60
if ($env: MOZ_SCM_LEVEL -eq " 3" ) {
60
- # Only on a release build we have access to those secrects.
61
+ # Only on a release build we have access to those secrects.
61
62
python3 ./ taskcluster/ scripts/ get-secret .py - s project/ mozillavpn/ tokens - k sentry_dsn -f sentry_dsn
62
63
python3 ./ taskcluster/ scripts/ get-secret .py - s project/ mozillavpn/ tokens - k sentry_envelope_endpoint -f sentry_envelope_endpoint
63
64
python3 ./ taskcluster/ scripts/ get-secret .py - s project/ mozillavpn/ tokens - k sentry_debug_file_upload_key -f sentry_debug_file_upload_key
64
65
$SENTRY_ENVELOPE_ENDPOINT = Get-Content sentry_envelope_endpoint
65
66
$SENTRY_DSN = Get-Content sentry_dsn
66
- #
67
+ #
67
68
cmake - S . - B $BUILD_DIR - GNinja - DCMAKE_BUILD_TYPE= Release - DSENTRY_DSN= " $SENTRY_DSN " - DSENTRY_ENVELOPE_ENDPOINT= " $SENTRY_ENVELOPE_ENDPOINT "
68
69
} else {
69
70
# Do the generic build
@@ -85,9 +86,9 @@ Get-ChildItem -Path $TASK_WORKDIR/artifacts
85
86
86
87
if ($env: MOZ_SCM_LEVEL -eq " 3" ) {
87
88
sentry-cli-Windows-x86_64.exe login -- auth- token $ (Get-Content sentry_debug_file_upload_key)
88
- # This will ask sentry to scan all files in there and upload
89
+ # This will ask sentry to scan all files in there and upload
89
90
# missing debug info, for symbolification
90
- sentry-cli-Windows-x86_64.exe debug-files upload -- org mozilla - p vpn- client $BUILD_DIR / src/ CMakeFiles/ mozillavpn.dir/ vc140.pdb
91
+ sentry-cli-Windows-x86_64.exe debug-files upload -- org mozilla - p vpn- client $BUILD_DIR / src/ CMakeFiles/ mozillavpn.dir/ vc140.pdb
91
92
}
92
93
93
94
# mspdbsrv might be stil running after the build, so we need to kill it
0 commit comments