Commit Graph

239 Commits

Author SHA1 Message Date
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
João Moreno
6f2ad1994c More RBAC usage (#137579)
* ci: 👷 remove secret references

* inline web storage account

* remove unused reference

* inline storage accounts

* formatting

* formatting

* drop ticino-storage-key, web-storage-key

* remove leftovers

* fix build

* fix build

* catch errors on all upload* scripts

* bump gulp-azure-storage
2021-11-20 09:01:39 -08:00
João Moreno
a71275a72f increase smoke test limits 2021-11-19 16:55:07 +01:00
João Moreno
2ec3bfc440 builds: disable caching 2021-11-19 15:07:35 +01:00
João Moreno
6ac63ccffb Use RBAC for builds (#137473)
* build: 👷 adopt latest azure storage account

* build: 💄

* missing compilation

* iterate faster

* try using AzureCliCredential

* fix indentation

* arg

* fix build

* use MSI for storage

* fix dependency

* argh

* debug

* fix!

* bring back

* argh

* use RBAC for cosmos

* empty
2021-11-18 12:37:23 -08:00
João Moreno
acfb946ec1 ci: 👷 no need for yarninstaller task 2021-11-18 15:57:11 +01:00
Benjamin Pasero
bef4dba21f Parcel update and CI improvements (#136830)
* 🆙 product

* 🆙 parcel/watcher

* 🆙 parcel/watcher

* tests - separate remote logs from others

* store server logs too

* more tweaks

* fix name

* error when 10s passed
2021-11-10 08:13:56 +01:00
deepak1556
fbbb4d7515 chore: remove redundant build_from_source env
Follow-up d0f1a89682
2021-10-15 21:53:06 +09:00
Benjamin Pasero
85c5eb7281 Enable parcel-watcher as new default watcher (#132483) 2021-10-11 11:17:05 +02:00
Benjamin Pasero
0b6b4b3d85 Enable screenshot option properly for smoke tests (#131982)
* smoke test

* undo failure
2021-08-31 17:35:22 +02:00
Robo
ab311cf5be fix: build native modules with CFG (#130529)
* fix: build native modules with CFG and /W4

* chore: bump spdlog@0.13.6

* chore: remove unused env vars

Co-authored-by: SteVen Batten <stbatt@microsoft.com>
2021-08-12 09:59:53 -07:00
Robo
4fee848f2f fix: CXXABI requirements for older distros (#129360)
* fix: use clang and libcxx from chromium

* chore: add flags for Link-Time Optimization

libcxx builds from upstream are built with LTO, avoiding these
flags will cause miscompiles

* chore: add lto flags to compilation units
2021-08-06 08:48:45 -07:00
Benjamin Pasero
4178ea04ec smoke - enable screenshot option for failing smoke tests 2021-08-05 12:35:42 +02:00
Logan Ramos
e97a825a09 Reset timeout 2021-08-02 09:28:38 -04:00