Commit graph

27 commits

Author SHA1 Message Date
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
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 0b111a09a1
Publish to new CDN (#198154) 2023-11-16 07:19:59 +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 8ee50f2e21
Fix the rest of the node version references (#194677) 2023-10-03 00:55:32 +01: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
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 7f65f0213c
fix CI when publishing alpine assets (#169917) 2022-12-23 13:23:26 +01:00
João Moreno 59814267dd
Use new Key Vault account (#166049)
use separate keyvault
2022-11-11 09:38:36 +01:00
João Moreno be022daa1a
add 🚀 build tag to builds which go through publishing (#165145) 2022-11-01 04:15:50 -07:00
João Moreno 17213dc9bd
Publish stage should wait for web stage (#155284)
publish stage should wait for web stage
2022-07-15 11:10:39 +02: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
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 6ac63ccffb
Use RBAC for builds (#137473)
* build: 👷 adopt latest azure storage account

* build: 💄

* missing compilation

* iterate faster

* try using AzureCliCredential

* fix indentation

* arg

* fix build

* use MSI for storage

* fix dependency

* argh

* debug

* fix!

* bring back

* argh

* use RBAC for cosmos

* empty
2021-11-18 12:37:23 -08:00
João Moreno acfb946ec1
ci: 👷 no need for yarninstaller task 2021-11-18 15:57:11 +01:00
Tyler James Leonhardt 0199aa4af2 always publish arifacts_prcessed artifact fixes https://github.com/microsoft/vscode-internalbacklog/issues/2250 2021-07-01 10:38:12 -07:00
João Moreno b5b92e130d
akv: use filter 2021-06-17 10:01:58 +02:00
Tyler James Leonhardt a945921fcc update artifact name 2021-05-07 16:11:24 -07:00
Tyler James Leonhardt d61f87f292 handle multiple retries in publish stage 2021-05-07 15:04:40 -07:00
Tyler James Leonhardt 5f7422b6bb
Add release stage back (#123204)
Add release stage back
2021-05-06 14:46:17 -07:00
Tyler Leonhardt 0493df76f2
combine publishing of blobs 2021-05-06 11:18:56 -07:00
Tyler Leonhardt 20a2938f3a
pass in accesstoken into build 2021-05-05 18:38:09 -07: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