Commit Graph

530 Commits

Author SHA1 Message Date
Robo
4c616ec9d1 chore: bump electron@39.2.7 (#283786)
* chore: bump electron@39.2.7

* chore: bump distro

* chore: update electron checksums
2025-12-16 13:57:53 +01:00
Matt Bierner
d9ef62084e Merge pull request #279218 from microsoft/dev/mjbvz/compatible-unicorn
Convert npm scripts to ts
2025-11-24 11:59:50 -08:00
Raymond Zhao
46d0e3c4ba chore: enable BinSkim on Linux (#278183) 2025-11-24 11:08:10 -08:00
Matt Bierner
72eee73887 Convert npm scripts to ts
For #277526

Converting last of the main build scripts to typescript
2025-11-24 11:05:23 -08:00
Robo
f35b832d60 chore: bump electron@39.2.3 (#278722)
* chore: bump electron@39.2.3

* chore: bump distro
2025-11-24 06:30:18 +00:00
Matt Bierner
f0e7fe3775 Convert a few more build scripts to TypeScript
For #277526
2025-11-21 09:26:54 -08:00
Matt Bierner
2648263d3e Run our build scripts directly as typescript (#277567)
* Run our build scripts directly as typescript #277567

Follow up on #276864
For #277526

* Remove a few more ts-node references

* Fix linux and script reference

* Remove `_build-script` ref

* Fix script missing closing quote

* use type only import

* Fix export

* Make sure to run copy-policy-dto

* Make sure we run the copy-policy-dto script

* Enable `verbatimModuleSyntax`

* Pipelines fixes

* Try adding explicit ext to path

* Fix bad edit

* Revert extra `--`

---------

Co-authored-by: João Moreno <joaomoreno@users.noreply.github.com>
2025-11-21 14:56:00 +01:00
João Moreno
911a41f96e Revert "Insider builds should have an auto increasing version number" (#278356)
Revert "Insider builds should have an auto increasing version number (#277497)"

This reverts commit 222fb55dd5.
2025-11-19 15:08:11 +01:00
João Moreno
222fb55dd5 Insider builds should have an auto increasing version number (#277497)
* wip

* more logs

* add bump-insiders-version.yml

* ok give this a try

* fix paths

* missing parameter

* ok

* fix

* fix CI

* hm

* rm

* fix appx version

* fix inno

* whoops

* update insiders version in compile job as well

* thanks @lszomoru
2025-11-17 17:21:33 +01:00
Robo
7ba6cc6685 chore: update electron@39.2.0 (#277706)
* chore: update electron@39.2.0

* chore: bump distro
2025-11-17 05:42:43 +01:00
Robo
d22a78ed50 ci: fix node_modules stage for PR builds (#277081) 2025-11-13 09:04:32 +00:00
Robo
f2531f1c56 chore: update to Electron 39 (#275786)
* chore: bump electron@39.0.0

* chore: update build

* chore: bump distro

* chore: update debian deps

* chore: exclude dlls from symbol scan

* chore: test with patch v8 headers

* chore: bump rpm dependencies

* chore: cleanup preinstall.js

* chore: bump electron@39.1.1

* chore: remove unsupported FontationsLinuxSystemFonts feature flag

* chore: bump electron@39.1.2

* chore: update nodejs build

* temp: update distro

* ci: fix location of preinstall invocation

* chore: bump distro
2025-11-13 08:25:14 +00:00
Paul
c2ad003d43 Enable Linux policy generation step in CI (#274847) 2025-11-03 13:06:54 -08:00
Matt Bierner
fe8fc75455 Pick up latest TS native preview
Fixes the emit for copyright headers
2025-10-28 09:18:27 -07:00
Ladislau Szomoru
c5b9423298 Engineering - add debug messages to verify that the SUID flag is removed from a file (#272175) 2025-10-19 11:21:05 -07:00
Ladislau Szomoru
a72525b82a Engineering - use sudo to remove the SUID bit (#271483) 2025-10-15 09:33:05 +00:00
Ladislau Szomoru
472fe20604 Engineering - fix hard link error during SBOM generation (#271469) 2025-10-15 08:32:15 +00:00
Ladislau Szomoru
4b8bd3cb6f Engineering - refactor product pipeline (#269979) 2025-10-06 11:12:40 +02:00
Robo
48a6c949aa chore: bump electron@37.5.1 (#268885)
* chore: bump electron@37.5.1

* chore: bump distro
2025-09-29 16:57:17 +00:00
Ladislau Szomoru
034e8a4bf4 Engineering - add node_modules stage to keep node_modules cache warm (#268839)
* Engineering - scaffold Windows jobs to maintain node_modules cache

* Add agent pool

* No need to extract node_modules

* Delete commented out code

* Add Linux jobs

* Add macOS job

* Add missing condition

* Add Web job

* Remove steps to download compilation output

* Fix condition for the node_modules stage

* Remove parameter

* Add Alpine jobs

* Remove the check to test the stage

* Switch macOS job to x64

* Restore the check for the node_modules stage

* Remove extraction
2025-09-29 13:55:31 +02:00
Ladislau Szomoru
8c58788416 Engineering - refactor Linux stage (#268828)
* Engineering - refactor Linux stage

* Declare outputs in the template context

* Add outputParentDirectory

* Tweak ouput directory

* More artifacts

* deb and rpm packages

* Fixing path

* Another attempt to fix the path

* Add back the rpm gulp task

* Enable snap package

* Add template for ci jobs

* Test ci jobs

* Add default values for parameters

* Restore the correct check
2025-09-29 12:43:54 +02:00
Ladislau Szomoru
bb58370bb2 Engineering - tweak repository checkout task (#267213)
* Engineering - limit the checkout for the publish and release stages

* Tweak checkout for each job

* Fix path
2025-09-17 16:30:05 +02:00
Ladislau Szomoru
8b03d13e2e Engineering - pipeline improvements (#267130)
* Engineering - try things out

* Use parameters.sbomEnabled instead

* Windows CLI - disable SBOM creation

* macOS CLI - disable SBOM creation

* Remove the isProduction template parameter
2025-09-17 00:05:39 +00:00
Ladislau Szomoru
8e7ae9a3b5 Engineering - mark test artifacts as non-production (#266146)
* Engineering - disable SDL tasks for non-production artifacts

* Engineering - set isProduction for test artifacts
2025-09-11 07:12:40 +00:00
João Moreno
8d7e69612d revert back to official nodejs mirror (#265692)
maybe the issue is gone by now 🤞:
- https://github.com/microsoft/azure-pipelines-tasks/issues/18280
- https://github.com/nodejs/nodejs.org/issues/4495
2025-09-08 17:14:10 +00:00
João Moreno
6c5f088d17 allow skipping linux snap (#265311)
* allow skipping linux snap

* fix ci
2025-09-05 10:30:38 +00:00
João Moreno
0ec8ac6438 Check for artifact existence before publishing (#263777)
* Refactor artifact publishing steps to use a common template across all build configurations

* Refactor conditions in publish artifact template

* typo

* whops

* fix msg

* hm
2025-08-29 15:49:34 +02:00
Robo
35173c1de1 Revert "ci: always generate artifact prefix (#263738)" (#263764)
This reverts commit 502526da29.
2025-08-28 08:31:42 +00:00
Robo
502526da29 ci: always generate artifact prefix (#263738) 2025-08-28 07:22:41 +02:00
Robo
9d7c34c96a chore: update electron@37.3.1 (#263552)
* chore: update electron@37.3.1 (#262877)

* chore: update electron@37.3.1

* chore: remove workaround for npm scripts argument parsing

Refs f99aa748c0

* chore: update node.js@22.18.0

* temp: bump distro

* chore: bump distro
2025-08-27 13:08:07 +00:00
Raymond Zhao
80c270d20f Revert "chore: update electron@37.3.1" (#263488)
Revert "chore: update electron@37.3.1 (#262877)"

This reverts commit ad0b5d23c1.
2025-08-26 23:04:57 +00:00
Robo
ad0b5d23c1 chore: update electron@37.3.1 (#262877)
* chore: update electron@37.3.1

* chore: remove workaround for npm scripts argument parsing

Refs f99aa748c0

* chore: update node.js@22.18.0

* chore: bump distro
2025-08-26 15:40:21 +02:00
Ladislau Szomoru
cb596f81ac Engineering - cleanup pull request ADO pipeline (#262276)
* Initial implementation

* Fix indentation
2025-08-19 11:25:14 +02:00
Matt Bierner
12a275ffe7 Use ts-native to compile our build scripts
There are a few minor differences in output, mostly around formatting/comments. Const enums are also not inlined but that seems fine in these cases
2025-08-06 11:41:52 -07:00
Robo
10575e19aa (partial revert) ci: remove install build dependencies step on linux (#257064) 2025-07-21 11:25:26 +00:00
Robo
8c19263c57 (reland) chore: update to Electron 37 (#256905)
* chore: update to Electron 37 (#256287)

* chore: update electron@36.5.0

* chore: update node.js builds

* chore: update electron@37.0.0

* chore: update rpm deps

* chore: bump electron@37.2.0

* chore: bump nodejs@22.17.0

* temp: update distro

* chore: bump .nvmrc

* chore: bump distro

* chore: bump electron@37.2.3

* chore: bump distro

* chore: update electron build
2025-07-21 12:37:44 +02:00
Robo
b37c013d08 ci: remove install build dependencies step on linux (#257050) 2025-07-21 09:38:54 +00:00
Matt Bierner
3059a176b1 Revert "chore: update to Electron 37 (#256287)"
This reverts commit 9f4784d4bb.
2025-07-17 16:27:56 -07:00
Robo
9f4784d4bb chore: update to Electron 37 (#256287)
* chore: update electron@36.5.0

* chore: update node.js builds

* chore: update electron@37.0.0

* chore: update rpm deps

* chore: bump electron@37.2.0

* chore: bump nodejs@22.17.0

* temp: update distro

* chore: bump .nvmrc

* chore: bump distro
2025-07-17 18:10:54 +00:00
Robo
6947b69d47 fix: revert remote libcxx requirement to 3.4.25 (#248976)
* fix: revert libcxx requirement to 3.4.25

* ci: temp debugging

* fix: use gcc 8.5.0 for remote

* ci: update cache

* ci: fix sysroot directory

* ci: fix objdump directory
2025-05-14 20:10:32 -07:00
Robo
12326f9906 chore: update to Electron 35 (#245423)
* chore: bump electron@35.0.1

* chore: update types/node@22.x

* chore: update web types for node v22.x

* chore: bump electron@35.1.2

* chore: update node.js build

* chore: update app.dock usage

Refs 71f3ff6bf2

* chore: bump electron@35.1.4

* chore: bump electron@35.1.5

* ci: bump sysroot to glibc 2.28 and gcc 10.5.0

* ci: enable timeout for smoketests

* chore: bump min glibcxx to 3.4.26 for server

* Revert "ci: enable timeout for smoketests"

This reverts commit afb637e85d.

* chore: update debian dependencies

* fix: workaround npm.ps1 argument parsing with powershell

* chore: update rpm dependencies

* test: partially revert changes from 242535

* test: remove redudant keybinding dispatch for selectTab

* test: fix test failure from running configured tasks

* test: focus settings editor for preferences.test.ts

* node - adopt compile cache (#246835)

* node - adopt compile cache

* adopt for utility process

* tweaks

* log state of compilation cache

* Revert "log state of compilation cache"

This reverts commit f3840387a583013834762e2c44f6e8424929297f.

* Revert "node - adopt compile cache (#246835)"

This reverts commit 673a00cab66c9bac87f3cd27b80efa41c80150f1.

* chore: update builds

* chore: bump electron@35.2.0

* chore: bump electron@35.2.1

* chore: bump electron@35.2.2

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2025-05-09 19:03:36 +09:00
Ladislau Szomoru
1799c2beaa Engineering - refactor codesign scripts (#246459)
* Engineering - consolidate codesign scripts

* Try using a script task

* Switch back to old syntax

* Bump deemon
2025-04-14 09:13:45 +02:00
Ladislau Szomoru
0bb72be9d0 Engineering - linux codesign in the background (#246344)
* Try things oout

* Add sleep

* Bump deemon

* .

* Improve script

* bump deemon

* Revert some debugging changes

* Revert more code used for debugging

---------

Co-authored-by: João Moreno <joaomoreno@users.noreply.github.com>
2025-04-11 21:31:43 +02:00
João Moreno
77a0b47822 fix linux stage (#246235) 2025-04-10 20:33:31 +02:00
João Moreno
7ffe461fac inline linux snap (#246076)
* inline linux snap

* hm

* no need for tar

* hm

* hm

* debug

* hm

* 💄
2025-04-10 17:24:29 +02:00
Ladislau Szomoru
88b8f12fd4 Engineering - linux codesign in parallel (#246135)
* Set up the jobs and tasks

* Add codesign script

* Debug things

* Speed things up while testing

* Add more logging

* More debugging

* Try to use powershell

* Another try

* Another try

* Remove debugging code

* Remove debugging code

* .

* Try using pwsh

* Fix script

* Maybe now

* Maybe now

* Run the sign tasks in parallel

* Revert debug change
2025-04-09 22:02:25 +02:00
Robo
b952f59bea ci: remove explicit dbus setup (#246114) 2025-04-09 17:29:50 +02:00
Ladislau Szomoru
5631ffb317 Engineering - update test task display name (#245847) 2025-04-07 10:44:58 +02:00
Ladislau Szomoru
ba845a02f6 Engineering - fix check for running browser smoke tests (#245460) 2025-04-03 07:13:36 -07:00
Ladislau Szomoru
5f65e5f6e9 Engineering - run tests based on target (#245367) 2025-04-03 06:27:23 +00:00