Commit Graph

66 Commits

Author SHA1 Message Date
Aditya Patwardhan
5dbc3d564d
Update nuget publish to use Deploy Box (#24596) 2024-11-15 15:44:12 -08:00
Justin Chung
cc02e3119c
Added Deploy Box Product Pathway to GitHub Release and NuGet Release Pipelines (#24583) 2024-11-15 15:14:44 -08:00
Aditya Patwardhan
435bd05d16
Update machine pool for copy blob and upload buildinfo stage (#24587) 2024-11-14 14:08:14 -08:00
Aditya Patwardhan
fa78b57ba9
Download package from package build for generating vpack (#24481) 2024-10-23 10:51:05 -07:00
Patrick Meinecke
14c82b568a
Delete the msix blob if it's already there (#24353) 2024-10-14 14:11:13 -07:00
Travis Plunk
4f7819d143
Add CodeQL scanning to APIScan build (#24303)
* Enable CodeQL in the APIScan build

* fix indentation

* fix build name

* Manually add CodeQL

* enable TSA directly in codeql

* update codeql source code directory

* go back to version 0

* switch to variable to configure source code root

* Update .pipelines/apiscan-gen-notice.yml
2024-10-11 13:33:15 -07:00
Tess Gauthier
5b6a667b50
Update vpack pipeline (#24281)
* explicitly disable async sdl

* Update PowerShell-vPack-Official.yml
2024-10-03 15:29:33 -07:00
Justin Chung
2d092b1ea6
Bring changes from v7.5.0-preview.5 Release Branch to Master (#24369)
* Merged PR 32689: Fix typo in release-MakeBlobPublic.yml

Fix typo in release-MakeBlobPublic.yml

* Merged PR 32696: Fixed Test Scenario for Compress-PSResource

The test was failing because a relative path was provided to parameter -DestinationPath.
Should update Compress-PSResource to accept relative paths for -DestinationPath.

----
#### AI description  (iteration 1)
#### PR Classification
Bug fix for a failing test scenario.

#### PR Summary
This pull request fixes the test scenario for the `Compress-PSResource` function.
- `Microsoft.PowerShell.PSResourceGet.Tests.ps1`: Updated the path resolution for `$PublishedNupkgs` using `Resolve-Path` and added a missing line break in the test for compressing a module.

* Merged PR 32709: Changelog for v7.5.0-preview.5

Added 7.5.0-preview.5 change log

----
Changelog update for the new preview release.
This pull request updates the changelog for the v7.5.0-preview.5 release, documenting breaking changes, engine updates, new features, and other improvements.
- `ConvertTo-Json`: Treat large Enum values as numbers.
- `Import-Module`: Fix processor architecture validation.
- `Resolve-Path` and `Convert-Path`: Add `-Force` parameter to support wildcard hidden files.
- `PSResourceGet` test: Fix cleanup.
- Various build and packaging improvements, including updates to dependencies and test scenarios.

* added ks2 to release pipeline

* Merged PR 32752: Copy global tools to static site

Rather than an intermediate folder that must be manually copied into the static site.

----
#### AI description  (iteration 1)
#### PR Classification
Code modification to enhance functionality.

#### PR Summary
This pull request updates the release pipeline to copy global tools to a static site.
- Changes in `/.pipelines/templates/release-MakeBlobPublic.yml` to set `prefix` and `destinationPrefix` for blob copying.
- Adjusted destination container name to use `$web` and updated blob naming conventions.

* Merged PR 32759: Switch to single quotes for container name in global tool copy

#### AI description  (iteration 1)
#### PR Classification
Code cleanup

#### PR Summary
This pull request updates the container name string to use single quotes for consistency.
- Changes in `/.pipelines/templates/release-MakeBlobPublic.yml` to switch `$destinationContainerName` from double quotes to single quotes.

* Added condition for make blob public

* moved conditional from global tools to copy

* conditional as a paramter instead of var

* removed dependency

* blob folder name to release Tag

---------

Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
Co-authored-by: Justin Chung <t-juchung@microsoft.com>
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
Co-authored-by: Patrick Meinecke <pmeinecke@microsoft.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2024-10-03 21:32:33 +00:00
Patrick Meinecke
ba493b6f1a
Copy to static site instead of making blob public (#24269) 2024-09-25 09:49:26 -07:00
Travis Plunk
a42e5dbd1d
Ensure the official build files CodeQL issues (#24278)
* Enable and Disable CodeQL in the right places during the official build

* fix codeql condition

* fix syntax error

* Enable codeQL issue filing

* use parameter instead of branch to force codeql

* try to name the build better

* Update .pipelines/PowerShell-Coordinated_Packages-Official.yml

* add debugging to display name of debugging parameters

* fix spacing

* Update .pipelines/PowerShell-Coordinated_Packages-Official.yml
2024-09-12 10:11:55 -07:00
Travis Plunk
a9f81c5803
Make some release tests run in a hosted pools (#24270) 2024-09-10 14:48:39 -07:00
Travis Plunk
92825b7710
Create new pipeline for compliance (#24252)
* Set up CI with Start Right

* remove deadcode and add copyright notice

* Update .pipelines/templates/compliance/apiscan.yml

* Apply suggestions from code review

* fix syntax
2024-09-05 22:16:57 +00:00
Travis Plunk
c83bd87e4f
Capture environment better (#24148)
* Capture environment better

* Capture env better
2024-09-05 14:49:23 -07:00
Aditya Patwardhan
04672bfdd6
Add windows signing for pwsh.exe (#24219)
* Add windows signing for pwsh.exe

* Use CP code for signing pwsh.exe

* Fix typo

* Update signing cert

* Add signing test
2024-09-03 14:20:47 -07:00
Dongbo Wang
5bcda5d060
Update the URLs used in nuget.config files (#24203) 2024-08-23 22:25:23 +00:00
Travis Plunk
c47db95c51
Check Create and Submit in vPack build by default (#24181) 2024-08-20 15:43:20 -07:00
Travis Plunk
5919a249a1
Fixes to Azure Public feed usage (#24149)
* Fix code PATs

* Fix feed PATs

* remove gallery commit

* update feed url

* Update to new variable groups

* Fix Variable name

* Fix credential template

* Disable Signing setup in prep stage

* Capture nuget source list

* lock down the firewall

* Add creds to feed switch to allow single switch location

* Use switch from build.psm1

* Use switch template instead of commands

* update to test feed

* disable codeql in jobs where we don't compile

* disable code sign validation for prep

* move capture steps to restore phase to see if it speeds things up

* remove duplicate capture of nuget config

* update test service

* Only build windows test service on windows

* warn when no config is generated

* try to fix test service

* fix web listener refs

* try removing dotnet tool

* update feedname with user info

* update package version that is not found

* try moving failing jobs to restore phase

* allow nuget inset in either phase

* update package ref

* use the right reporoot

* Move everything to restore

* Try adding build phase

* put nuget files in the right place

* move bootstrap into yaml

* remove onebranch agent items from macos build

* switch to environment variable

* bump a couple of packages

* fix formatting

* Fix static analysis issue

* update feed url to test restoring everything

* install the AzFeed cred provider

* fix binlog issues
2024-08-15 09:06:29 -07:00
Travis Plunk
61fa143ede
update path (#24134) 2024-08-12 12:25:11 -07:00
Travis Plunk
345707c2a1
Add ability to capture MSBuild Binary logs when restore fails (#24128)
* Capture binary logs

* Update .pipelines/PowerShell-Coordinated_Packages-Official.yml
2024-08-09 10:23:31 -07:00
Travis Plunk
8cc7f4c712
add ability to skip windows stage (#24116) 2024-08-08 14:08:39 -07:00
Travis Plunk
947a41b556
chore: Refactor Nuget package source creation to use New-NugetPackageSource function (#24104) 2024-08-02 12:56:52 -07:00
Travis Plunk
8a8f2d4b23
Make Microsoft feeds the default (#24098) 2024-07-31 19:41:15 +00:00
Aditya Patwardhan
2a77030a0b
Enumerate over all signed zip packages (#24063) 2024-07-30 13:16:00 -07:00
Aditya Patwardhan
390a341a61
Add macos signing for package files (#24015)
* Sign macos packages

* Fix typo

* Add variables

* Remove signing cert

* Update signing

* Add signing cert

* Add uncompress

* Add variable group

* Download signed macos packages
2024-07-11 10:58:46 -07:00
Aditya Patwardhan
dbb17afcb2
Skip build steps that do not have exe packages (#23945) 2024-07-01 11:36:04 -07:00
Aditya Patwardhan
bd8b0bd421
Create powershell.config.json for PowerShell.Windows.x64 global tool (#23941) 2024-06-12 16:47:36 -07:00
Travis Plunk
7108ae0027
Fix error in the vPack release, debug script that blocked release (#23904)
* Update PowerShell-vPack-Official.yml for Azure Pipelines

* Merged PR 31369: fix version override parameter

- change default value of override version parameter to make actually optional
- eliminate redundant version override variable and use parameter directly

* Fix condition

* remove trailing spaces

* remove other syntax issue

---------

Co-authored-by: Tess Gauthier <tessgauthier@microsoft.com>
2024-06-10 21:22:55 +00:00
Tess Gauthier
2018c16df0
Add vPack release (#23898) 2024-06-06 10:02:35 -07:00
Aditya Patwardhan
51b8e5d1da
Fix exe signing with third party signing for WiX engine (#23878) 2024-05-31 17:02:03 +00:00
Aditya Patwardhan
cdb7556d04
Add checkout to fix TSA config paths (#23865) 2024-05-28 14:35:29 -07:00
Aditya Patwardhan
cd7c173ca1 Fix symbols and buildinfo publish 2024-05-28 11:05:23 -07:00
Aditya Patwardhan
d56df8b1c2 Add parameter to skip PMC publish 2024-05-28 10:50:56 -07:00
Aditya Patwardhan
e7b3c2e3c6 Make container name lowercase for blob 2024-05-28 10:37:16 -07:00
Aditya Patwardhan
96c3676486 Remove duplicate parameter in symbol publish stage 2024-05-28 10:20:42 -07:00
Aditya Patwardhan
a67a49f014 Add storage account variable group 2024-05-28 10:17:48 -07:00
Aditya Patwardhan
a9ec8a8ff3 Fix nuget publish download path 2024-05-28 10:13:18 -07:00
Aditya Patwardhan
d3b9f612d2 Fix nuget publish and buildinfo 2024-05-24 11:55:08 -07:00
Aditya Patwardhan
4efee1a67b Set packagesroot variable 2024-05-24 10:49:14 -07:00
Aditya Patwardhan
ff0a9b5fd8 Credscan variable and prefix fix 2024-05-24 09:03:20 -07:00
Aditya Patwardhan
66ba14013a Add verbose and confirm 2024-05-24 08:05:01 -07:00
Aditya Patwardhan
f3d33796fc Provider destination prefix and force 2024-05-24 07:19:08 -07:00
Aditya Patwardhan
73b00b07f4 Use sync copy 2024-05-23 23:18:58 -07:00
Aditya Patwardhan
7b88106c89 Fix blob names 2024-05-23 20:35:39 -07:00
Aditya Patwardhan
02912a5c78 Fix variable name 2024-05-23 19:19:14 -07:00
Aditya Patwardhan
d51bb58990 Fix container names 2024-05-23 18:40:30 -07:00
Aditya Patwardhan
26e9b42875 Fix typo 2024-05-23 16:07:21 -07:00
Aditya Patwardhan
074a549559 Fix global tool copy 2024-05-23 15:01:03 -07:00
Aditya Patwardhan
52cae5662f Update to use AZ cli instead 2024-05-23 13:45:05 -07:00
Aditya Patwardhan
b38b62dee1 Remove unnecessary clone 2024-05-23 13:08:50 -07:00
Aditya Patwardhan
5ee14b7852 Fix path for REPOROOT 2024-05-23 12:54:14 -07:00