Skip to content

Added Deploy Box Product Pathway to GitHub Release and NuGet Release Pipelines #24583

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 159 commits into from
Nov 15, 2024

Conversation

jshigetomi
Copy link
Collaborator

@jshigetomi jshigetomi commented Nov 13, 2024

PR Summary

This pull request includes several changes to the .pipelines directory, specifically in the PowerShell-Release-Official.yml, release-githubtasks.yml, release-publish-nuget.yml, and uploadToAzure.yml files. The changes focus on modifying pipeline stages, adding new stages, and updating tasks to improve the release process.

Pipeline Configuration Changes:

  • Added new stages PushGitTag and MakeDraftPublic in PowerShell-Release-Official.yml to push git tags and make GitHub release drafts public.
  • Introduced variables ob_release_environment for msixbundle and PublishGitHubRelease stages to specify the release environment. [1] [2]

Task and Job Updates:

  • Replaced pwsh tasks with PowerShell@2 tasks in release-githubtasks.yml to streamline the installation and verification of PowerShell 7, and to clone repositories and set release versions. [1] [2] [3] [4] [5]
  • Updated release-publish-nuget.yml to use PowerShell@2 tasks for installing PowerShell 7, checking installation, and managing repository checkouts. [1] [2]

Artifact Management:

  • Added steps in uploadToAzure.yml to copy GitHub release files and NuGet packages to specific output directories for use in the release pipeline.

These changes aim to enhance the efficiency and reliability of the release process by adding new stages, updating tasks, and improving artifact management.

PR Context

PR Checklist

Justin Chung and others added 30 commits October 28, 2024 18:51
…S feed version

changing Microsoft.Windows.Compatibility version to CFS feed version

----
#### AI description  (iteration 1)
#### PR Classification
Dependency version update.

#### PR Summary
This pull request updates the version of the `Microsoft.Windows.Compatibility` package to align with the CFS feed version.
- `src/Microsoft.PowerShell.SDK/Microsoft.PowerShell.SDK.csproj`: Changed `Microsoft.Windows.Compatibility` version from `9.0.0-rc.2.24510.7` to `9.0.0-rc.2.24474.4`.
Turned on deploy box for GitHub Release Stage

----
#### AI description  (iteration 1)
#### PR Classification
Code cleanup and configuration update.

#### PR Summary
This pull request enables the deploy box for the GitHub Release Stage and updates related configurations.
- `.pipelines/templates/release-githubtasks.yml`: Commented out the Azure RM module uninstallation and Az.Storage module installation steps, and added a new job to check `Pipeline.Workspace`.
- `.pipelines/PowerShell-Release-Official.yml`: Updated the `WindowsHostVersion` to use `Version: 2022` and `Network: Netlock`, and added a `release` parameter.
$branchName = $ENV:BUILD_SOURCEBRANCH -replace '^refs/heads/'
Write-Verbose -Verbose "Branch Name: $branchName"
git clone --depth 1 --branch $branchName https://$(mscodehubCodeReadPat)@mscodehub.visualstudio.com/PowerShellCore/_git/PowerShell '$(Pipeline.Workspace)/PowerShell'
cd $(Pipeline.Workspace)/PowerShell
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It won't remember this, but not blocking

@TravisEz13 TravisEz13 merged commit cc02e31 into PowerShell:master Nov 15, 2024
12 of 14 checks passed
Copy link
Contributor

microsoft-github-policy-service bot commented Nov 15, 2024

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

🔗 https://aka.ms/PSRepoFeedback

TravisEz13 pushed a commit to TravisEz13/PowerShell that referenced this pull request Nov 15, 2024
jshigetomi added a commit that referenced this pull request Nov 15, 2024
…Pipelines (#24583) (#24595)

Co-authored-by: Justin Chung <124807742+jshigetomi@users.noreply.github.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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BackPort-7.4.x-Done BackPort-7.5.x-Done 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.

7 participants