Connor Peet
2e37be2160
Adopt Terrapin / msrustup for the CLI ( #188732 )
...
* cli: use terrapin for cli builds
* update rust to 1.70 to allow ado artifacts feed on windows
* apparently manaul cargo login is required
* use msrustup
* rustup is no longer user
* update to 1.73
* add rust oss install
2023-10-08 17:18:22 -07:00
Raymond Zhao
187fa0eff0
Ignore unloadable PDBs ( #194731 )
2023-10-07 01:39:58 +09:00
Rob Lourens
7d4027b62b
Test using nvmrc in CI ( #194836 )
...
* Test using nvmrc in CI
* Force run yarn
* fix
* Bump nvmrc to latest
* Revert "Force run yarn"
This reverts commit af741f37d5
.
* Make all jobs use node from nvmrc
And install node-gyp where needed
2023-10-04 19:08:50 -07:00
Rob Lourens
8ee50f2e21
Fix the rest of the node version references ( #194677 )
2023-10-03 00:55:32 +01:00
Rob Lourens
c9740ad40f
Try with node 18.17 ( #194663 )
...
* Try with node 18.17
* And change product compile
* Use 18.15, same as the local version
2023-10-02 15:04:23 -07:00
Matt Bierner
10d94ba0f3
Pick up latest TS nightly for building VS Code ( #194631 )
2023-10-02 19:40:35 +01:00
Christof Marti
a6b9e7c28b
Make sure node-gyp is installed ( #194494 )
2023-09-29 17:33:44 +01:00
João Moreno
ef023da6db
more defense against bad AAD auth ( #193447 )
...
add retry to check blob
2023-09-19 13:19:12 +01:00
João Moreno
7c7f7eee86
rewrite blob upload promises ( #193434 )
2023-09-19 09:18:20 +01:00
Connor Peet
17015750a3
cli: update openssl ( #192825 )
...
* cli: update openssl
* make multi-threaded
* use mt windows versions
2023-09-12 00:44:14 +02:00
Robo
1f40d64450
fix: deb and rpm dependency after keytar removal ( #192275 )
...
* fix: deb and rpm dependency after keytar removal
* chore: rm libsecret-1-dev from CI
* ci: update cache
2023-09-06 05:24:39 -07:00
João Moreno
6b74d08f5b
💄 ( #191313 )
...
cc @rzhao271
2023-08-25 15:14:07 +02:00
Raymond Zhao
083fca1325
Codesign Debian package for PMC API ( #191140 )
...
* Codesign Debian package for PMC API
* Fix directory name
* polish displayName
2023-08-25 09:29:01 +09:00
Connor Peet
76985ae781
build: fix alpine cli build ( #190266 )
2023-08-11 17:27:41 +01:00
Connor Peet
52840e3ca5
cli: cleanup build ( #190213 )
...
- Remove the `prepare` script entirely
- Variables are now populated from the product.json during build. Most
variables are mapped automatically, with some special handling in a
few cases. `build.rs` is now much more self-contained.
- Look for the `product.overrides.json` for vscode developers instead of
looking for a peer `vscode-distro` folder
Fixes #178691
2023-08-10 20:14:30 -07:00
Robo
6dd6bdfb00
chore: update Electron v25.4.0 ( #189904 )
...
* chore: some cleanups from the Electron v25 update
* chore: update Electron@25.4.0
* chore: update issue reference
* chore: bump distro
2023-08-09 11:30:08 +02:00
Raymond Zhao
2159f75d4b
Fix node-gyp not found error ( #189942 )
2023-08-08 13:42:53 -07:00
Raymond Zhao
a138e61f7a
Compile debug version of native-keymap ( #189588 )
...
* Compile debug version of native-keymap
Ref https://github.com/microsoft/vscode/issues/189019
* cd back to original dir
* Move block
* Move script up
2023-08-08 08:52:06 +09:00
Robo
ea490e5545
chore: update to Electron 25 ( #188268 )
...
* chore: update electron@25.3.0
* ci: update NodeTool version
* chore: update @types/node
* add more common types to layers checker
* chore: update debian dependencies
* chore: update rpm dependencies
* fix: use legacy dns result order of Node.js
* ci: remove deprecated always-auth npm config
Refs npm/cli@72a7eeb
* chore: update deb and rpm dependencies
* chore: update armhf rpm dependencies
* chore: update x64 debian dependencies
* chore: update x64 rpm dependencies
* chore: update electron@25.3.1
* chore: update electron@25.4.0
* chore: bump distro
* chore: bump distro
---------
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-08-07 21:46:27 +09:00
Connor Peet
0d22bb7efa
cli: update dependencies for s360 ( #189562 )
...
* cli: update dependencies for s360
* update rust
2023-08-03 18:05:46 +01:00
Connor Peet
58abf70a45
build: fix binary not being included when linux archives are made ( #189443 )
...
Fixes #189383
2023-08-02 11:06:44 +09:00
Robo
8147d6bee1
fix: bump node-gyp dependency to v9.4.0 ( #189308 )
2023-07-31 06:53:30 -07:00
João Moreno
f6a5c0ca02
log releaseBuild.ts ( #189170 )
2023-07-28 15:18:03 +01:00
João Moreno
dd149c2255
fix npe in build ( #189095 )
...
fixes #189070
2023-07-27 21:48:22 +01:00
Robo
268f34992c
fix: missing condition in createAsset ( #189026 )
2023-07-27 07:36:08 +01:00
João Moreno
97700a36ca
fix build issue when retrying after one cdn failure ( #188939 )
2023-07-26 10:20:46 -07:00
Benjamin Pasero
82ced13b61
Retry playwright installs ( fix #188453 ) ( #188646 )
2023-07-24 08:58:11 +02:00
Robo
4df4f694c3
ci: install qemu for alpine arm64 ( #188455 )
2023-07-21 09:51:34 +02:00
Robo
7628b550c0
ci: fix oss node_modules cache pipeline ( #188448 )
...
* ci: fix oss node_modules cache pipeline
* align all "Install build dependencies" steps
---------
Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2023-07-21 09:40:53 +02:00
Robo
2509b7f504
ci: fix alpine build ( #188446 )
2023-07-21 08:41:43 +02:00
Robo
00039b0fcf
refactor: linux pipeline to use containers only for yarn step ( #188383 )
...
* ci: use container only in yarn step
* chore: invalidate cache
* chore: install missing deps for packaging
* chore: remove duplicate package installations
* fix: oss build
* chore: separate deb and rpm package preparation
* chore: mount out folder when packaging
* ci: switch to official docker image
2023-07-20 21:02:56 -07:00
João Moreno
16ca37cae9
skip group policy and explorer sparse package in CIBUILD runs ( #188346 )
2023-07-20 11:52:57 +02:00
Christof Marti
6ae441b56f
Kerberos auth for proxies ( #188130 )
2023-07-19 20:11:00 +02:00
João Moreno
4221074653
fix windows servers, add top level folders ( #187906 )
2023-07-14 10:14:19 +02:00
João Moreno
6bad769697
make sure publishing is the last thing in each pipeline ( #187708 )
...
this fixes a rare issue in which the second Generate SBOM
task will fail, so a second attempt at running the pipeline will
fail when publishing the first Publish SBOM task, since it
would already have been published
2023-07-12 14:36:51 +02:00
João Moreno
d568855b2a
build: prevent re-upload of builds ( #187680 )
...
would've prevented what #187575 fixed
2023-07-12 11:39:27 +02:00
Connor Peet
ef8b1483fc
build: use new cli patch method ( #187629 )
2023-07-11 13:47:08 -07:00
João Moreno
f8782370c9
fix windows archive packages ( #187585 )
2023-07-11 15:52:32 +02:00
João Moreno
cac438f1bf
fix windows build ( #187575 )
2023-07-11 14:58:06 +02:00
João Moreno
a044e57b07
still run tests on win32-ia32, but make them optional to pass ( #187474 )
...
* still run tests on win32-ia32, but make them optional to pass
* hm
* ok
* try this
2023-07-11 14:29:02 +02:00
João Moreno
ef4206956a
always roll processed artifacts forward ( #187465 )
2023-07-10 17:12:32 +02:00
João Moreno
6d1066875e
isolate artifacts from attempted runs ( #187437 )
...
* isolate artifacts from attempted runs
* set ARTIFACT_PREFIX to empty string first
* cleaner
2023-07-10 16:15:29 +02:00
João Moreno
5150ef0ce7
disable tests on win32-ia32 ( #187313 )
2023-07-07 15:47:05 -07:00
João Moreno
0917209e9a
Always publish build artifacts, if built ( #187134 )
...
* always publish build artifacts, if built
fixes #187122
* fix windows build
* fix builds
* fix
* more fixes
* further debug
* fix yarn
* remove debug
* remove 7zip dependency
* fix snap
2023-07-07 11:45:35 -07:00
João Moreno
9f6b76bdb5
schedule a non-releasing 7pm build ( #186548 )
2023-06-28 21:08:44 +02:00
João Moreno
998951e5ed
propagate gh token ( #186197 )
2023-06-26 20:30:03 +02:00
Rob Lourens
7f5de39970
Delete old settings search config uploader ( #185818 )
2023-06-21 17:15:31 -07:00
Robo
b4dd4d51fa
ci: switch to bionic agents for arm64 and armhf clients ( #184906 )
...
* ci: switch to bionic agents for arm64 and armhf clients
* ci: invalidate cache
* ci: fix docker client installation
* chore: update debian dependencies
* chore: update rpm dependencies
2023-06-13 00:50:36 +09:00
Raymond Zhao
06ae4b61c2
Bump windows-mutex to 0.4.4 ( #184366 )
...
Also adds OS-specific .moduleignore files
2023-06-09 09:40:10 -07:00
Connor Peet
49535d6a04
build: fix missing param for build ( #184660 )
2023-06-09 01:10:08 +02:00
Ladislau Szomoru
cad3a1c656
Engineering - skip property mangling in PR builds ( #184584 )
2023-06-08 12:42:40 +02:00
Connor Peet
e686621e2e
cli: avoid running prepare a second time in ci ( #184558 )
2023-06-08 02:22:44 +02:00
Connor Peet
9de813729c
build: install clippy when building cli in ci ( #184554 )
2023-06-07 16:40:30 -07:00
Connor Peet
43742d891d
Run a lint build of the CLI in CI ( #184545 )
...
* cli: adopt sccache for speedier cli compilations
* only cache common linux x64 build
* instead, only dev compile/clippy lint in ci
2023-06-07 15:48:55 -07:00
Aaron Munger
5c7b2b89fe
add project to build, add integration tests into shell script
2023-06-05 14:19:51 -07:00
Ladislau Szomoru
15dc0b5af3
Engineering - fix CLI build for Alpine ARM64 ( #184309 )
...
* Add task to install yarn
* Move task
* Add condition
2023-06-05 12:05:51 +02:00
Connor Peet
eb44b5ef6c
build: don't apply cli 'patches' for merge check ( #184210 )
...
* build: don't apply cli 'patches' for merge check
This also needed modules installed. But with the new toml patches, the 'merge' will never fail outright, so there's no need to do a separate merge check for it imo
* reduce duplication in pipelines, cache node_modules
2023-06-02 22:29:48 +02:00
Connor Peet
be433ac136
build: install packages for distro mixin ( #184207 )
2023-06-02 21:44:18 +02:00
Connor Peet
42015fe01c
build: support structured toml patches to reduce build breakage ( #184201 )
...
Currently the Cargo.toml patches are git patches, but these can break
easily when surrounding lines are changed. Instead this lets us make
"Cargo.patch.toml" which gets a structured merge.
2023-06-02 12:09:16 -07:00
Connor Peet
78643b05d5
cli: bump to openssl 1.1.1u ( #183828 )
2023-05-30 20:44:56 +02:00
Robo
75e38cd91d
chore: remove library entitlements from main helper executable ( #182731 )
2023-05-17 10:35:11 +02:00
SteVen Batten
51b8bdc782
updating tsa options ( #182651 )
...
* updating tsa options
* add template
2023-05-16 18:49:25 +02:00
Connor Peet
d3d9f86116
cli: store cli in user data dir, separate per quality ( #182102 )
...
* cli: store cli in user data dir, separate per quality
Fixes #181017
On first run, the `~/.vscode-cli` will be migrated inside the user data dir of the currently running quality.
* use create_dir_all instead
* clippy fixes
2023-05-10 13:09:23 -07:00
SteVen Batten
92cc596fce
tsaoptions for codeql ( #181459 )
2023-05-04 08:42:45 -07:00
SteVen Batten
baf7119fd7
enable tsa for sdl scan ( #181269 )
2023-05-01 21:10:44 +02:00
João Moreno
14ea89e7ca
build: quieter node module cache logging ( #180709 )
2023-04-25 08:26:56 +02:00
Martin Aeschlimann
dad6ca32fc
adopt tunnel mutex name change ( #180524 )
2023-04-21 17:49:10 +02:00
Raymond Zhao
ee76f103e1
Use custom node-gyp for SDL pipeline ( #179723 )
...
* Use custom node-gyp
* Avoid using relative cd
* Remove ia32 for Linux
* Bump gulp-atom-electron; unblocks downloading PDBs
* Add native-is-elevated to the scan
2023-04-21 09:15:05 +09:00
Raymond Zhao
6f0421755f
Use custom node-gyp in product build ( #179612 )
...
Co-authored-by: Robo <hop2deep@gmail.com>
2023-04-13 08:04:41 -07:00
Connor Peet
ca9404bd2f
cli: read tunnel lock from product.json ( #179800 )
...
Fixes #179265
2023-04-12 18:52:37 +01:00
Connor Peet
b547b58db6
cli: use win32 app mutex to detect running tunnels and tunnel sevices ( #179622 )
...
* cli: fix distro mixin
* cli: use win32 app mutex to detect running tunnels and tunnel sevices
Fixes #179265
* cli: fix distro mixin more
* fix
* fix build
2023-04-10 20:25:14 +01:00
Robo
47426871d7
ci: fix symbol download for SDL pipeline ( #179030 )
2023-04-05 20:43:18 +02:00
João Moreno
19f5801470
fix CI by always installing prebuilt extensions ( #179247 )
...
fix CI by installing prebuilt extensions
2023-04-05 14:24:51 +02:00
Ladislau Szomoru
d6dae3a640
Engineering - update build agents ( #179244 )
...
* Engineering - update build agents
* Update ARM64 agent pool name
* Switch to windows 2019 agents
2023-04-05 12:54:37 +02:00
Ladislau Szomoru
59ec5734f1
Engineering - fix job name casing ( #179236 )
2023-04-05 09:31:29 +02:00
Connor Peet
6b0d9d79e1
build: properly install built-in extensions for tests ( #179216 )
...
Uses a cache and GH token to avoid hitting rate limits.
Fixes #179181
2023-04-05 01:53:46 +02:00
Ladislau Szomoru
9d486269f1
Engineering - update agent pool ( #179190 )
2023-04-04 23:32:22 +02:00
Ladislau Szomoru
48d3110be1
Engineering - update OSS build agents ( #179099 )
...
Update build agents
2023-04-04 10:24:50 +02:00
João Moreno
887b24796e
fix build ( #179093 )
2023-04-04 09:29:40 +02:00
João Moreno
accffe11a5
automate private build detection ( #179011 )
...
* automate private build detection
* debug
* debug
* fixup
2023-04-03 17:10:13 +02:00
João Moreno
1ee72c4854
fix vscode scan pipeline ( #178997 )
2023-04-03 15:31:51 +02:00
Robo
e5f61433b5
chore: update to Electron 22 ( #177600 )
...
* Revert "chore: revert to Electron 19 (#175851 )"
This reverts commit 3a11b47eee
.
* chore: bump electron@22.3.3
* build: use custom version for V8 sandbox
* chore: update electron@22.4.1
* chore: enable forceAllocationsToV8Sandbox for extension host
* chore: bump electron@22.4.2
* chore: bump electron@22.4.3
* sandbox - cleanup from electron 22 update (#178919 )
* Revert "chore: revert to Electron 19 (#175851 )"
This reverts commit 3a11b47eee
.
* chore: bump electron@22.3.3
* build: use custom version for V8 sandbox
* chore: update electron@22.4.1
* chore: enable forceAllocationsToV8Sandbox for extension host
* chore: bump electron@22.4.2
* chore: bump electron@22.4.3
* temp: update distro
* sandbox - cleanup from electron 22 update
* missing comile
* more changes
* fix build
* restore
* 💄
* compile
---------
Co-authored-by: deepak1556 <hop2deep@gmail.com>
---------
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-04-03 09:09:31 +02:00
João Moreno
1cbef3e6ce
Fix CI ( #178944 )
...
* fixed CI
* to revert: fake VSCODE_CIBUILD
* fix darwin build
* Revert "to revert: fake VSCODE_CIBUILD"
This reverts commit f9d5378c8b
.
* why devops
* devops and variables are weird
* fix pr build
* fix macos
2023-04-03 15:14:08 +09:00
João Moreno
2da5a0024f
don't run windows CLI build in ci ( #178921 )
2023-04-02 10:56:15 +02:00
João Moreno
aac80c3f0a
Adopt new distro format ( #178689 )
...
* Simplify distro
Also a ton of drive-by fixing around builds:
- simplified many oneliners
- fixed missing custom npm registry call setups
- remove unnecessary and duplicate work during builds
- many many fixes
2023-04-02 09:35:39 +02:00
João Moreno
6fe3014566
Workaround code signing issues ( #178071 )
...
* use dot net 6 for codesigning
* make esrpclienttool use continueOnError
* another one
* fix path
* argh
2023-03-23 10:52:34 +01:00
Logan Ramos
a32f38f8ae
Temporarily skip extracting node-debug2 ( #177131 )
...
Temporarily skip extracting node-debug-2
2023-03-14 20:52:50 +01:00
Connor Peet
1b5fd140fb
Run tunnels as singleton process (for a --cli-data-dir) ( #177002 )
...
* wip on singleton
* wip
* windows support
* wip
* wip
* fix clippy
2023-03-14 08:09:47 -07:00
Robo
502ac5b213
ci: switch to core20 for snap ( #127320 )
...
* ci: switch to core20 for snap
* chore: update rpath of crashpad handler
* chore: remove unused exports
2023-03-08 18:14:55 -08:00
João Moreno
7e5c00f860
remove unused schedule ( #175898 )
2023-03-02 16:06:29 +01:00
Robo
3a11b47eee
chore: revert to Electron 19 ( #175851 )
...
* Revert "Update to min supported version of node (#175723 )"
This reverts commit f749e6be2d
.
* Revert "chore: update min node version for development (#175663 )"
This reverts commit f2a822fbe9
.
* Revert "electron 22 sandbox - enable for OSS (#175659 )"
This reverts commit 2551af21f8
.
* Revert "chore: update to Electron 22 (#166430 )"
This reverts commit 6e85d2b51e
.
2023-03-02 02:58:46 -08:00
Connor Peet
26fe31fc66
update openssl-prebuild for musl failures ( #175731 )
...
* update openssl-prebuild for musl failures
* reapply vendoring
* reapply macos pipeline fix
2023-03-01 08:57:45 +01:00
Connor Peet
f8119e9beb
Revert "cli: fix static import of openssl ( #175681 )" ( #175727 )
...
This reverts commit 7014a17b1f
.
2023-03-01 07:43:32 +01:00
Connor Peet
d4612fb717
cli: fix build for x64 musl ( #175700 )
...
try
2023-02-28 14:09:29 -08:00
Connor Peet
7014a17b1f
cli: fix static import of openssl ( #175681 )
...
* cli: fix static import of openssl
* update dev tunnels
2023-02-28 11:20:58 -08:00
Robo
6e85d2b51e
chore: update to Electron 22 ( #166430 )
...
* chore: bump electron@22.0.0-beta.5
* chore: bump electron@22.0.0-beta.7
* chore: update libc++ flags
* chore: switch to c++17
* chore: bump electron@22.0.0
* chore: bump electron@22.0.2
* chore: cleanup build config for linux
* chore: update debian dependencies
* chore: update rpm dependencies
* chore: update electron@22.0.3
* chore: bump electron@22.2.0
* chore: remove deprecated utility process invoker
* chore: bump electron@22.2.1
* chore: remove unused methods
* chore: update internal electron version
* chore: bump electron@22.3.0
* temp: update electron with default PGO
* chore: bump electron@22.3.1
* cleanup
---------
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-02-28 07:04:00 -08:00
SteVen Batten
174600ec07
fix build ( #174596 )
2023-02-16 17:56:20 +01:00
SteVen Batten
a28dc84d88
warn on CG alerts ( #174591 )
2023-02-16 17:30:16 +01:00
João Moreno
b4db415a10
cdn: only gzip encode known mimetypes ( #174577 )
2023-02-16 15:30:46 +01:00
SteVen Batten
49055d2286
add am task to sdl scan ( #173954 )
2023-02-09 07:45:30 -08:00