Commit graph

174 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
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 18a25cd5d6
Clarify pipeline actions (#195197) 2023-10-11 09:05:00 -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 c9740ad40f
Try with node 18.17 (#194663)
* Try with node 18.17

* And change product compile

* Use 18.15, same as the local version
2023-10-02 15:04:23 -07:00
Robo 1f40d64450
fix: deb and rpm dependency after keytar removal (#192275)
* fix: deb and rpm dependency after keytar removal

* chore: rm libsecret-1-dev from CI

* ci: update cache
2023-09-06 05:24:39 -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
Christof Marti 6ae441b56f
Kerberos auth for proxies (#188130) 2023-07-19 20:11:00 +02:00
Ladislau Szomoru cad3a1c656
Engineering - skip property mangling in PR builds (#184584) 2023-06-08 12:42:40 +02:00
João Moreno 14ea89e7ca
build: quieter node module cache logging (#180709) 2023-04-25 08:26:56 +02: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 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
SteVen Batten 174600ec07
fix build (#174596) 2023-02-16 17:56:20 +01:00
SteVen Batten a28dc84d88
warn on CG alerts (#174591) 2023-02-16 17:30:16 +01:00
João Moreno e8fa61d2fc
retry terrapin 5 times (#171489)
fixes #170935
2023-01-17 13:48:02 +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 665eb030a6
Merge remote-tracking branch 'origin/main' into build-integrated-cli 2022-09-23 13:33:35 -07:00
Alexandru Dima 869fd7bbfb
Only do the /build/ folder check on OSS, where we don't mixin (#161381) 2022-09-21 01:59:57 -07:00
Alexandru Dima 7041b71cd6
Retire basic checks GH action (#161376)
* Add /build/ folder checks (just like GH action)

* Add more checks that were only present in the GH action

* Disable basic checks GH action
2022-09-21 00:58:06 -07:00
Connor Peet e02895941d
build: include the integrated CLI in product builds 2022-09-19 23:16:19 -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
Connor Peet ca48c64699
build: cache built-in extensions to avoid rate limiting (#156918) 2022-08-03 00:27:16 +02:00
Ladislau Szomoru 34f1bc679d
Engineering - update Code OSS pipeline (#155610) 2022-07-19 13:40:33 +00:00
Ladislau Szomoru 2a9f19d36f
Engineering - create pull request pipeline (#149171) 2022-05-11 03:08:54 -07:00
Connor Peet 5e86e40fab
extensions: pull from github in OSS build (#146863)
* extensions: pull from github in OSS build

* fixup! address pr comment
2022-04-10 22:36:12 -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
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
Tyler Leonhardt e54f90f0fd
upload nlsmetadata 2021-09-16 09:16:47 -07:00
Matt Bierner f0ac3ce6fa
Remove webview publish build stage
We now pull in the webview html/js from our a different cdn instead of from this endpoint. We will keep the endpoint around for older VS Code builds but no longer publish content to it
2021-07-07 09:35:25 -07:00
João Moreno b9c18d0404
gotcha 2021-06-24 16:09:17 +02:00
João Moreno d1be29f1ab
hmm 2021-06-24 15:47:54 +02:00
João Moreno ce659a738f
fix #127039 2021-06-24 15:31:15 +02: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
João Moreno 8440af2409
share test compilation output across agents 2021-06-14 16:28:33 +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