João Moreno
a46559966e
move to new service connection, remove deprecated storage account upload ( #233191 )
2024-11-06 14:57:38 +01:00
João Moreno
1f8fd7adef
use oidc ( #233126 )
...
* use oidc
* undo dep bump
* use ClientAssertionCredential
* temporarily disable mangle
* adopt oidc
2024-11-05 21:50:01 +01:00
Benjamin Pasero
9bd60d090a
esm - better content mapper to address sourcemaps ( #230476 )
2024-10-04 15:34:21 +02:00
Robo
8422282f04
chore: update to Electron 32 ( #218245 )
...
* chore: update electron@31.0.1
* chore: bump electron@31.1.0
* chore: update sysroot download url
* chore: bump electron@31.3.0
* chore: update rpm deps for arm64
* chore: bump electron@31.4.0
* chore: bump electron@32.0.0
* fix: compile stage
* fix: install on windows
* fix: override node-addon-api to support c++20 with gcc-11
Brings in fed13534c5
to support compilation with gcc>=11
* ci: use gnu++2a for gcc <=9
* ci: fix sdl pipeline
* ci: web stage
* ci: fix alpine stage
* ci: fix legacy server stage
* fix: node-addon-api resolution for remote
* ci: fix legacy arm stage
* chore: sync npm dependencies
* chore: bump electron@32.0.1
* ci: fix monaco editor checks
* ci: fix legacy server stage
* ci: possible concurrent execution
* ci: use foreground scripts on windows
* chore: bump electron@32.0.2
* fix: compilation
Refs 204011c3f2
* Revert "wco - hardcode devtools location on Linux (#227084 )"
This reverts commit dfb96d11d3
.
* chore: bump electron@32.1.2
* ci: remove workaround for missing c++20 flags
* ci: use gnu++2a for gcc <=9
* chore: bump distro
* ci: use gnu++17 for legacy arm servers
* fixup! override node-addon-api to support c++20 with gcc-11
Scope to only the affected package versions
* chore: bump @vscode/policy-watcher
* chore: bump @vscode/sqlite3
* chore: bump node.js v20.17.0
* chore: bump distro
* chore: update @vscode/windows-ca-certs
* chore: update builds for electron@32.1.2
* chore: bump distro
* chore: bump dependencies
* ci: fix arm legacy servers
2024-10-04 19:19:06 +09:00
Robo
a287cd4260
ci: fix paths to apt retry script ( #230274 )
2024-10-02 02:35:33 +02:00
Robo
9d3abdc8ff
ci: apply retry logic for apt failures ( #230217 )
2024-10-01 13:01:10 +02:00
Robo
b5a6aa14a8
feat: switch to npm as default package manager ( #226927 )
...
* feat: move from yarn to npm
* chore: skip yarn.lock files
* fix: playwright download
* chore: fix compile and hygiene
* chore: bump vsce@2.17.0
Refs 8b49e9dfdf
* test: update results for bat and sh colorizer tests
* fix: add missing lock files for windows
* fix: switch to legacy-peer-deps
* chore: update markdown-it@14.1.0
Refs 737c95a129
esbuild step in extensions-ci-pr was previously using markdown-it
from root which had userland punycode and was able to compile successfully.
* ci: increase pr timeout for windows integration tests
* chore: fix product build
* build: ignore extension dev dependency for rcedit
* build: fix working directory inside container
* build: fix dependency generation
* npm: update dependencies
* ci: use global npmrc
* ci: update cache
* ci: setup global npmrc for private npm auth
* build: fix extension bundling
* chore: sync npm dependencies
* ci: debug env variables for container
* ci: fix win32 cli pipeline
* build: fix npmrc config usage for build/ and remote/ dirs
* fix: windows build
* fix: container builds
* fix: markdown-language-features tests and bundling
```
[03:58:22] Error: Command failed: /Users/demohan/.nvm/versions/node/v20.15.1/bin/node /Users/demohan/github/vscode/extensions/markdown-language-features/esbuild-notebook.js --outputRoot /Users/demohan/github/vscode/.build/extensions/markdown-language-features
✘ [ERROR] Could not resolve "punycode"
extensions/markdown-language-features/node_modules/markdown-it/lib/index.js:14:27:
14 │ var punycode = require('punycode');
╵ ~~~~~~~~~~
The package "punycode" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
```
Adds userland package based on beed9aee2c
* fix: container builds for distro
* chore: update yarn occurrences
* fixup! chore: bump vsce@2.17.0
Uses the closest version to `main` branch that does not
include d3cc84cdec
while still having the fix 8b49e9dfdf
* chore: sync npm dependencies
* chore: sync npm dependencies
* chore: sync npm dependencies
* chore: throw error when yarn is used for installation
* chore: add review feedback
* chore: switch exec => run where needed
* chore: npm sync dependencies
* fix: markdown-language-features bundling
```
✘ [ERROR] Could not resolve "punycode"
extensions/markdown-language-features/node_modules/markdown-it/lib/index.js:14:27:
14 │ var punycode = require('punycode');
╵ ~~~~~~~~~~
The package "punycode" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
```
Adds missing userland package based on markdown-it/markdown-it@beed9ae ,
can be removed once we update markdown-it >= 14.1.0
* ci: rename no-yarn-lock-changes.yml
* chore: sync npm dependencies
* ci: restore no-yarn-lock-changes.yml
We can disable it in a separate PR to keep the required
checks happy and also need workflow edit perms.
* chore: sync npm dependencies
* ci: rebuild cache
* ci: fix no-package-lock-changes.yml
* chore: bump distro
* chore: rm yarn.lock files
* chore: rm yarn.lock files without dependencies
* chore: add vscode-selfhost-import-aid to postinstall dirs
* chore: bump distro
2024-09-06 22:18:02 +09:00
Kevin Cui
d1eab2bcf4
ci: ensure retry logic consistency ( #226038 )
...
Related PR: #171489
Signed-off-by: Kevin Cui <bh@bugs.cc>
2024-09-04 04:51:19 +00:00
Ladislau Szomoru
310f0a3d85
Engineering - upgrade AzureKeyVault task ( #227191 )
2024-08-30 11:10:44 +02:00
Benjamin Pasero
f6f90e0163
Implement NLS without AMD loader ( #214588 )
2024-06-28 11:55:48 +02:00
João Moreno
addd445017
upload sourcemaps to CDN instead of ticino ( #214141 )
2024-06-03 16:10:01 +02:00
Robo
5216c04428
chore: update to electron 29 ( #209818 )
...
* chore: update electron@29.1.0
* chore: update typings to 20.x
* chore: bump electron@29.1.5
* ci: fix crash in compiling extensions-ci
* chore: disable .d.ts check for build/
$ ../node_modules/.bin/tsc -p tsconfig.build.json
node_modules/@types/chokidar/index.d.ts:21:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/@types/chokidar/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref
21 export class FSWatcher extends EventEmitter implements fs.FSWatcher {
~~~~~~~~~
node_modules/chokidar/types/index.d.ts:8:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/chokidar/types/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref
8 export class FSWatcher extends EventEmitter implements fs.FSWatcher {
~~~~~~~~~
Found 2 errors in 2 files.
Errors Files
1 node_modules/@types/chokidar/index.d.ts:21
1 node_modules/chokidar/types/index.d.ts:8
Refs a0f9e09f64
* chore: update core types
* temp: fix layer validation
* chore: update nodejs checksums
* ci: use latest v20 LTS for missing node-gyp
Refs eacec5f490
* ci: define LIBCPP_HARDENING_MODE
* ci: fix crash in vscode-web-min-ci
* chore: update rpm deps-list
* chore: bump tree-sitter-typescript@0.20.5
* chore: bump electron@29.3.0
* chore: bump electron@29.3.1
* chore: update rpm deps-list for x86_64
* ci: disable io_uring UV backend on linux
* ci: disable io_uring backend for oss as well
* chore: update typings to 20.x
* ci: add TODO for io_uring workaround
* chore: bump distro
* chore: update preinstall node version checks
* chore: update @types/gulp
Refs https://github.com/microsoft/vscode/issues/212442
* ci: disable io_uring in more test suites
2024-05-11 01:20:28 +09: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
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
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
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
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
Christof Marti
6ae441b56f
Kerberos auth for proxies ( #188130 )
2023-07-19 20:11:00 +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
João Moreno
14ea89e7ca
build: quieter node module cache logging ( #180709 )
2023-04-25 08:26:56 +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
e8fa61d2fc
retry terrapin 5 times ( #171489 )
...
fixes #170935
2023-01-17 13:48:02 +01:00
João Moreno
59814267dd
Use new Key Vault account ( #166049 )
...
use separate keyvault
2022-11-11 09:38:36 +01:00
Alexandru Dima
ba91a81c16
Always patch the npm registry in `yarn.lock` files and compute the node modules cache key after having patched them ( #164795 )
2022-10-27 12:31:15 +02:00
João Moreno
8fe6f3e917
Allow custom npm registries at build time ( #163629 )
...
* use azure artifacts as new terrapin solution
* debug
* skip npm auth
* bring back
* also configure yarn
* custom npm registry
* oops
* powershell
* use none instead of empty string
* uff
2022-10-24 09:24:44 +02:00
João Moreno
ac9aff3521
reenable terrapin ( #163622 )
...
* drop npx for terrapin
* enable terrapin by default
2022-10-14 01:35:15 -07:00
Connor Peet
fbda011715
build: do proper hashing for built-in dependencies ( #157295 )
...
Fixes #157244
2022-08-05 13:00:33 -07:00
Connor Peet
c9df538b06
build: apply built-in ext cache to the rest of the pipeline ( #156939 )
2022-08-02 16:26:17 -07:00
Ladislau Szomoru
2be99473d5
Engineering - execute tests in parallel for the CI build ( #151593 )
2022-06-10 04:35:28 -07:00
João Moreno
c5902c4e2b
hm
2022-03-21 14:46:14 +01:00
João Moreno
726eeffa71
introduce distro private builds
2022-03-21 14:40:00 +01:00
Joao Moreno
29ef778b1c
fixes #145397
2022-03-18 13:54:12 +01:00
Robo
32d40cf44e
chore: update to electron 17 ( #143223 )
...
* chore: bump electron@17.0.0
* Revert "chore: revert to electron@13 (#143851 )"
This reverts commit df645f1450
.
* chore: bump electron@17.1.0
* Revert "ci: fix build with latest node-gyp"
This reverts commit c3e948aa30
.
* chore: revert ci changes for node v16
* chore: update yarn.lock
* chore: bump electron@17.1.1
2022-03-11 00:51:37 +09:00
Robo
df645f1450
chore: revert to electron@13 ( #143851 )
...
* Revert "chore: update to electron 16 (#137241 )"
This reverts commit 01df559c18
.
This reverts commit 46301339b7
* ci: fix remote compiler for sdl-scan
* chore: fix remote/.yarnrc
* chore: fix build/npm/postinstall.js
* chore: rm crash reporter from shared process
* chore: rm crash reporter from ext host
* chore: fix build/lib/layersChecker.ts
* :chore: preserve some more changes
* fix tests
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2022-02-24 17:49:49 +01:00
Robo
01df559c18
chore: update to electron 16 ( #137241 )
...
* chore: bump electron@15.3.0
* chore: bump node@16.x
* chore: enable render process reuse
* Revert "watcher - use `type` property for crash reporter location"
This reverts commit bfa488dd8f
.
* Revert "watcher - enable crash reports on linux (#136264 )"
This reverts commit af261488f8
.
* chore: enable crashpad on linux
* chore: bump electron@15.3.1
* chore: update api changes
* chore: bump @vscode/sqlite3@5.0.3
* spec: skip non-context aware module unittests
* chore: fix perf hook integration with node environment
* fix: adopt fs api changes
* chore: fix integration tests
* chore: bump electron@15.3.2
* chore: bump electron@16.0.0
* temp(macOS): kill test instances in OSS
* Revert "temp(macOS): kill test instances in OSS"
This reverts commit b0d796c8d64227a5ec012c060bbbee7d9da27568.
* chore: update chromium version for clang downloader
* some 💄 changes
* align with changes
* adopt more fs.rm
* 💄
* chore: bump @vscode/sqlite3@5.0.4
* fix layers check to account for duplicated types from node.js
* update todo for type casts
* smoke - fix compile issue
* chore: update module cache
* watcher - fix unhandled rejection (fix #137416 )
* ci: update node version
* enable stack dumping
* update electron types to 16.x
* chore: bump @vscode/sqlite3@5.0.5
Refs https://github.com/microsoft/vscode/issues/137496
* fix layer issue
* add `AbortSignal` to core types
* chore: update linux compile flags
Refs 797723ec83
* ci: fix linux build
* ci: update github ci cache
* ci: fix remote build in github ci
* ci: better fix for remote build
* chore: bump azure cache
* chore: fix merge conflict
* :chore: update to electron@16.0.2
* chore: bump @vscode/sqlite3@5.0.7
* ci: update to gcc-4.9 for remote
Refs https://github.com/microsoft/vscode/issues/137659
* ci: switch to buster for linux arm
Refs https://github.com/microsoft/vscode/issues/137927
* ci: fix build on linux arm64
* ci: fix arm client compiler toolchain
Refs #137927
* chore: bump electron@16.0.3
* ci: fix compile flags for the c toolchain
* chore: bump electron@16.0.4
* Add experimental dark mode flag (#139109 )
* Add experimental dark mode flag
* Apply PR feedback
* chore: bump electron@16.0.6
* chore: bump electron@16.0.7
Fixes https://github.com/microsoft/vscode/issues/138792
Fixes https://github.com/microsoft/vscode/issues/139300
* chore: experimental highlight API
* smoke - fix compile issue
* FIXME: custom ELECTRON_RUN_AS_NODE with node worker
* Revert "chore: bump electron@16.0.7"
This reverts commit 5fd01cf37c
.
* Revert "Revert "chore: bump electron@16.0.7""
This reverts commit a7f1b73951
.
* chore: fix github linux workflow
* chore: address review feedback
* chore: bump electron@16.0.8
* ci: revert to stretch distro for linux arm
Refs https://github.com/microsoft/vscode/issues/137927
* ci: force build
* chore: update yarn.lock
* address feedback
* Revert "FIXME: custom ELECTRON_RUN_AS_NODE with node worker"
This reverts commit 7b48fa3732
.
* ci: fix remote folder build
* chore: fix github linux ci
* 🆙 `versionSpec`
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Raymond Zhao <raymondzhao@microsoft.com>
2022-02-08 20:09:00 +01:00
Benjamin Pasero
0f89762b4b
Rename `workbench.web.api.*` to `workbench.web.main.*` ( #141263 )
...
* web - rename entry file
* web - rename entry file also for server
* rename main entry in copy
2022-01-24 12:45:49 +01:00
Joao Moreno
4ecbef411b
fixes #141067
2022-01-24 12:10:28 +01:00
João Moreno
37f68b4803
Revert "builds: disable caching"
...
This reverts commit 2ec3bfc440
.
2021-11-24 13:04:43 +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
2ec3bfc440
builds: disable caching
2021-11-19 15:07:35 +01:00
João Moreno
acfb946ec1
ci: 👷 no need for yarninstaller task
2021-11-18 15:57:11 +01:00
Tyler Leonhardt
4cc83ad27e
run nlsmetadata on web output
2021-09-21 12:29:39 -07: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
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
deepak1556
f95b7e935f
Revert "chore: bump electron@12.0.2"
...
This reverts commit 79a429d92d
.
2021-04-09 14:17:02 -07:00