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
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
João Moreno
0b111a09a1
Publish to new CDN ( #198154 )
2023-11-16 07:19:59 +01: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
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
Christof Marti
a6b9e7c28b
Make sure node-gyp is installed ( #194494 )
2023-09-29 17:33:44 +01:00
Connor Peet
17015750a3
cli: update openssl ( #192825 )
...
* cli: update openssl
* make multi-threaded
* use mt windows versions
2023-09-12 00:44:14 +02:00
Connor Peet
52840e3ca5
cli: cleanup build ( #190213 )
...
- Remove the `prepare` script entirely
- Variables are now populated from the product.json during build. Most
variables are mapped automatically, with some special handling in a
few cases. `build.rs` is now much more self-contained.
- Look for the `product.overrides.json` for vscode developers instead of
looking for a peer `vscode-distro` folder
Fixes #178691
2023-08-10 20:14:30 -07: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
Benjamin Pasero
82ced13b61
Retry playwright installs ( fix #188453 ) ( #188646 )
2023-07-24 08:58:11 +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
Rob Lourens
7f5de39970
Delete old settings search config uploader ( #185818 )
2023-06-21 17:15:31 -07:00
Connor Peet
43742d891d
Run a lint build of the CLI in CI ( #184545 )
...
* cli: adopt sccache for speedier cli compilations
* only cache common linux x64 build
* instead, only dev compile/clippy lint in ci
2023-06-07 15:48:55 -07:00
Aaron Munger
5c7b2b89fe
add project to build, add integration tests into shell script
2023-06-05 14:19:51 -07:00
Connor Peet
eb44b5ef6c
build: don't apply cli 'patches' for merge check ( #184210 )
...
* build: don't apply cli 'patches' for merge check
This also needed modules installed. But with the new toml patches, the 'merge' will never fail outright, so there's no need to do a separate merge check for it imo
* reduce duplication in pipelines, cache node_modules
2023-06-02 22:29:48 +02:00
Connor Peet
be433ac136
build: install packages for distro mixin ( #184207 )
2023-06-02 21:44:18 +02:00
Connor Peet
78643b05d5
cli: bump to openssl 1.1.1u ( #183828 )
2023-05-30 20:44:56 +02:00
Robo
75e38cd91d
chore: remove library entitlements from main helper executable ( #182731 )
2023-05-17 10:35:11 +02:00
João Moreno
14ea89e7ca
build: quieter node module cache logging ( #180709 )
2023-04-25 08:26:56 +02:00
Connor Peet
b547b58db6
cli: use win32 app mutex to detect running tunnels and tunnel sevices ( #179622 )
...
* cli: fix distro mixin
* cli: use win32 app mutex to detect running tunnels and tunnel sevices
Fixes #179265
* cli: fix distro mixin more
* fix
* fix build
2023-04-10 20:25:14 +01: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
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
João Moreno
6fe3014566
Workaround code signing issues ( #178071 )
...
* use dot net 6 for codesigning
* make esrpclienttool use continueOnError
* another one
* fix path
* argh
2023-03-23 10:52:34 +01:00
Connor Peet
26fe31fc66
update openssl-prebuild for musl failures ( #175731 )
...
* update openssl-prebuild for musl failures
* reapply vendoring
* reapply macos pipeline fix
2023-03-01 08:57:45 +01:00
Connor Peet
f8119e9beb
Revert "cli: fix static import of openssl ( #175681 )" ( #175727 )
...
This reverts commit 7014a17b1f
.
2023-03-01 07:43:32 +01:00
Connor Peet
7014a17b1f
cli: fix static import of openssl ( #175681 )
...
* cli: fix static import of openssl
* update dev tunnels
2023-02-28 11:20:58 -08:00
Tyler James Leonhardt
31e476ee1e
bump @vscode-internal/openssl-prebuilt ( #173827 )
...
* bump @vscode-internal/openssl-prebuilt
* bump windows
2023-02-08 08:59:07 -08:00
João Moreno
5bb0a22e43
fixes bad node_modules cache usage ( #171725 )
2023-01-19 15:30:50 +01:00
Connor Peet
d5ab02349e
rename cli binary to reflect quality
2023-01-17 08:19:36 -08:00
João Moreno
e8fa61d2fc
retry terrapin 5 times ( #171489 )
...
fixes #170935
2023-01-17 13:48:02 +01:00
João Moreno
89e427274e
fix darwin universal ( #171072 )
2023-01-11 17:09:19 +01:00
João Moreno
277e80be94
dynamically find macos signing identity ( #171063 )
...
* dynamically find macos signing identity
* debug
* more debug
* argh
* Revert "argh"
This reverts commit 0e0715fb44
.
Revert "more debug"
This reverts commit 7632542023
.
Revert "debug"
This reverts commit 6f00a3acef
.
2023-01-11 23:39:31 +09:00
João Moreno
59814267dd
Use new Key Vault account ( #166049 )
...
use separate keyvault
2022-11-11 09:38:36 +01:00
Connor Peet
63fbcea804
cli: pin rust (and clippy) version for builds
2022-11-07 17:56:35 -08: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
Connor Peet
ed54a91fd0
build: parallelize cli build
...
Put all win and macOS builds on their own machine, since they take a minute.
Build the two GNU ARM builds together on an x64 machine, since they're
faster and can cross-compile in ~5 minutes.
This makes the CompileCLI step take a little less time than the VS Code
"Compile" step.
2022-10-24 12:01:03 -07: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
Martin Aeschlimann
f10e84118b
ci: use tunnelApplicationName ( #164257 )
...
fix location of tunnel command in CI and in code
2022-10-23 20:12:23 +03:00
Connor Peet
c3692c96f6
build: use npm instead of universal for arm compatibility
2022-10-21 10:21:02 -07:00
Connor Peet
bf36a10c47
cli: use packaged openssl instead of artisanal builds
2022-10-20 17:14:14 -07:00
Connor Peet
24a51e506f
try using vcpkg for everything
2022-10-18 10:58:50 -07:00
Connor Peet
7c3740a7e7
update prepare scripts, license, lockfile
2022-10-17 11:50:49 -07:00