KEMBAR78
[master] Update branch for release by pwshBot · Pull Request #24534 · PowerShell/PowerShell · GitHub
Skip to content

Conversation

@pwshBot
Copy link
Collaborator

@pwshBot pwshBot commented Oct 31, 2024

Automated changes by create-pull-request GitHub action

@pwshBot pwshBot force-pushed the master_package_references branch from 85e08a9 to 04ee2ed Compare October 31, 2024 21:01
@TravisEz13 TravisEz13 changed the title Update branch for release [master] Update branch for release Oct 31, 2024
@TravisEz13 TravisEz13 merged commit 7db6a70 into PowerShell:master Oct 31, 2024
42 checks passed
@microsoft-github-policy-service
Copy link
Contributor

microsoft-github-policy-service bot commented Oct 31, 2024

📣 Hey @pwshBot, how did we do? We would love to hear your feedback with the link below! 🗣️

🔗 https://aka.ms/PSRepoFeedback

jshigetomi pushed a commit to jshigetomi/PowerShell that referenced this pull request Nov 14, 2024
* Update package references

* Update cgmanifest

* Update IsolatedModule.Tests.ps1

---------

Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
@jshigetomi jshigetomi added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Dec 12, 2024
TravisEz13 added a commit that referenced this pull request Jan 22, 2025
* added checks to see if pwsh will install

* Upload download folder to artifacts

* Build.ArtifactStagingDirectory

* added verbose

* download folder copy-item -recurse

* Filter copy-item to exclude msix and nupkg

* fixed error with piping objects along

* adding pwsh to path, added checks to see if it was installed

* removed error with write Verbose

* Write-Host ##vstsCommandString

* vsts command string

* trying again

* added path in a new way

* checking if the folder contain pwsh.exe

* added \

* checking the next step with out pwsh

* checking the next step with out pwsh

* trying ##

* ##vso[task.prependpath]$env:PATH

* fixed variable $

* fixed path

* fixed string path issue, and env:Path

* trying pwsh: true

* added pwsh true, refactored publish release draft step to original

* fixed CL file location

* refactoring to original format

* made approval jobs a separate stage and template

* copilot auto fixed wrong approvalJob

* removed job dependency because stage dependency exists

* copying packages in separate folders

* changed package path, turned on DBP on nuget

* removed nugetcommand

* Production, turn on dependencies

* Added Deploy Box Product Pathway to Github Release
and Nuget Release Pipelines

* Templatized pwsh install and repo checkout, clean ups

* Fix seed max value for Container Linux CI (#24510)

* Bump .NET to 9.0.100-rc.2.24474.11 (#24509)

* Update PSResourceGet to v1.1.0-RC2 (#24512)

* Update PSResourceGet to v1.1.0-RC2

* Fix windows packaging

* Update windows bom

* Update version string to be lowercase

---------

Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>

* Update changelog for v7.4.6 release (#24496)

* Add a way to use only NuGet feed sources (#24528)

* Update build.psm1

* update default feeds

* fix issue with cgmanifest having duplicate existing entries

* update pattern

* Revert "Update package references (#24414)" (#24532)

This reverts commit 01ae632.

* [master] Update branch for release (#24534)

* Update package references

* Update cgmanifest

* Update IsolatedModule.Tests.ps1

---------

Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>

* Bump github/codeql-action from 3.26.10 to 3.27.0 (#24483)

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.10 to 3.27.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@e2b3eaf...6624720)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/upload-artifact from 4.4.0 to 4.4.3 (#24410)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.0 to 4.4.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@5076954...b4b15b8)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump agrc/reminder-action from 1.0.14 to 1.0.15 (#24384)

Bumps [agrc/reminder-action](https://github.com/agrc/reminder-action) from 1.0.14 to 1.0.15.
- [Release notes](https://github.com/agrc/reminder-action/releases)
- [Changelog](https://github.com/agrc/reminder-action/blob/main/CHANGELOG.md)
- [Commits](agrc/reminder-action@b5cc065...4520130)

---
updated-dependencies:
- dependency-name: agrc/reminder-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/checkout from 4.2.1 to 4.2.2 (#24488)

Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@eef6144...11bd719)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/dependency-review-action from 4.3.4 to 4.4.0 (#24503)

Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.3.4 to 4.4.0.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](actions/dependency-review-action@5a2ce3f...4081bf9)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Support PSObject wrapped values in ArgumentToEncodingTransformationAttribute (#24555)

* Bump .NET 9 and dependencies (#24573)

* added stage uploading cl and tool to artifacts, removed ob_release_env variable on first stage

* removed publish artifact

* removed variables like tsa config template

* updated image windows container image

* using REPOROOT, removed pwsh checkout, -recurse tools

* added turning off tsa config, credscan, and codesignValidation

* removed cl and tool stage

* combined approval stages

* removed unnecessary variable srcPath

* commented out package pipeline changes

* added package gathering in the release template

* added variable template

* fixed dependsonjob

* added depnedency, added filtering file by ext

* removed dependency

* .gz

* added depends on

* added verbose, fixed checkout

* fixed dependencies

* fixed dependencies 2

* fixed dependcies 3

* enabled sbom

* disabled signing setup

* fixed checkout

* single qute problem

* checking env build source

* testing checkout

* using old pipeline

* checkout

* branch name

* refs/heads

* fixed back to original intention

* separating out ev2

* added ob_release to test

* removed release and ob for first stage

* correct and to And

* removed ob_outputdirectory

* removed ob_outputdirectory

* adding ob_outputDirectory

* added Test_

* added ev2 folders

* approval service env to Test

* removed approval service

* changed inputs

* removed invalid inputs

* modified inputs

* moved jsons to correct location

* copied verbatim from eng hub

* removed dependency to blob public

* added copy

* added docker deployment test service connection

* added mscodehubPAT variable group

* signing profile to internal azure service

* capture workspace

* comment out internal tools signing for now

* move EV2Specs folder and fix path reference to it

* test path of Run.ps1 and change files to sign pattern

* refer to PowerShell files with project name in path as  multiple repo's were checked out

* comment out signing for now

* enable TiP signing

* comment out unused tasks for now

* add in prep steps

* use higher python version available

* use repoRoot in path

* add verbose and error logging to pip3 download command

* fix typo in pip3 command

* add other pip3 command

* use full path of pip3 executable

* check exe path

* fix pip3 command syntax and dir location

* try bash step

* Remove bash step

* change artifactFeed name

* set artifactFeedName to project/feed per docs

* Remove the service connection

* add pip verbose command

* use correct feed name

* remove the service connection and add verbose logging

* get version info only

* fix typo in Push-Location

* use pip instead of pip3

* upgrade pip

* add pip download command

* add code to download needed artifacts and create .tar.gz uploaded to ob_outputdirectory

* add verbose logging

* add one more folder

* add -ItemType Directory

* add variable group reference

* remove var group and var for now

* fix path to mapping.json

* add credscan suppression file var

* copy over EV2Specs folder with fixed path

* specify SourceFolder for CopyFiles task

* put packages.tar.gz under ServiceGroupRoot/Parameters

* create Parameters folder once and refer to pmc MI var

* refer to variable group

* update EV2 json files and test pmc tool in run script

* add tsaconfig file var and fix typo

* add buildVer.txt file

* populate version

* have EV2 task be seperated out into its own stage

* update service connection name in EV2 test task

* see which versions are available

* add -Recurse parameter

* specify version as 3

* test expected path

* comment out python package related code for now

* try recommended version

* try checking onebranch container image path for python

* fix logging statement

* add back rest of python related tasks to see if OB installed python will work

* get repolist.json

* debug why file doesn't exist

* fix path

* fix path in Run.ps1

* update container version

* invoke crane tool which should come installed like python

* refer to python exe

* just use pip

* upgrade pip

* use linux pool image when installing pip package

* use python3 on linux

* revert use of python 3

* comment out python code for now

* mitigate file watcher issue

* set linuxEsrpSigning: true

* try moving set up signing task to right before signing

* remove other ob_restore_phase

* keep using windows image, but specify platform for pip download

* add binaries only flag needed by pip

* try latest manylinux platform

* use linux pool image for job

* use manylinux platform from run that only failed at signing

* use linux pool image for job again with ob_restore_phase

* use python3 on linux

* add ob_restore_phase: true to more tasks

* move the file tasks up

* move the file tasks up again

* add ob_restore_phase: true to all tasks

* move template call before checkout step

* add ob_restore_phase based parameter to template that sets tag and container name

* remove ob_restore_phase from initial checkout

* check pipeline workspace

* more verbose statements for debugging

* more verbose statements for debugging

* move Ev2Specs folder out of .pipelines as ob_restore_phase doesn't copy folders beggining with period

* change casing

* move EV2 files back to .pipelines folder

* update location of rg

* remove which command

* see accessible pmc repos

* fix var names

* limit pmc repo list and add Get-PackageInfo() implementation

* remove repo list command that was writing and fix typo

* add New-RepoPackageObject() implementation

* fix verbose statement and add commented out implementation of Publish-PackageFromBlob()

* add extraction of packages from packages.tar.gz

* change release tag version

* add Skip publish CI param

* add Skip publish as template param as well

* fix boolean written to pmcMetadata.json

* correctly convert boolean written to pmcMetadata.json

* test the function

* add final publishing code in

* fix typo

* trim 'v' off release version

* fix the testing version

* clean up code into methods

* remove call to dead method

* add final publishing code in

* add return

* add missing param

* combine code that creates package objects into one method

* remove unused param

* clean up unused vars

* clean up unused code

* use actual tag

* update conflicting files

* remove code changes to uploadToAzure.yml

* use official template

* use correct official template

* remove generic guardian suppression and tip signing enabling

* temporarily use non official template and fix how pipeline env var is called

* fix indentation

* skip calling pmc code for now

* log version

* log version again

* refer to releaseTag output var correctly

* clean up

* use official template

* fix signing errors- set linuxEsrpSigning: true

* linuxEsrpSigning is a featureFlag

* remove reference to repoList.json which is no longer used and use created vars

* clean up code

* clean up code

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
Co-authored-by: Justin Chung <t-juchung@microsoft.com>
Co-authored-by: Justin Chung <124807742+jshigetomi@users.noreply.github.com>
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
Co-authored-by: alerickson <25858831+alerickson@users.noreply.github.com>
Co-authored-by: Patrick Meinecke <SeeminglyScience@users.noreply.github.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
Co-authored-by: PowerShell Team Bot <69177312+pwshBot@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jordan Borean <jborean93@gmail.com>
TravisEz13 added a commit that referenced this pull request Jan 22, 2025
* added checks to see if pwsh will install

* Upload download folder to artifacts

* Build.ArtifactStagingDirectory

* added verbose

* download folder copy-item -recurse

* Filter copy-item to exclude msix and nupkg

* fixed error with piping objects along

* adding pwsh to path, added checks to see if it was installed

* removed error with write Verbose

* Write-Host ##vstsCommandString

* vsts command string

* trying again

* added path in a new way

* checking if the folder contain pwsh.exe

* added \

* checking the next step with out pwsh

* checking the next step with out pwsh

* trying ##

* ##vso[task.prependpath]$env:PATH

* fixed variable $

* fixed path

* fixed string path issue, and env:Path

* trying pwsh: true

* added pwsh true, refactored publish release draft step to original

* fixed CL file location

* refactoring to original format

* made approval jobs a separate stage and template

* copilot auto fixed wrong approvalJob

* removed job dependency because stage dependency exists

* copying packages in separate folders

* changed package path, turned on DBP on nuget

* removed nugetcommand

* Production, turn on dependencies

* Added Deploy Box Product Pathway to Github Release
and Nuget Release Pipelines

* Templatized pwsh install and repo checkout, clean ups

* Fix seed max value for Container Linux CI (#24510)

* Bump .NET to 9.0.100-rc.2.24474.11 (#24509)

* Update PSResourceGet to v1.1.0-RC2 (#24512)

* Update PSResourceGet to v1.1.0-RC2

* Fix windows packaging

* Update windows bom

* Update version string to be lowercase

---------

Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>

* Update changelog for v7.4.6 release (#24496)

* Add a way to use only NuGet feed sources (#24528)

* Update build.psm1

* update default feeds

* fix issue with cgmanifest having duplicate existing entries

* update pattern

* Revert "Update package references (#24414)" (#24532)

This reverts commit 01ae632.

* [master] Update branch for release (#24534)

* Update package references

* Update cgmanifest

* Update IsolatedModule.Tests.ps1

---------

Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>

* Bump github/codeql-action from 3.26.10 to 3.27.0 (#24483)

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.10 to 3.27.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@e2b3eaf...6624720)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/upload-artifact from 4.4.0 to 4.4.3 (#24410)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.0 to 4.4.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@5076954...b4b15b8)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump agrc/reminder-action from 1.0.14 to 1.0.15 (#24384)

Bumps [agrc/reminder-action](https://github.com/agrc/reminder-action) from 1.0.14 to 1.0.15.
- [Release notes](https://github.com/agrc/reminder-action/releases)
- [Changelog](https://github.com/agrc/reminder-action/blob/main/CHANGELOG.md)
- [Commits](agrc/reminder-action@b5cc065...4520130)

---
updated-dependencies:
- dependency-name: agrc/reminder-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/checkout from 4.2.1 to 4.2.2 (#24488)

Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@eef6144...11bd719)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/dependency-review-action from 4.3.4 to 4.4.0 (#24503)

Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.3.4 to 4.4.0.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](actions/dependency-review-action@5a2ce3f...4081bf9)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Support PSObject wrapped values in ArgumentToEncodingTransformationAttribute (#24555)

* Bump .NET 9 and dependencies (#24573)

* added stage uploading cl and tool to artifacts, removed ob_release_env variable on first stage

* removed publish artifact

* removed variables like tsa config template

* updated image windows container image

* using REPOROOT, removed pwsh checkout, -recurse tools

* added turning off tsa config, credscan, and codesignValidation

* removed cl and tool stage

* combined approval stages

* removed unnecessary variable srcPath

* commented out package pipeline changes

* added package gathering in the release template

* added variable template

* fixed dependsonjob

* added depnedency, added filtering file by ext

* removed dependency

* .gz

* added depends on

* added verbose, fixed checkout

* fixed dependencies

* fixed dependencies 2

* fixed dependcies 3

* enabled sbom

* disabled signing setup

* fixed checkout

* single qute problem

* checking env build source

* testing checkout

* using old pipeline

* checkout

* branch name

* refs/heads

* fixed back to original intention

* separating out ev2

* added ob_release to test

* removed release and ob for first stage

* correct and to And

* removed ob_outputdirectory

* removed ob_outputdirectory

* adding ob_outputDirectory

* added Test_

* added ev2 folders

* approval service env to Test

* removed approval service

* changed inputs

* removed invalid inputs

* modified inputs

* moved jsons to correct location

* copied verbatim from eng hub

* removed dependency to blob public

* added copy

* added docker deployment test service connection

* added mscodehubPAT variable group

* signing profile to internal azure service

* capture workspace

* comment out internal tools signing for now

* move EV2Specs folder and fix path reference to it

* test path of Run.ps1 and change files to sign pattern

* refer to PowerShell files with project name in path as  multiple repo's were checked out

* comment out signing for now

* enable TiP signing

* comment out unused tasks for now

* add in prep steps

* use higher python version available

* use repoRoot in path

* add verbose and error logging to pip3 download command

* fix typo in pip3 command

* add other pip3 command

* use full path of pip3 executable

* check exe path

* fix pip3 command syntax and dir location

* try bash step

* Remove bash step

* change artifactFeed name

* set artifactFeedName to project/feed per docs

* Remove the service connection

* add pip verbose command

* use correct feed name

* remove the service connection and add verbose logging

* get version info only

* fix typo in Push-Location

* use pip instead of pip3

* upgrade pip

* add pip download command

* add code to download needed artifacts and create .tar.gz uploaded to ob_outputdirectory

* add verbose logging

* add one more folder

* add -ItemType Directory

* add variable group reference

* remove var group and var for now

* fix path to mapping.json

* add credscan suppression file var

* copy over EV2Specs folder with fixed path

* specify SourceFolder for CopyFiles task

* put packages.tar.gz under ServiceGroupRoot/Parameters

* create Parameters folder once and refer to pmc MI var

* refer to variable group

* update EV2 json files and test pmc tool in run script

* add tsaconfig file var and fix typo

* add buildVer.txt file

* populate version

* have EV2 task be seperated out into its own stage

* update service connection name in EV2 test task

* see which versions are available

* add -Recurse parameter

* specify version as 3

* test expected path

* comment out python package related code for now

* try recommended version

* try checking onebranch container image path for python

* fix logging statement

* add back rest of python related tasks to see if OB installed python will work

* get repolist.json

* debug why file doesn't exist

* fix path

* fix path in Run.ps1

* update container version

* invoke crane tool which should come installed like python

* refer to python exe

* just use pip

* upgrade pip

* use linux pool image when installing pip package

* use python3 on linux

* revert use of python 3

* comment out python code for now

* mitigate file watcher issue

* set linuxEsrpSigning: true

* try moving set up signing task to right before signing

* remove other ob_restore_phase

* keep using windows image, but specify platform for pip download

* add binaries only flag needed by pip

* try latest manylinux platform

* use linux pool image for job

* use manylinux platform from run that only failed at signing

* use linux pool image for job again with ob_restore_phase

* use python3 on linux

* add ob_restore_phase: true to more tasks

* move the file tasks up

* move the file tasks up again

* add ob_restore_phase: true to all tasks

* move template call before checkout step

* add ob_restore_phase based parameter to template that sets tag and container name

* remove ob_restore_phase from initial checkout

* check pipeline workspace

* more verbose statements for debugging

* more verbose statements for debugging

* move Ev2Specs folder out of .pipelines as ob_restore_phase doesn't copy folders beggining with period

* change casing

* move EV2 files back to .pipelines folder

* update location of rg

* remove which command

* see accessible pmc repos

* fix var names

* limit pmc repo list and add Get-PackageInfo() implementation

* remove repo list command that was writing and fix typo

* add New-RepoPackageObject() implementation

* fix verbose statement and add commented out implementation of Publish-PackageFromBlob()

* add extraction of packages from packages.tar.gz

* change release tag version

* add Skip publish CI param

* add Skip publish as template param as well

* fix boolean written to pmcMetadata.json

* correctly convert boolean written to pmcMetadata.json

* test the function

* add final publishing code in

* fix typo

* trim 'v' off release version

* fix the testing version

* clean up code into methods

* remove call to dead method

* add final publishing code in

* add return

* add missing param

* combine code that creates package objects into one method

* remove unused param

* clean up unused vars

* clean up unused code

* use actual tag

* update conflicting files

* remove code changes to uploadToAzure.yml

* use official template

* use correct official template

* remove generic guardian suppression and tip signing enabling

* temporarily use non official template and fix how pipeline env var is called

* fix indentation

* skip calling pmc code for now

* log version

* log version again

* refer to releaseTag output var correctly

* clean up

* use official template

* fix signing errors- set linuxEsrpSigning: true

* linuxEsrpSigning is a featureFlag

* remove reference to repoList.json which is no longer used and use created vars

* clean up code

* clean up code

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
Co-authored-by: Justin Chung <t-juchung@microsoft.com>
Co-authored-by: Justin Chung <124807742+jshigetomi@users.noreply.github.com>
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
Co-authored-by: alerickson <25858831+alerickson@users.noreply.github.com>
Co-authored-by: Patrick Meinecke <SeeminglyScience@users.noreply.github.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
Co-authored-by: PowerShell Team Bot <69177312+pwshBot@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jordan Borean <jborean93@gmail.com>
TravisEz13 added a commit that referenced this pull request Jan 22, 2025
…24843)

* added checks to see if pwsh will install

* Upload download folder to artifacts

* Build.ArtifactStagingDirectory

* added verbose

* download folder copy-item -recurse

* Filter copy-item to exclude msix and nupkg

* fixed error with piping objects along

* adding pwsh to path, added checks to see if it was installed

* removed error with write Verbose

* Write-Host ##vstsCommandString

* vsts command string

* trying again

* added path in a new way

* checking if the folder contain pwsh.exe

* added \

* checking the next step with out pwsh

* checking the next step with out pwsh

* trying ##

* ##vso[task.prependpath]$env:PATH

* fixed variable $

* fixed path

* fixed string path issue, and env:Path

* trying pwsh: true

* added pwsh true, refactored publish release draft step to original

* fixed CL file location

* refactoring to original format

* made approval jobs a separate stage and template

* copilot auto fixed wrong approvalJob

* removed job dependency because stage dependency exists

* copying packages in separate folders

* changed package path, turned on DBP on nuget

* removed nugetcommand

* Production, turn on dependencies

* Added Deploy Box Product Pathway to Github Release
and Nuget Release Pipelines

* Templatized pwsh install and repo checkout, clean ups

* Fix seed max value for Container Linux CI (#24510)

* Bump .NET to 9.0.100-rc.2.24474.11 (#24509)

* Update PSResourceGet to v1.1.0-RC2 (#24512)

* Update PSResourceGet to v1.1.0-RC2

* Fix windows packaging

* Update windows bom

* Update version string to be lowercase

---------



* Update changelog for v7.4.6 release (#24496)

* Add a way to use only NuGet feed sources (#24528)

* Update build.psm1

* update default feeds

* fix issue with cgmanifest having duplicate existing entries

* update pattern

* Revert "Update package references (#24414)" (#24532)

This reverts commit 01ae632.

* [master] Update branch for release (#24534)

* Update package references

* Update cgmanifest

* Update IsolatedModule.Tests.ps1

---------



* Bump github/codeql-action from 3.26.10 to 3.27.0 (#24483)

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.10 to 3.27.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@e2b3eaf...6624720)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...




* Bump actions/upload-artifact from 4.4.0 to 4.4.3 (#24410)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.0 to 4.4.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@5076954...b4b15b8)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...




* Bump agrc/reminder-action from 1.0.14 to 1.0.15 (#24384)

Bumps [agrc/reminder-action](https://github.com/agrc/reminder-action) from 1.0.14 to 1.0.15.
- [Release notes](https://github.com/agrc/reminder-action/releases)
- [Changelog](https://github.com/agrc/reminder-action/blob/main/CHANGELOG.md)
- [Commits](agrc/reminder-action@b5cc065...4520130)

---
updated-dependencies:
- dependency-name: agrc/reminder-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...




* Bump actions/checkout from 4.2.1 to 4.2.2 (#24488)

Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@eef6144...11bd719)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...




* Bump actions/dependency-review-action from 4.3.4 to 4.4.0 (#24503)

Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.3.4 to 4.4.0.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](actions/dependency-review-action@5a2ce3f...4081bf9)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...




* Support PSObject wrapped values in ArgumentToEncodingTransformationAttribute (#24555)

* Bump .NET 9 and dependencies (#24573)

* added stage uploading cl and tool to artifacts, removed ob_release_env variable on first stage

* removed publish artifact

* removed variables like tsa config template

* updated image windows container image

* using REPOROOT, removed pwsh checkout, -recurse tools

* added turning off tsa config, credscan, and codesignValidation

* removed cl and tool stage

* combined approval stages

* removed unnecessary variable srcPath

* commented out package pipeline changes

* added package gathering in the release template

* added variable template

* fixed dependsonjob

* added depnedency, added filtering file by ext

* removed dependency

* .gz

* added depends on

* added verbose, fixed checkout

* fixed dependencies

* fixed dependencies 2

* fixed dependcies 3

* enabled sbom

* disabled signing setup

* fixed checkout

* single qute problem

* checking env build source

* testing checkout

* using old pipeline

* checkout

* branch name

* refs/heads

* fixed back to original intention

* separating out ev2

* added ob_release to test

* removed release and ob for first stage

* correct and to And

* removed ob_outputdirectory

* removed ob_outputdirectory

* adding ob_outputDirectory

* added Test_

* added ev2 folders

* approval service env to Test

* removed approval service

* changed inputs

* removed invalid inputs

* modified inputs

* moved jsons to correct location

* copied verbatim from eng hub

* removed dependency to blob public

* added copy

* added docker deployment test service connection

* added mscodehubPAT variable group

* signing profile to internal azure service

* capture workspace

* comment out internal tools signing for now

* move EV2Specs folder and fix path reference to it

* test path of Run.ps1 and change files to sign pattern

* refer to PowerShell files with project name in path as  multiple repo's were checked out

* comment out signing for now

* enable TiP signing

* comment out unused tasks for now

* add in prep steps

* use higher python version available

* use repoRoot in path

* add verbose and error logging to pip3 download command

* fix typo in pip3 command

* add other pip3 command

* use full path of pip3 executable

* check exe path

* fix pip3 command syntax and dir location

* try bash step

* Remove bash step

* change artifactFeed name

* set artifactFeedName to project/feed per docs

* Remove the service connection

* add pip verbose command

* use correct feed name

* remove the service connection and add verbose logging

* get version info only

* fix typo in Push-Location

* use pip instead of pip3

* upgrade pip

* add pip download command

* add code to download needed artifacts and create .tar.gz uploaded to ob_outputdirectory

* add verbose logging

* add one more folder

* add -ItemType Directory

* add variable group reference

* remove var group and var for now

* fix path to mapping.json

* add credscan suppression file var

* copy over EV2Specs folder with fixed path

* specify SourceFolder for CopyFiles task

* put packages.tar.gz under ServiceGroupRoot/Parameters

* create Parameters folder once and refer to pmc MI var

* refer to variable group

* update EV2 json files and test pmc tool in run script

* add tsaconfig file var and fix typo

* add buildVer.txt file

* populate version

* have EV2 task be seperated out into its own stage

* update service connection name in EV2 test task

* see which versions are available

* add -Recurse parameter

* specify version as 3

* test expected path

* comment out python package related code for now

* try recommended version

* try checking onebranch container image path for python

* fix logging statement

* add back rest of python related tasks to see if OB installed python will work

* get repolist.json

* debug why file doesn't exist

* fix path

* fix path in Run.ps1

* update container version

* invoke crane tool which should come installed like python

* refer to python exe

* just use pip

* upgrade pip

* use linux pool image when installing pip package

* use python3 on linux

* revert use of python 3

* comment out python code for now

* mitigate file watcher issue

* set linuxEsrpSigning: true

* try moving set up signing task to right before signing

* remove other ob_restore_phase

* keep using windows image, but specify platform for pip download

* add binaries only flag needed by pip

* try latest manylinux platform

* use linux pool image for job

* use manylinux platform from run that only failed at signing

* use linux pool image for job again with ob_restore_phase

* use python3 on linux

* add ob_restore_phase: true to more tasks

* move the file tasks up

* move the file tasks up again

* add ob_restore_phase: true to all tasks

* move template call before checkout step

* add ob_restore_phase based parameter to template that sets tag and container name

* remove ob_restore_phase from initial checkout

* check pipeline workspace

* more verbose statements for debugging

* more verbose statements for debugging

* move Ev2Specs folder out of .pipelines as ob_restore_phase doesn't copy folders beggining with period

* change casing

* move EV2 files back to .pipelines folder

* update location of rg

* remove which command

* see accessible pmc repos

* fix var names

* limit pmc repo list and add Get-PackageInfo() implementation

* remove repo list command that was writing and fix typo

* add New-RepoPackageObject() implementation

* fix verbose statement and add commented out implementation of Publish-PackageFromBlob()

* add extraction of packages from packages.tar.gz

* change release tag version

* add Skip publish CI param

* add Skip publish as template param as well

* fix boolean written to pmcMetadata.json

* correctly convert boolean written to pmcMetadata.json

* test the function

* add final publishing code in

* fix typo

* trim 'v' off release version

* fix the testing version

* clean up code into methods

* remove call to dead method

* add final publishing code in

* add return

* add missing param

* combine code that creates package objects into one method

* remove unused param

* clean up unused vars

* clean up unused code

* use actual tag

* update conflicting files

* remove code changes to uploadToAzure.yml

* use official template

* use correct official template

* remove generic guardian suppression and tip signing enabling

* temporarily use non official template and fix how pipeline env var is called

* fix indentation

* skip calling pmc code for now

* log version

* log version again

* refer to releaseTag output var correctly

* clean up

* use official template

* fix signing errors- set linuxEsrpSigning: true

* linuxEsrpSigning is a featureFlag

* remove reference to repoList.json which is no longer used and use created vars

* clean up code

* clean up code

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Anam Navied <anam.naviyou@gmail.com>
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
Co-authored-by: Justin Chung <t-juchung@microsoft.com>
Co-authored-by: Justin Chung <124807742+jshigetomi@users.noreply.github.com>
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
Co-authored-by: alerickson <25858831+alerickson@users.noreply.github.com>
Co-authored-by: Patrick Meinecke <SeeminglyScience@users.noreply.github.com>
Co-authored-by: PowerShell Team Bot <69177312+pwshBot@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jordan Borean <jborean93@gmail.com>
anamnavi added a commit to anamnavi/PowerShell that referenced this pull request Jan 23, 2025
…#24841)

* added checks to see if pwsh will install

* Upload download folder to artifacts

* Build.ArtifactStagingDirectory

* added verbose

* download folder copy-item -recurse

* Filter copy-item to exclude msix and nupkg

* fixed error with piping objects along

* adding pwsh to path, added checks to see if it was installed

* removed error with write Verbose

* Write-Host ##vstsCommandString

* vsts command string

* trying again

* added path in a new way

* checking if the folder contain pwsh.exe

* added \

* checking the next step with out pwsh

* checking the next step with out pwsh

* trying ##

* ##vso[task.prependpath]$env:PATH

* fixed variable $

* fixed path

* fixed string path issue, and env:Path

* trying pwsh: true

* added pwsh true, refactored publish release draft step to original

* fixed CL file location

* refactoring to original format

* made approval jobs a separate stage and template

* copilot auto fixed wrong approvalJob

* removed job dependency because stage dependency exists

* copying packages in separate folders

* changed package path, turned on DBP on nuget

* removed nugetcommand

* Production, turn on dependencies

* Added Deploy Box Product Pathway to Github Release
and Nuget Release Pipelines

* Templatized pwsh install and repo checkout, clean ups

* Fix seed max value for Container Linux CI (PowerShell#24510)

* Bump .NET to 9.0.100-rc.2.24474.11 (PowerShell#24509)

* Update PSResourceGet to v1.1.0-RC2 (PowerShell#24512)

* Update PSResourceGet to v1.1.0-RC2

* Fix windows packaging

* Update windows bom

* Update version string to be lowercase

---------

Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>

* Update changelog for v7.4.6 release (PowerShell#24496)

* Add a way to use only NuGet feed sources (PowerShell#24528)

* Update build.psm1

* update default feeds

* fix issue with cgmanifest having duplicate existing entries

* update pattern

* Revert "Update package references (PowerShell#24414)" (PowerShell#24532)

This reverts commit 01ae632.

* [master] Update branch for release (PowerShell#24534)

* Update package references

* Update cgmanifest

* Update IsolatedModule.Tests.ps1

---------

Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>

* Bump github/codeql-action from 3.26.10 to 3.27.0 (PowerShell#24483)

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.10 to 3.27.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@e2b3eaf...6624720)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/upload-artifact from 4.4.0 to 4.4.3 (PowerShell#24410)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.0 to 4.4.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@5076954...b4b15b8)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump agrc/reminder-action from 1.0.14 to 1.0.15 (PowerShell#24384)

Bumps [agrc/reminder-action](https://github.com/agrc/reminder-action) from 1.0.14 to 1.0.15.
- [Release notes](https://github.com/agrc/reminder-action/releases)
- [Changelog](https://github.com/agrc/reminder-action/blob/main/CHANGELOG.md)
- [Commits](agrc/reminder-action@b5cc065...4520130)

---
updated-dependencies:
- dependency-name: agrc/reminder-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/checkout from 4.2.1 to 4.2.2 (PowerShell#24488)

Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@eef6144...11bd719)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/dependency-review-action from 4.3.4 to 4.4.0 (PowerShell#24503)

Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.3.4 to 4.4.0.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](actions/dependency-review-action@5a2ce3f...4081bf9)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Support PSObject wrapped values in ArgumentToEncodingTransformationAttribute (PowerShell#24555)

* Bump .NET 9 and dependencies (PowerShell#24573)

* added stage uploading cl and tool to artifacts, removed ob_release_env variable on first stage

* removed publish artifact

* removed variables like tsa config template

* updated image windows container image

* using REPOROOT, removed pwsh checkout, -recurse tools

* added turning off tsa config, credscan, and codesignValidation

* removed cl and tool stage

* combined approval stages

* removed unnecessary variable srcPath

* commented out package pipeline changes

* added package gathering in the release template

* added variable template

* fixed dependsonjob

* added depnedency, added filtering file by ext

* removed dependency

* .gz

* added depends on

* added verbose, fixed checkout

* fixed dependencies

* fixed dependencies 2

* fixed dependcies 3

* enabled sbom

* disabled signing setup

* fixed checkout

* single qute problem

* checking env build source

* testing checkout

* using old pipeline

* checkout

* branch name

* refs/heads

* fixed back to original intention

* separating out ev2

* added ob_release to test

* removed release and ob for first stage

* correct and to And

* removed ob_outputdirectory

* removed ob_outputdirectory

* adding ob_outputDirectory

* added Test_

* added ev2 folders

* approval service env to Test

* removed approval service

* changed inputs

* removed invalid inputs

* modified inputs

* moved jsons to correct location

* copied verbatim from eng hub

* removed dependency to blob public

* added copy

* added docker deployment test service connection

* added mscodehubPAT variable group

* signing profile to internal azure service

* capture workspace

* comment out internal tools signing for now

* move EV2Specs folder and fix path reference to it

* test path of Run.ps1 and change files to sign pattern

* refer to PowerShell files with project name in path as  multiple repo's were checked out

* comment out signing for now

* enable TiP signing

* comment out unused tasks for now

* add in prep steps

* use higher python version available

* use repoRoot in path

* add verbose and error logging to pip3 download command

* fix typo in pip3 command

* add other pip3 command

* use full path of pip3 executable

* check exe path

* fix pip3 command syntax and dir location

* try bash step

* Remove bash step

* change artifactFeed name

* set artifactFeedName to project/feed per docs

* Remove the service connection

* add pip verbose command

* use correct feed name

* remove the service connection and add verbose logging

* get version info only

* fix typo in Push-Location

* use pip instead of pip3

* upgrade pip

* add pip download command

* add code to download needed artifacts and create .tar.gz uploaded to ob_outputdirectory

* add verbose logging

* add one more folder

* add -ItemType Directory

* add variable group reference

* remove var group and var for now

* fix path to mapping.json

* add credscan suppression file var

* copy over EV2Specs folder with fixed path

* specify SourceFolder for CopyFiles task

* put packages.tar.gz under ServiceGroupRoot/Parameters

* create Parameters folder once and refer to pmc MI var

* refer to variable group

* update EV2 json files and test pmc tool in run script

* add tsaconfig file var and fix typo

* add buildVer.txt file

* populate version

* have EV2 task be seperated out into its own stage

* update service connection name in EV2 test task

* see which versions are available

* add -Recurse parameter

* specify version as 3

* test expected path

* comment out python package related code for now

* try recommended version

* try checking onebranch container image path for python

* fix logging statement

* add back rest of python related tasks to see if OB installed python will work

* get repolist.json

* debug why file doesn't exist

* fix path

* fix path in Run.ps1

* update container version

* invoke crane tool which should come installed like python

* refer to python exe

* just use pip

* upgrade pip

* use linux pool image when installing pip package

* use python3 on linux

* revert use of python 3

* comment out python code for now

* mitigate file watcher issue

* set linuxEsrpSigning: true

* try moving set up signing task to right before signing

* remove other ob_restore_phase

* keep using windows image, but specify platform for pip download

* add binaries only flag needed by pip

* try latest manylinux platform

* use linux pool image for job

* use manylinux platform from run that only failed at signing

* use linux pool image for job again with ob_restore_phase

* use python3 on linux

* add ob_restore_phase: true to more tasks

* move the file tasks up

* move the file tasks up again

* add ob_restore_phase: true to all tasks

* move template call before checkout step

* add ob_restore_phase based parameter to template that sets tag and container name

* remove ob_restore_phase from initial checkout

* check pipeline workspace

* more verbose statements for debugging

* more verbose statements for debugging

* move Ev2Specs folder out of .pipelines as ob_restore_phase doesn't copy folders beggining with period

* change casing

* move EV2 files back to .pipelines folder

* update location of rg

* remove which command

* see accessible pmc repos

* fix var names

* limit pmc repo list and add Get-PackageInfo() implementation

* remove repo list command that was writing and fix typo

* add New-RepoPackageObject() implementation

* fix verbose statement and add commented out implementation of Publish-PackageFromBlob()

* add extraction of packages from packages.tar.gz

* change release tag version

* add Skip publish CI param

* add Skip publish as template param as well

* fix boolean written to pmcMetadata.json

* correctly convert boolean written to pmcMetadata.json

* test the function

* add final publishing code in

* fix typo

* trim 'v' off release version

* fix the testing version

* clean up code into methods

* remove call to dead method

* add final publishing code in

* add return

* add missing param

* combine code that creates package objects into one method

* remove unused param

* clean up unused vars

* clean up unused code

* use actual tag

* update conflicting files

* remove code changes to uploadToAzure.yml

* use official template

* use correct official template

* remove generic guardian suppression and tip signing enabling

* temporarily use non official template and fix how pipeline env var is called

* fix indentation

* skip calling pmc code for now

* log version

* log version again

* refer to releaseTag output var correctly

* clean up

* use official template

* fix signing errors- set linuxEsrpSigning: true

* linuxEsrpSigning is a featureFlag

* remove reference to repoList.json which is no longer used and use created vars

* clean up code

* clean up code

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
Co-authored-by: Justin Chung <t-juchung@microsoft.com>
Co-authored-by: Justin Chung <124807742+jshigetomi@users.noreply.github.com>
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
Co-authored-by: alerickson <25858831+alerickson@users.noreply.github.com>
Co-authored-by: Patrick Meinecke <SeeminglyScience@users.noreply.github.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
Co-authored-by: PowerShell Team Bot <69177312+pwshBot@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jordan Borean <jborean93@gmail.com>
anamnavi added a commit to anamnavi/PowerShell that referenced this pull request Jan 23, 2025
…#24841)

* added checks to see if pwsh will install

* Upload download folder to artifacts

* Build.ArtifactStagingDirectory

* added verbose

* download folder copy-item -recurse

* Filter copy-item to exclude msix and nupkg

* fixed error with piping objects along

* adding pwsh to path, added checks to see if it was installed

* removed error with write Verbose

* Write-Host ##vstsCommandString

* vsts command string

* trying again

* added path in a new way

* checking if the folder contain pwsh.exe

* added \

* checking the next step with out pwsh

* checking the next step with out pwsh

* trying ##

* ##vso[task.prependpath]$env:PATH

* fixed variable $

* fixed path

* fixed string path issue, and env:Path

* trying pwsh: true

* added pwsh true, refactored publish release draft step to original

* fixed CL file location

* refactoring to original format

* made approval jobs a separate stage and template

* copilot auto fixed wrong approvalJob

* removed job dependency because stage dependency exists

* copying packages in separate folders

* changed package path, turned on DBP on nuget

* removed nugetcommand

* Production, turn on dependencies

* Added Deploy Box Product Pathway to Github Release
and Nuget Release Pipelines

* Templatized pwsh install and repo checkout, clean ups

* Fix seed max value for Container Linux CI (PowerShell#24510)

* Bump .NET to 9.0.100-rc.2.24474.11 (PowerShell#24509)

* Update PSResourceGet to v1.1.0-RC2 (PowerShell#24512)

* Update PSResourceGet to v1.1.0-RC2

* Fix windows packaging

* Update windows bom

* Update version string to be lowercase

---------

Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>

* Update changelog for v7.4.6 release (PowerShell#24496)

* Add a way to use only NuGet feed sources (PowerShell#24528)

* Update build.psm1

* update default feeds

* fix issue with cgmanifest having duplicate existing entries

* update pattern

* Revert "Update package references (PowerShell#24414)" (PowerShell#24532)

This reverts commit 01ae632.

* [master] Update branch for release (PowerShell#24534)

* Update package references

* Update cgmanifest

* Update IsolatedModule.Tests.ps1

---------

Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>

* Bump github/codeql-action from 3.26.10 to 3.27.0 (PowerShell#24483)

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.10 to 3.27.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@e2b3eaf...6624720)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/upload-artifact from 4.4.0 to 4.4.3 (PowerShell#24410)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.0 to 4.4.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@5076954...b4b15b8)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump agrc/reminder-action from 1.0.14 to 1.0.15 (PowerShell#24384)

Bumps [agrc/reminder-action](https://github.com/agrc/reminder-action) from 1.0.14 to 1.0.15.
- [Release notes](https://github.com/agrc/reminder-action/releases)
- [Changelog](https://github.com/agrc/reminder-action/blob/main/CHANGELOG.md)
- [Commits](agrc/reminder-action@b5cc065...4520130)

---
updated-dependencies:
- dependency-name: agrc/reminder-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/checkout from 4.2.1 to 4.2.2 (PowerShell#24488)

Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@eef6144...11bd719)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/dependency-review-action from 4.3.4 to 4.4.0 (PowerShell#24503)

Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.3.4 to 4.4.0.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](actions/dependency-review-action@5a2ce3f...4081bf9)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Support PSObject wrapped values in ArgumentToEncodingTransformationAttribute (PowerShell#24555)

* Bump .NET 9 and dependencies (PowerShell#24573)

* added stage uploading cl and tool to artifacts, removed ob_release_env variable on first stage

* removed publish artifact

* removed variables like tsa config template

* updated image windows container image

* using REPOROOT, removed pwsh checkout, -recurse tools

* added turning off tsa config, credscan, and codesignValidation

* removed cl and tool stage

* combined approval stages

* removed unnecessary variable srcPath

* commented out package pipeline changes

* added package gathering in the release template

* added variable template

* fixed dependsonjob

* added depnedency, added filtering file by ext

* removed dependency

* .gz

* added depends on

* added verbose, fixed checkout

* fixed dependencies

* fixed dependencies 2

* fixed dependcies 3

* enabled sbom

* disabled signing setup

* fixed checkout

* single qute problem

* checking env build source

* testing checkout

* using old pipeline

* checkout

* branch name

* refs/heads

* fixed back to original intention

* separating out ev2

* added ob_release to test

* removed release and ob for first stage

* correct and to And

* removed ob_outputdirectory

* removed ob_outputdirectory

* adding ob_outputDirectory

* added Test_

* added ev2 folders

* approval service env to Test

* removed approval service

* changed inputs

* removed invalid inputs

* modified inputs

* moved jsons to correct location

* copied verbatim from eng hub

* removed dependency to blob public

* added copy

* added docker deployment test service connection

* added mscodehubPAT variable group

* signing profile to internal azure service

* capture workspace

* comment out internal tools signing for now

* move EV2Specs folder and fix path reference to it

* test path of Run.ps1 and change files to sign pattern

* refer to PowerShell files with project name in path as  multiple repo's were checked out

* comment out signing for now

* enable TiP signing

* comment out unused tasks for now

* add in prep steps

* use higher python version available

* use repoRoot in path

* add verbose and error logging to pip3 download command

* fix typo in pip3 command

* add other pip3 command

* use full path of pip3 executable

* check exe path

* fix pip3 command syntax and dir location

* try bash step

* Remove bash step

* change artifactFeed name

* set artifactFeedName to project/feed per docs

* Remove the service connection

* add pip verbose command

* use correct feed name

* remove the service connection and add verbose logging

* get version info only

* fix typo in Push-Location

* use pip instead of pip3

* upgrade pip

* add pip download command

* add code to download needed artifacts and create .tar.gz uploaded to ob_outputdirectory

* add verbose logging

* add one more folder

* add -ItemType Directory

* add variable group reference

* remove var group and var for now

* fix path to mapping.json

* add credscan suppression file var

* copy over EV2Specs folder with fixed path

* specify SourceFolder for CopyFiles task

* put packages.tar.gz under ServiceGroupRoot/Parameters

* create Parameters folder once and refer to pmc MI var

* refer to variable group

* update EV2 json files and test pmc tool in run script

* add tsaconfig file var and fix typo

* add buildVer.txt file

* populate version

* have EV2 task be seperated out into its own stage

* update service connection name in EV2 test task

* see which versions are available

* add -Recurse parameter

* specify version as 3

* test expected path

* comment out python package related code for now

* try recommended version

* try checking onebranch container image path for python

* fix logging statement

* add back rest of python related tasks to see if OB installed python will work

* get repolist.json

* debug why file doesn't exist

* fix path

* fix path in Run.ps1

* update container version

* invoke crane tool which should come installed like python

* refer to python exe

* just use pip

* upgrade pip

* use linux pool image when installing pip package

* use python3 on linux

* revert use of python 3

* comment out python code for now

* mitigate file watcher issue

* set linuxEsrpSigning: true

* try moving set up signing task to right before signing

* remove other ob_restore_phase

* keep using windows image, but specify platform for pip download

* add binaries only flag needed by pip

* try latest manylinux platform

* use linux pool image for job

* use manylinux platform from run that only failed at signing

* use linux pool image for job again with ob_restore_phase

* use python3 on linux

* add ob_restore_phase: true to more tasks

* move the file tasks up

* move the file tasks up again

* add ob_restore_phase: true to all tasks

* move template call before checkout step

* add ob_restore_phase based parameter to template that sets tag and container name

* remove ob_restore_phase from initial checkout

* check pipeline workspace

* more verbose statements for debugging

* more verbose statements for debugging

* move Ev2Specs folder out of .pipelines as ob_restore_phase doesn't copy folders beggining with period

* change casing

* move EV2 files back to .pipelines folder

* update location of rg

* remove which command

* see accessible pmc repos

* fix var names

* limit pmc repo list and add Get-PackageInfo() implementation

* remove repo list command that was writing and fix typo

* add New-RepoPackageObject() implementation

* fix verbose statement and add commented out implementation of Publish-PackageFromBlob()

* add extraction of packages from packages.tar.gz

* change release tag version

* add Skip publish CI param

* add Skip publish as template param as well

* fix boolean written to pmcMetadata.json

* correctly convert boolean written to pmcMetadata.json

* test the function

* add final publishing code in

* fix typo

* trim 'v' off release version

* fix the testing version

* clean up code into methods

* remove call to dead method

* add final publishing code in

* add return

* add missing param

* combine code that creates package objects into one method

* remove unused param

* clean up unused vars

* clean up unused code

* use actual tag

* update conflicting files

* remove code changes to uploadToAzure.yml

* use official template

* use correct official template

* remove generic guardian suppression and tip signing enabling

* temporarily use non official template and fix how pipeline env var is called

* fix indentation

* skip calling pmc code for now

* log version

* log version again

* refer to releaseTag output var correctly

* clean up

* use official template

* fix signing errors- set linuxEsrpSigning: true

* linuxEsrpSigning is a featureFlag

* remove reference to repoList.json which is no longer used and use created vars

* clean up code

* clean up code

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
Co-authored-by: Justin Chung <t-juchung@microsoft.com>
Co-authored-by: Justin Chung <124807742+jshigetomi@users.noreply.github.com>
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
Co-authored-by: alerickson <25858831+alerickson@users.noreply.github.com>
Co-authored-by: Patrick Meinecke <SeeminglyScience@users.noreply.github.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
Co-authored-by: PowerShell Team Bot <69177312+pwshBot@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jordan Borean <jborean93@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants