Skip to content
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 Changelog Verification to Python #15274

Conversation

chidozieononiwu
Copy link
Member

This add changelog verification to the analyze and release stages of the python pipeline.
Fixes #12566

@@ -4,6 +4,8 @@ $packagePattern = "*.zip"
$MetadataUri = "https://raw.githubusercontent.com/Azure/azure-sdk/master/_data/releases/latest/python-packages.csv"
$BlobStorageUrl = "https://azuresdkdocs.blob.core.windows.net/%24web?restype=container&comp=list&prefix=python%2F&delimiter=%2F"

$SkipChangeLogVerification.Add("azure-data-nspkg", $true)
Copy link
Member

Choose a reason for hiding this comment

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

Why can't we add a changelog and fix it here instead of trying to skip it?

Copy link
Member Author

Choose a reason for hiding this comment

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

That's what I initially set out to do but @scbedd says there is a reason it has no version/ changelog file.

Copy link
Member

Choose a reason for hiding this comment

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

@lmazuel @scbedd can you one of you guys provide more information on why this package doesn't have a ChangeLog?

Copy link
Member

Choose a reason for hiding this comment

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

@weshaggard nspkgs are published exactly once. There is very little functional reason to maintain a changelog for it.

Copy link
Member

Choose a reason for hiding this comment

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

I will note that the way that that Dozie implemented it can be skipped individually on the artifact basis. That'll definitely work for this purpose.

@chidozieononiwu chidozieononiwu force-pushed the feature/HookUpChangeLogVerification branch from 792e777 to b1ae126 Compare November 13, 2020 20:24
- task: PythonScript@0
displayName: 'Verify Change Log'
inputs:
scriptPath: 'scripts/devops_tasks/verify_change_log.py'
Copy link
Member

Choose a reason for hiding this comment

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

Is it time to also remove the verify_change_log.py script?

Copy link
Member Author

Choose a reason for hiding this comment

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

@chidozieononiwu chidozieononiwu merged commit faed399 into Azure:master Nov 16, 2020
@mitchdenny
Copy link
Contributor

@chidozieononiwu
Copy link
Member Author

chidozieononiwu commented Nov 17, 2020

Looks like this may have broken the release pipelines:

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=621545&view=logs&j=68ad0081-6b61-5b6f-683b-31e991669c3b&t=c200186f-62f1-52d8-8dcb-eec32d16f6f6

For some reason it fails to retrieve the package properties

openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jul 26, 2021
Time Series Insights - add 2021-06-30-preview API version, and supportsCustomerManagedKey output property (Azure#15274)

* Adds base for updating Microsoft.TimeSeriesInsights from version stable/2020-05-15 to version 2021-06-30-preview

* Updates readme

* Updates API version in new specs and examples

* Add supportsCustomerManagedKey to env response definition, examples
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable Change log check during release and analyse step
4 participants