Commit graph

1131 commits

Author SHA1 Message Date
Raymond Zhao 52298e4368
chore: specify ESLint ignore file (#210935) 2024-04-22 18:54:43 +02:00
Connor Peet 6813d7ccbc
chore: update to rust 1.77 (#209563)
* chore: update to rust 1.77

* fix tests
2024-04-04 20:34:01 +02:00
Raymond Zhao 951c1b7d76
chore: increase compile job timeout (#209497) 2024-04-03 16:38:22 -07:00
Ladislau Szomoru e773c56fe7
Engineering - update suppression file (#209419) 2024-04-03 11:07:01 +02:00
Raymond Zhao a86f13b8f2
chore: increase timeout of Linux x64 job (#209387) 2024-04-03 00:06:09 +02:00
João Moreno b40321263d
fix legacy builds (#208314)
* fix legacy builds

* update regex

* extra ?

* argh
2024-03-21 17:25:26 +01: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 92e85248d7
fix: use different package name for legacy servers (#208088) 2024-03-19 13:16:17 +01:00
Robo 7c21685343
fix: legacy server stage dependency for CI builds (#207994) 2024-03-18 12:12:23 +01:00
Robo 1413fc87a7
feat: create and upload legacy remote server (#204139) 2024-03-18 11:09:55 +01:00
Matt Bierner 6403b4367b
Pick up latest TS for building VS Code (#207096) 2024-03-07 12:59:59 -08:00
Matt Bierner 920a3a701e
Pick up latest TS for building VS Code (#206264) 2024-02-26 19:56:20 +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
Logan Ramos 5303197950
Update type guard (#204763) 2024-02-08 20:37:39 +01:00
Logan Ramos 2033eae5af
Allow publishing retry (#204758)
* Allow publishing retry

* Update build/azure-pipelines/common/publish.ts

Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>

* Update build/azure-pipelines/common/publish.ts

Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>

* Compile

---------

Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
2024-02-08 20:00:44 +01:00
Logan Ramos 884acabd70
When receiving an unexpected status code also add information surrounding the headers and body (#204741)
* When receiving an unexpected status code also add information surrounding the headers and body

* Add compiled file
2024-02-08 18:28:40 +01:00
Robo 9db1b0571e
fix: sysroot used for client (#204559) 2024-02-07 05:50:23 +01:00
Robo 8a98afa440
chore: legacy server cleanups (#204501)
* fix: revert glibc requirements for tunnel cli

* chore: address feedback on wording

* fix: only store state when user allows the prompt

* chore: update checksums for sysroot

* fix: store connection choice per distro

* update rpm deps-list

---------

Co-authored-by: Connor Peet <connor@peet.io>
2024-02-07 10:14:41 +09: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
Alex Ross 442c133fe9
Try to fix build pipeline (#203951) 2024-02-01 09:43:05 +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
Raymond Zhao e284396074
chore: use newest node-gyp for SDL pipeline (#199820)
* chore: use latest upstream node-gyp

* fix: use node-gyp.js file directly

* apply PR feedback

* chore: delete patch file

* Apply PR feedback

* Update cache salt
2024-01-30 12:24:14 +09:00
Connor Peet fde80ce4fb
eng: fix missing rustup command in build (#203462)
Only call rustup when explicitly installing
2024-01-25 17:56:24 +01:00
Connor Peet 2a9a0a06f8
end: use a better hash for built-in cache key (#203033)
For CodeQL
2024-01-22 17:17:58 +01:00
Robo 1396f9c827
ci: fix debian packaging step failing to download sysroot (#202973) 2024-01-22 08:12:40 +01:00
Alexandru Dima cea4eee18a
Use sha256 (resolves CodeQL warning) (#201978)
* Use sha256 (resolves CodeQL warning)

* check in JS file too
2024-01-08 17:03:22 +01:00
João Moreno 6f96811659
stop uploading to legacy CDN (#201792)
* stop uploading to legacy CDN

* add missing compilation
2024-01-05 11:45:57 +01:00
João Moreno 91e69a3383
codeql exemption (#201780)
* codeql exemption

* add missing compilation
2024-01-05 11:24:24 +01:00
Robo f87fb292c3
ci: fix missing auth token for cli build (#200714) 2023-12-13 08:27:54 +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 e469272e45
remove inline sourcemaps from build files (#198842) 2023-11-22 14:05:46 +01:00
João Moreno ead63533e1
Make publishing required (#198839)
make publishing required
2023-11-22 12:12:47 +01:00
João Moreno 244c48768d
Make PRSS CDN optional (#198631)
* empty commit

* mooncake creds expired

* more logs

* prevent exit

* log

* async is hard

* 💄

* temporarily ignore PRSS errors

* whitespace
2023-11-19 20:15:53 +01:00
João Moreno b1cddfafe0
tighten up blob uploading (#198553)
* tighten up blob uploading

* bad save

* bad save again
2023-11-18 09:41:37 +01:00
João Moreno fc6b857956
Workaround for AZDO artifact throttling (#198545)
* download and extract in main thread, spin off other threads for rest of IO

* remove limiters: everything runs on workers now

* add docs
2023-11-17 10:54:55 -07:00
João Moreno aa61b56229
Fix issue in counting artifacts on retries, improve parallelization (#198488)
* try to parallelize downloads

* improved logs

* allow 5 parallel downloads

* fake browser requests

* fix artifacts processed file in retries
2023-11-17 15:03:32 +01:00
João Moreno 87e7f8b5e1
replace node-fetch with native fetch (#198408)
* replace node-fetch with native fetch

* fix dep version

* handle terminated error from fetch

* more error handling
2023-11-16 17:29:35 +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
Ladislau Szomoru 40cdc5cb1f
Engineering - Add Python setuptools installation (#197341) 2023-11-03 11:44:29 +01:00
João Moreno 2c973350c5
chore: bump electron@25.9.2 (#196249)
* chore: bump electron@25.9.2

* chore: bump distro

* install setuptools

https://github.com/nodejs/node-gyp/issues/2915
2023-10-23 14:43:33 +02: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
João Moreno 9905225b1a
Remove win32-ia32 target (#195559)
* remove win32-ia32

* update distro
2023-10-16 13:28:09 +02:00
Raymond Zhao 18a25cd5d6
Clarify pipeline actions (#195197) 2023-10-11 09:05:00 -07:00
Raymond Zhao 32ddc9b714
Add steps to SDL pipeline (#195304)
* Add recommended publish logs task

* Add PS script analyzer
2023-10-10 14:37:56 -07:00