Commit Graph

225 Commits

Author SHA1 Message Date
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
Logan Ramos
c617bfa26c Try longer timeout 2021-07-29 12:22:27 -04:00
João Moreno
af7e67f8e4 use esrpcli.dll 2021-07-09 15:34:36 +02:00
João Moreno
820300ce2b hmmm 2021-06-24 18:01:35 +02:00
João Moreno
aa6e7ffdf4 snap: create it even when stepping on it
related to #127039
2021-06-24 16:53:44 +02:00
Robo
92999c339e fix: setuid helper permission (#126798)
* ci: fix setuid helper binary permission

* ci: allow privilege for CLONE_NEWPID | CLONE_NEWNET

* ci: fix chrome-sandbox permission with rpm

* ci: fix permissions on snap

* ci: download electron earlier for arm builds
2021-06-22 08:42:30 -07:00
João Moreno
d9126ea356 build: scope logs to job attempt 2021-06-17 14:34:00 +02:00
João Moreno
b5b92e130d akv: use filter 2021-06-17 10:01:58 +02:00
João Moreno
8583bf9d9f use correct GITHUB_TOKEN value 2021-06-15 16:14:57 +02:00
Benjamin Pasero
b499ce8d76 build - only publish log files when tests run 2021-06-15 12:03:44 +02:00
Benjamin Pasero
2ddc1e4fc5 Produce logs during test runs (integration, smoke) and publish as artefacts (#126065)
* first cut upload log files from integration test runs

* always publish log files

* move logs into integration-tests folder

* also produce logs for smoke tests

* store remote log files

* wire in logspath arg properly

* always publish logs

* enable logs for browser based smoke tests

* log only in verbose
2021-06-15 08:33:26 +02:00
João Moreno
8440af2409 share test compilation output across agents 2021-06-14 16:28:33 +02:00
João Moreno
85a36ae074 enable smoketest on linux 2021-06-11 12:19:17 +02:00
Tyler Leonhardt
c80a39136e first attempt
actually run

ok run it for real

actually work

parameter syntax

monaco

logging

env var is always string

use variables

use global params

try idea to stop looping

move variables

wrap in quotes

rename all the artifacts

try downloading

up timeout

misc

underscore

add auth

log everything we need to

typo

typo

publish linux client archives too

renamed all that needed to be renamed

better error handling

raname windows assets

first attempt at letting new code handle releasing with macOS

move to $env

remove gate

include updated createAsset.js

onboard windows client

include js

add linux client

add built js

move over all publishing

update distro

use branch name?

processed artifacts and fix win32 server platforms

publish what artifacts were published

use download and more more to powershell

put it all in exec

actually in directory

fix path again

create file to be uploaded

move to all PowerShell

rename to publish and clean up code

update createAsset

use distro 2

more commented out code and add displayNames

address feedback
2021-05-05 14:37:16 -07:00
deepak1556
3fb483e7ff chore: bump electron@12.0.4 2021-04-16 09:14:14 -07:00