-
Notifications
You must be signed in to change notification settings - Fork 227
Add a pipeline template to mark SDK package as released #11741
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
Add a pipeline template to mark SDK package as released #11741
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a new Azure DevOps pipeline template to automatically mark SDK packages as released during the release stage. The template provides a reusable component that can be integrated into release pipelines to update package release status.
- Adds a new YAML template for marking package release completion
- Uses Azure CLI task with PowerShell Core to execute the release marking script
- Includes error handling and conditional execution based on pipeline variables
|
The following pipelines have been queued for testing: |
Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#11741 See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow) --------- Co-authored-by: Praveen Kuttappan <[email protected]>
| arguments: -PackageInfoFilePath '${{ parameters.ConfigFileDir }}/${{ parameters.PackageArtifactName }}.json' | ||
| workingDirectory: $(Pipeline.Workspace) | ||
| displayName: Mark package as released | ||
| continueOnError: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we want to continue on error?
New template that will be plugged in release stage to mark package as released.
Tested this change for azure-python package.
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5241649&view=logs&j=fa3624e2-400d-536b-43d3-bbed08ab0689&t=8abdbc0f-57ac-57a8-011c-ba46c0035f42&l=61