Commit graph

226 commits

Author SHA1 Message Date
Raymond Zhao 52298e4368
chore: specify ESLint ignore file (#210935) 2024-04-22 18:54:43 +02:00
Raymond Zhao 951c1b7d76
chore: increase compile job timeout (#209497) 2024-04-03 16:38:22 -07:00
Raymond Zhao a86f13b8f2
chore: increase timeout of Linux x64 job (#209387) 2024-04-03 00:06:09 +02: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 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
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 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 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 0b111a09a1
Publish to new CDN (#198154) 2023-11-16 07:19:59 +01:00
João Moreno 9905225b1a
Remove win32-ia32 target (#195559)
* remove win32-ia32

* update distro
2023-10-16 13:28:09 +02:00
Connor Peet 2e37be2160
Adopt Terrapin / msrustup for the CLI (#188732)
* cli: use terrapin for cli builds

* update rust to 1.70 to allow ado artifacts feed on windows

* apparently manaul cargo login is required

* use msrustup

* rustup is no longer user

* update to 1.73

* add rust oss install
2023-10-08 17:18:22 -07:00
Robo 4df4f694c3
ci: install qemu for alpine arm64 (#188455) 2023-07-21 09:51:34 +02: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
João Moreno a044e57b07
still run tests on win32-ia32, but make them optional to pass (#187474)
* still run tests on win32-ia32, but make them optional to pass

* hm

* ok

* try this
2023-07-11 14:29:02 +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 5150ef0ce7
disable tests on win32-ia32 (#187313) 2023-07-07 15:47:05 -07:00
João Moreno 9f6b76bdb5
schedule a non-releasing 7pm build (#186548) 2023-06-28 21:08:44 +02: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
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
Ladislau Szomoru d6dae3a640
Engineering - update build agents (#179244)
* Engineering - update build agents

* Update ARM64 agent pool name

* Switch to windows 2019 agents
2023-04-05 12:54:37 +02:00
Ladislau Szomoru 59ec5734f1
Engineering - fix job name casing (#179236) 2023-04-05 09:31:29 +02:00
João Moreno 887b24796e
fix build (#179093) 2023-04-04 09:29:40 +02:00
João Moreno accffe11a5
automate private build detection (#179011)
* automate private build detection

* debug

* debug

* fixup
2023-04-03 17:10:13 +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 2da5a0024f
don't run windows CLI build in ci (#178921) 2023-04-02 10:56:15 +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
Robo 502ac5b213
ci: switch to core20 for snap (#127320)
* ci: switch to core20 for snap

* chore: update rpath of crashpad handler

* chore: remove unused exports
2023-03-08 18:14:55 -08:00
João Moreno 7e5c00f860
remove unused schedule (#175898) 2023-03-02 16:06:29 +01:00
Robo 3a11b47eee
chore: revert to Electron 19 (#175851)
* Revert "Update to min supported version of node (#175723)"

This reverts commit f749e6be2d.

* Revert "chore: update min node version for development (#175663)"

This reverts commit f2a822fbe9.

* Revert "electron 22 sandbox - enable for OSS (#175659)"

This reverts commit 2551af21f8.

* Revert "chore: update to Electron 22 (#166430)"

This reverts commit 6e85d2b51e.
2023-03-02 02:58:46 -08:00
Robo 6e85d2b51e
chore: update to Electron 22 (#166430)
* chore: bump electron@22.0.0-beta.5

* chore: bump electron@22.0.0-beta.7

* chore: update libc++ flags

* chore: switch to c++17

* chore: bump electron@22.0.0

* chore: bump electron@22.0.2

* chore: cleanup build config for linux

* chore: update debian dependencies

* chore: update rpm dependencies

* chore: update electron@22.0.3

* chore: bump electron@22.2.0

* chore: remove deprecated utility process invoker

* chore: bump electron@22.2.1

* chore: remove unused methods

* chore: update internal electron version

* chore: bump electron@22.3.0

* temp: update electron with default PGO

* chore: bump electron@22.3.1

* cleanup

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-02-28 07:04:00 -08:00
João Moreno 1e1da2aed3
build: refactor alpine out of linux (#169368)
* build: refactor alpine out of linux (#169278)

* fix alpine stage with no jobs

* test

* revert test
2022-12-16 08:51:06 +01:00
Joyce Er e408ce88e0 Revert "build: refactor alpine out of linux (#169278)"
This reverts commit 3567fd1145.
2022-12-15 11:47:27 -08:00
João Moreno 3567fd1145
build: refactor alpine out of linux (#169278) 2022-12-15 16:51:12 +01:00
Connor Peet eb7c77c508
cli: only build common platforms in ci
Fixes #165140
2022-11-07 11:08:57 -08:00
Ladislau Szomoru c7647cd307
Engineering - Add quality in the build name (#164855)
Add quality in the build name
2022-10-28 10:01:45 +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
Ladislau Szomoru b757c8e3ca
Engineering - Pin macOS build agent (#164455)
Pin macOS build agent
2022-10-24 06:38:26 -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
Connor Peet fff294400b
Merge remote-tracking branch 'origin/main' into connor4312/use-packaged-openssl 2022-10-21 10:55:13 -07:00
Connor Peet bf36a10c47
cli: use packaged openssl instead of artisanal builds 2022-10-20 17:14:14 -07:00
Connor Peet 0cc08da37a
cli: build the tunnel cli by default 2022-10-20 16:58:02 -07:00
Connor Peet ed0a21eda6
Merge remote-tracking branch 'origin/main' into connor4312/msrustup 2022-10-18 14:25:51 -07:00
Connor Peet 24a51e506f
try using vcpkg for everything 2022-10-18 10:58:50 -07:00
Connor Peet b987cb47f4
fix integrated cli check 2022-10-17 13:53:06 -07:00
Connor Peet 4e9bdbd44f
make self-update work on Linux 2022-10-17 13:38:52 -07:00
Connor Peet 84439a87f6
wip 2022-10-14 15:46:49 -07: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 ebd59363f0
Merge branch 'build-integrated-cli-dev' into build-integrated-cli 2022-10-10 19:13:08 -07:00