-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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 samples readme slug analysis #17999
Conversation
@@ -59,6 +59,11 @@ steps: | |||
condition: and(succeededOrFailed(), ne(variables['Build.Reason'],'PullRequest')) | |||
displayName: 'Component Detection' | |||
|
|||
- pwsh: | | |||
Get-ChildItem $(Build.SourcesDirectory)/sdk/${{parameters.ServiceDirectory}} -Filter *.md -Recurse ` | |||
| eng/scripts/Find-InvalidSlug.ps1 -IncludeParents |
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.
This should go into eng/common if we're going to use it across language repos. The step should too.
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.
I updated https://gist.github.com/heaths/08a395af1800a2826be8b8759e735394 with some improvements (no change in desired behavior), including Write-Error instead of Write-Warning. File info is only passed back now if you pass -PassThru
- not exactly recommended with the Find
standard verb, but 🤷♂️.
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.
I'll start a PR. If we're discussing adding more validation, I'm going to rename this to be less-specific to slugs and more general, e.g. Test-SampleMetadata.ps1
.
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.
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.
Azure/azure-sdk-tools#1555 has been merged.
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
Replaces #17999 for use in all language repos.
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
Replaces #17999 for use in all language repos.
* Verify samples during CIs Replaces Azure/azure-sdk-for-python#17999 for use in all language repos. * Move exit to proper scope Co-authored-by: Heath Stewart <heaths@microsoft.com>
* Verify samples during CIs Replaces Azure/azure-sdk-for-python#17999 for use in all language repos. * Move exit to proper scope Co-authored-by: Heath Stewart <heaths@microsoft.com>
* Verify samples during CIs Replaces Azure/azure-sdk-for-python#17999 for use in all language repos. * Move exit to proper scope Co-authored-by: Heath Stewart <heaths@microsoft.com>
* Verify samples during CIs Replaces Azure/azure-sdk-for-python#17999 for use in all language repos. * Move exit to proper scope Co-authored-by: Heath Stewart <heaths@microsoft.com>
* Verify samples during CIs Replaces Azure/azure-sdk-for-python#17999 for use in all language repos. * Move exit to proper scope Co-authored-by: Heath Stewart <heaths@microsoft.com>
* Verify samples during CIs Replaces Azure/azure-sdk-for-python#17999 for use in all language repos. * Move exit to proper scope Co-authored-by: Heath Stewart <heaths@microsoft.com>
* Verify samples during CIs Replaces Azure/azure-sdk-for-python#17999 for use in all language repos. * Move exit to proper scope * Use verify-samples template Co-authored-by: Heath Stewart <heaths@microsoft.com>
* Verify samples during CIs Replaces Azure/azure-sdk-for-python#17999 for use in all language repos. * Move exit to proper scope * Use verify-sample template Co-authored-by: Heath Stewart <heaths@microsoft.com>
* Verify samples during CIs Replaces #17999 for use in all language repos. * Move exit to proper scope * Use verify-samples template Co-authored-by: Heath Stewart <heaths@microsoft.com>
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
* Verify samples during CIs Replaces Azure/azure-sdk-for-python#17999 for use in all language repos. * Move exit to proper scope * Use verify-samples template Co-authored-by: Heath Stewart <heaths@microsoft.com>
* Verify samples during CIs Replaces Azure/azure-sdk-for-python#17999 for use in all language repos. * Move exit to proper scope Co-authored-by: Heath Stewart <heaths@microsoft.com>
Update readme default tag (Azure#17999)
No description provided.