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 samples readme slug analysis #17999

Closed
wants to merge 1 commit into from

Conversation

scbedd
Copy link
Member

@scbedd scbedd commented Apr 13, 2021

No description provided.

@@ -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
Copy link
Member

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.

Copy link
Member

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 🤷‍♂️.

Copy link
Member

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.

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

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.

heaths added a commit to heaths/azure-sdk-tools that referenced this pull request Apr 14, 2021
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
azure-sdk pushed a commit to Azure/azure-sdk-for-android that referenced this pull request Apr 14, 2021
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
azure-sdk pushed a commit to Azure/azure-sdk-for-c that referenced this pull request Apr 14, 2021
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
azure-sdk pushed a commit to Azure/azure-sdk-for-cpp that referenced this pull request Apr 14, 2021
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
azure-sdk pushed a commit to Azure/azure-sdk-for-go that referenced this pull request Apr 14, 2021
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
azure-sdk pushed a commit to Azure/azure-sdk-for-ios that referenced this pull request Apr 14, 2021
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
azure-sdk pushed a commit to Azure/azure-sdk-for-java that referenced this pull request Apr 14, 2021
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
azure-sdk pushed a commit to Azure/azure-sdk-for-js that referenced this pull request Apr 14, 2021
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
azure-sdk pushed a commit that referenced this pull request Apr 14, 2021
Replaces #17999 for use in all language repos.
azure-sdk pushed a commit to Azure/azure-sdk-for-android that referenced this pull request Apr 14, 2021
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
azure-sdk pushed a commit to Azure/azure-sdk-for-c that referenced this pull request Apr 14, 2021
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
azure-sdk pushed a commit to Azure/azure-sdk-for-cpp that referenced this pull request Apr 14, 2021
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
azure-sdk pushed a commit to Azure/azure-sdk-for-go that referenced this pull request Apr 14, 2021
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
azure-sdk pushed a commit to Azure/azure-sdk-for-ios that referenced this pull request Apr 14, 2021
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
azure-sdk pushed a commit to Azure/azure-sdk-for-java that referenced this pull request Apr 14, 2021
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
azure-sdk pushed a commit to Azure/azure-sdk-for-js that referenced this pull request Apr 14, 2021
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
azure-sdk pushed a commit to Azure/azure-sdk-for-net that referenced this pull request Apr 14, 2021
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
azure-sdk pushed a commit that referenced this pull request Apr 14, 2021
Replaces #17999 for use in all language repos.
azure-sdk added a commit to Azure/azure-sdk-for-android that referenced this pull request Apr 15, 2021
* 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>
azure-sdk added a commit to Azure/azure-sdk-for-c that referenced this pull request Apr 15, 2021
* 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>
azure-sdk added a commit to Azure/azure-sdk-for-cpp that referenced this pull request Apr 15, 2021
* 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>
azure-sdk added a commit to Azure/azure-sdk-for-go that referenced this pull request Apr 15, 2021
* 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>
azure-sdk added a commit to Azure/azure-sdk-for-ios that referenced this pull request Apr 15, 2021
* 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>
azure-sdk added a commit to Azure/azure-sdk-for-java that referenced this pull request Apr 15, 2021
* 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>
azure-sdk added a commit to Azure/azure-sdk-for-js that referenced this pull request Apr 15, 2021
* 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>
azure-sdk added a commit to Azure/azure-sdk-for-net that referenced this pull request Apr 15, 2021
* 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>
azure-sdk added a commit that referenced this pull request Apr 15, 2021
* 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>
ghost pushed a commit to Azure/azure-sdk-tools that referenced this pull request Apr 15, 2021
jay-most pushed a commit to jay-most/azure-sdk-for-js that referenced this pull request Apr 26, 2021
* 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>
benbp pushed a commit to Azure/azure-sdk-for-java that referenced this pull request Apr 28, 2021
* 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>
@scbedd scbedd closed this Jul 12, 2021
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Feb 25, 2022
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.

2 participants