Update release pending status and pipeline URL in release plan - #16335
Conversation
|
This PR should be merged only after releasing the changes in #16332 |
|
The following pipelines have been queued for testing: |
There was a problem hiding this comment.
Pull request overview
This PR aims to enhance the auto-release workflow so it can update the release plan work item with an “Approval Pending” release status (and a release pipeline URL) to surface required approvals in the release plan dashboard.
Changes:
- Adds azsdk CLI installation to the auto-release prepare stage and passes a build results URL + azsdk path into the resolver script.
- Updates
Resolve-AutoReleasePackages.ps1to attempt marking matched packages as “Approval Pending” in the release plan. - Updates
Mark-ReleasePlanCompletion.ps1to compute an SDK release type from the package version when marking a package as “Released”.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| eng/common/scripts/Resolve-AutoReleasePackages.ps1 | Adds parameters and attempts to call azsdk to update release plan status/pipeline info for matched artifacts. |
| eng/common/scripts/Mark-ReleasePlanCompletion.ps1 | Changes release-plan status update invocation and adds version parsing to infer release type. |
| eng/common/pipelines/templates/stages/archetype-auto-release-prepare.yml | Installs azsdk CLI and passes PipelineUrl/AZSDK path into the resolve step. |
|
The following pipelines have been queued for testing: |
|
The following pipelines have been queued for testing: |
|
/azp run tools - sync-eng-common |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
|
/azp run tools - sync-eng-common |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Update release pending status and pipeline URL in release plan Missing comma Apply suggestion from @praveenkuttappan Add test and resovle review comment Update eng/common/scripts/Resolve-AutoReleasePackages.ps1 Co-authored-by: Ray Chen <raychen@microsoft.com>
fb835b6 to
2e802d4
Compare
|
The following pipelines have been queued for testing: |
Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#16335 See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow) Co-authored-by: Praveen Kuttappan <prmarott@microsoft.com> Co-authored-by: Ray Chen <raychen@microsoft.com>
Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#16335 See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow) Co-authored-by: Praveen Kuttappan <prmarott@microsoft.com> Co-authored-by: Ray Chen <raychen@microsoft.com>
This PR adds changes in auto triggering the SDK release to add release pipeline URL and approval pending status in release plan work item so that it will be surfaced in dashboard as required action to approve pending release.