Commit Graph

538 Commits

Author SHA1 Message Date
Robo
1413fc87a7 feat: create and upload legacy remote server (#204139) 2024-03-18 11:09:55 +01:00
Robo
974c6b3fb9 chore: update to electron 28 (#203956)
* chore: update electron@28.1.4

* ci: use latest Node.js v18 release

18.18.2 has npm version that has removed the node-gyp script
which will cause native modules fail to build that rely on
something like `install: node-gyp rebuild`

Refs c93edb55f5

* chore: update rpm dependencies

* chore: bump electron@28.2.1

* chore: bump nodejs@18.18.2

* chore: bump electron@28.2.2

* chore: bump distro
2024-02-26 12:11:47 +01:00
Robo
cf7ddbb51d fix: use legacy server as default with additional warnings (#204377)
* ci: switch to glibc 2.17 remote server

* chore: signal user about unsupported connection

* chore: address review comments

* chore: update nodejs build

* chore: bump distro

* chore: lower the minimum requirements

* fix: glibc version check

* chore: remove explicit connection disposal
2024-02-06 11:25:58 +01:00
Connor Peet
7e2981e8a6 eng: fix missing VSCODE_CHECK_ONLY in CLI publish step (#203926) 2024-01-31 21:25:26 +01:00
Connor Peet
3ad2e082c5 eng: group cli build vs publish steps (#203920)
Fixes #203871
2024-01-31 11:22:50 -08:00
Robo
1396f9c827 ci: fix debian packaging step failing to download sysroot (#202973) 2024-01-22 08:12:40 +01:00
Robo
e7b5076dd7 refactor: use sysroots on linux prod pipeline (#192513)
* ci: use sysroots on linux prod pipeline to build native modules

* ci: rebuild after electron update
2023-12-12 11:39:00 +01:00
Robo
12fece34ed chore: update to electron 27 (#197539)
* chore: update electron@27.0.2

* chore: update debian dependencies

* chore: bump electron@27.0.4

* chore: bump electron@27.1.0

* chore: bump electron@27.1.3

* chore: bump distro
2023-12-07 10:48:24 +01:00
João Moreno
0b111a09a1 Publish to new CDN (#198154) 2023-11-16 07:19:59 +01:00
Benjamin Pasero
14678c041f eng - ensure node for remote smoke tests (#197509)
end - ensure `node` for remote smoke tests
2023-11-06 16:21:36 +09:00
Connor Peet
9934a6b4ef cli: bump openssl (#197404) 2023-11-03 21:32:30 +01:00
João Moreno
417e17038c Use NodeJS mirror for more reliable downloads (#196038)
get node from mirror
2023-10-20 09:53:57 +02:00
Raymond Zhao
880cb517e1 Add more SBOMs (#195736) 2023-10-17 15:55:55 -07:00
Raymond Zhao
18a25cd5d6 Clarify pipeline actions (#195197) 2023-10-11 09:05:00 -07: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
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
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
58abf70a45 build: fix binary not being included when linux archives are made (#189443)
Fixes #189383
2023-08-02 11:06:44 +09:00
Benjamin Pasero
82ced13b61 Retry playwright installs (fix #188453) (#188646) 2023-07-24 08:58:11 +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
Christof Marti
6ae441b56f Kerberos auth for proxies (#188130) 2023-07-19 20:11:00 +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
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
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
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
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
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
78643b05d5 cli: bump to openssl 1.1.1u (#183828) 2023-05-30 20:44:56 +02:00
João Moreno
14ea89e7ca build: quieter node module cache logging (#180709) 2023-04-25 08:26:56 +02: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
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
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
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
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
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
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