Commit graph

26 commits

Author SHA1 Message Date
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
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
Connor Peet 9934a6b4ef
cli: bump openssl (#197404) 2023-11-03 21:32:30 +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
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
Robo 4df4f694c3
ci: install qemu for alpine arm64 (#188455) 2023-07-21 09:51:34 +02: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
Robo 2509b7f504
ci: fix alpine build (#188446) 2023-07-21 08:41:43 +02:00
Christof Marti 6ae441b56f
Kerberos auth for proxies (#188130) 2023-07-19 20:11:00 +02:00
Connor Peet ef8b1483fc
build: use new cli patch method (#187629) 2023-07-11 13:47:08 -07: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 998951e5ed
propagate gh token (#186197) 2023-06-26 20:30:03 +02:00
Ladislau Szomoru 15dc0b5af3
Engineering - fix CLI build for Alpine ARM64 (#184309)
* Add task to install yarn

* Move task

* Add condition
2023-06-05 12:05:51 +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
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 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