Commit Graph

252 Commits

Author SHA1 Message Date
Robo
e65febca09 ci: use sysroots for oss linux pipeline (#212895)
* ci: use sysroots for oss linux pipeline

* ci: update cache

* ci: cleanup conditions
2024-05-16 17:18:57 +02:00
João Moreno
e5515ac702 Adopt 1ES PT (#207844)
* extend 1es pipeline template

* oops

* fix template references

* argh

* hmm

* hm

* hm

* use outputs for compilation artifact

* this

* use 1ES.PublishPipelineArtifact@1 instead of publish

* more 1ES.PublishPipelineArtifact@1 adoption

* provide windows pool for sdl sources

* sdl

* fix pools

* fix macos

* disable sbom for intermediate artifacts

* use mariner linux

* try inline tsa options

* fix credscan

* hm

* sudo it

* more suppressions

* be explicit with SBOM build drop paths

* fix indentation

* fix file extensions

* fix cli sbom build drop paths

* fix more build

* fix unzip cli

* careful with _manifest in artifacts

* do not close file

* add logging

* debug

* use snapcraft container

* remove size check

* fix macos cli step

* fix snap permissions

* fix macos

* better logs

* fix snap

* more cred scan suppressions

* even more supressiong

* alpine-arm64: try using x64

* Revert "alpine-arm64: try using x64"

This reverts commit bf2003bf60.

* test docker

* I wonder

* logs

* hm

* fix indentation

* hm

* hm

* fix snap finds

* remove auth

* use hostArchitecture

* snap: limit find

* hm

* sudo

* Add validateToolOutput: None to the build pipeline

* bring back sdl-scan

* try all tools: true

* use release

* Update Azure Pipelines YAML file for Linux product build and test

* hm

* hm

* same for win32

* hm

* hm

* Revert "hm"

This reverts commit 1b9dcae85b.

* use branch

* fix template file

* fix template paths
2024-03-21 14:16:32 +01:00
Robo
5e0394c8d1 fix: don't package detection script in legacy server (#208274)
* fix: don't package detection script in legacy server

* chore: address review feedback

* chore: rename download asset name
2024-03-21 14:11:57 +01:00
Robo
1413fc87a7 feat: create and upload legacy remote server (#204139) 2024-03-18 11:09:55 +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
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
João Moreno
0b111a09a1 Publish to new CDN (#198154) 2023-11-16 07:19:59 +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
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
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
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
João Moreno
14ea89e7ca build: quieter node module cache logging (#180709) 2023-04-25 08:26:56 +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
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
Robo
b7712c07fa refactor: build x64 remote modules with same toolchain as binary (#142023)
* refactor: build x64 remote modules with same toolchain as binary

Refs https://github.com/nodejs/node/blob/master/BUILDING.md#official-binary-platforms-and-toolchains
Fixes https://github.com/microsoft/vscode/issues/137659

* chore: split client and server stages for x64

* chore: add build dependencies

* Revert "chore: add build dependencies"

This reverts commit f9077c9ebd6017bd973db9366dc3d7f336293742.

* chore: build step requires root dependencies

* chore: only perform module installation in separate stage

* chore: fix target path

* chore: run server stage in parallel to compile

* chore: fix dependency chain

* chore: declare parallel dependecy

* chore: fix artifact name

* chore: publish as archive to preserve file types

* chore: fix target directory for extraction

* chore: update postinstall script
2022-02-03 07:56:21 -08:00
Benjamin Pasero
bd0040c74d Smoketest timeout (fix #141918) 2022-02-01 08:02:06 +01:00
Daniel Imms
bc71f7a343 Increase unit test timeout 7->15 on all platforms 2022-01-24 07:15:16 -08:00
Daniel Imms
337101b9b2 Increase integration test timeout for all platforms
Moving from 7 and 10 to 20 on all platforms as 10 can be exceeded on macOS (and
generally Windows is slower too)
2022-01-24 07:07:40 -08:00
Joao Moreno
4ecbef411b fixes #141067 2022-01-24 12:10:28 +01:00
Benjamin Pasero
c9960f9cee Cleanup package.json test scripts (#141210)
* tests - remove `yarn test`

* fix smoke test

* readme

* 💄

* ci - do not install playwright
2022-01-22 13:07:14 +01:00
Martin Aeschlimann
3640c1a425 move remote and web tests to scripts folder 2022-01-21 14:33:34 +01:00
Benjamin Pasero
8c86ae971e publish node modules (#140966)
* publish node modules

* enable
2022-01-19 12:53:09 +01:00
Joao Moreno
0db0a0d31c add mixin --server 2022-01-17 08:15:45 +01:00
Benjamin Pasero
af5de88a44 tests - add --sequential option and use in CI runs 2022-01-11 10:48:20 +01:00
Rob Lourens
3e11f32956 Run browser smoke tests first because we can get playwright traces for them 2021-12-15 14:27:40 -08:00
Joao Moreno
39f1f7bd41 remove bogus build steps, added retries to yarn install in new places
fixes #138983
2021-12-13 14:25:12 +01:00
Joao Moreno
0d9f75df79 remove bogus build step 2021-12-13 14:25:12 +01:00
Benjamin Pasero
27e38a8e27 smoke - always create screenshot on failure on desktop 2021-12-09 09:51:55 +01:00
Benjamin Pasero
52eaad0761 ci - add name of browser to web tests 2021-12-08 10:17:19 +01:00
Benjamin Pasero
754190f326 Run unit tests against node.js too (#137790)
* tests - run unit tests also against node.js

* fixes

* fail if major node.js version mismatch

* -tfs is unsupported

* Add `@ts-check` and remove `jsdom`

* tests - process.env layer breaker

* Improve loader config

* skip one test

* address todos

* try to force color output

* Use a file: URI as baseUrl

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2021-11-24 13:45:17 +01:00
João Moreno
37f68b4803 Revert "builds: disable caching"
This reverts commit 2ec3bfc440.
2021-11-24 13:04:43 +01:00
Benjamin Pasero
23d5cb019d 💄 CI names 2021-11-23 15:50:13 +01:00