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

Hook up validate-samples.yml #20684

Closed
heaths opened this issue Apr 15, 2021 · 1 comment · Fixed by #20693
Closed

Hook up validate-samples.yml #20684

heaths opened this issue Apr 15, 2021 · 1 comment · Fixed by #20693
Labels
EngSys This issue is impacting the engineering system.

Comments

@heaths
Copy link
Member

heaths commented Apr 15, 2021

Based on #20676 (comment) I was unable to hook up the validate-samples.yml pipeline template. Once the script is fixed, it should be added like so:

diff --git a/eng/pipelines/templates/jobs/ci.yml b/eng/pipelines/templates/jobs/ci.yml
index 443ca9fc64..d1b139cd20 100644
--- a/eng/pipelines/templates/jobs/ci.yml
+++ b/eng/pipelines/templates/jobs/ci.yml
@@ -169,6 +169,10 @@ jobs:
             Directory: sdk/${{ parameters.ServiceDirectory }}
           CheckLinkGuidance: $true

+      - template: /eng/common/pipelines/templates/steps/verify-samples.yml
+        parameters:
+          ServiceDirectory: ${{ parameters.ServiceDirectory }}
+
       # Use BasePathLength of 38 instead of the default 49 as some GA'd files fail when the number is higher.
       - template: /eng/common/pipelines/templates/steps/verify-path-length.yml
         parameters:
@heaths heaths added the EngSys This issue is impacting the engineering system. label Apr 15, 2021
heaths added a commit to heaths/azure-sdk-tools that referenced this issue Apr 15, 2021
azure-sdk pushed a commit to Azure/azure-sdk-for-android that referenced this issue Apr 15, 2021
azure-sdk pushed a commit to Azure/azure-sdk-for-c that referenced this issue Apr 15, 2021
azure-sdk pushed a commit to Azure/azure-sdk-for-cpp that referenced this issue Apr 15, 2021
azure-sdk pushed a commit to Azure/azure-sdk-for-go that referenced this issue Apr 15, 2021
azure-sdk pushed a commit to Azure/azure-sdk-for-ios that referenced this issue Apr 15, 2021
azure-sdk pushed a commit that referenced this issue Apr 15, 2021
azure-sdk pushed a commit to Azure/azure-sdk-for-js that referenced this issue Apr 15, 2021
azure-sdk pushed a commit to Azure/azure-sdk-for-android that referenced this issue Apr 15, 2021
azure-sdk pushed a commit to Azure/azure-sdk-for-c that referenced this issue Apr 15, 2021
azure-sdk pushed a commit to Azure/azure-sdk-for-cpp that referenced this issue Apr 15, 2021
azure-sdk pushed a commit to Azure/azure-sdk-for-go that referenced this issue Apr 15, 2021
azure-sdk pushed a commit to Azure/azure-sdk-for-ios that referenced this issue Apr 15, 2021
azure-sdk pushed a commit that referenced this issue Apr 15, 2021
azure-sdk pushed a commit to Azure/azure-sdk-for-js that referenced this issue Apr 15, 2021
azure-sdk pushed a commit to Azure/azure-sdk-for-python that referenced this issue Apr 15, 2021
azure-sdk pushed a commit to Azure/azure-sdk-for-android that referenced this issue Apr 15, 2021
azure-sdk pushed a commit to Azure/azure-sdk-for-c that referenced this issue Apr 15, 2021
azure-sdk pushed a commit to Azure/azure-sdk-for-cpp that referenced this issue Apr 15, 2021
azure-sdk pushed a commit to Azure/azure-sdk-for-go that referenced this issue Apr 15, 2021
azure-sdk pushed a commit to Azure/azure-sdk-for-ios that referenced this issue Apr 15, 2021
azure-sdk pushed a commit that referenced this issue Apr 15, 2021
azure-sdk pushed a commit to Azure/azure-sdk-for-js that referenced this issue Apr 15, 2021
azure-sdk pushed a commit to Azure/azure-sdk-for-python that referenced this issue Apr 15, 2021
azure-sdk pushed a commit to Azure/azure-sdk-for-android that referenced this issue Apr 15, 2021
azure-sdk pushed a commit to Azure/azure-sdk-for-c that referenced this issue Apr 15, 2021
azure-sdk pushed a commit to Azure/azure-sdk-for-cpp that referenced this issue Apr 15, 2021
azure-sdk pushed a commit to Azure/azure-sdk-for-go that referenced this issue Apr 15, 2021
azure-sdk pushed a commit to Azure/azure-sdk-for-ios that referenced this issue Apr 15, 2021
azure-sdk pushed a commit that referenced this issue Apr 15, 2021
azure-sdk pushed a commit to Azure/azure-sdk-for-js that referenced this issue Apr 15, 2021
azure-sdk pushed a commit to Azure/azure-sdk-for-net that referenced this issue Apr 15, 2021
azure-sdk pushed a commit to Azure/azure-sdk-for-python that referenced this issue Apr 15, 2021
azure-sdk added a commit to Azure/azure-sdk-for-android that referenced this issue Apr 15, 2021
* Handle empty files in Test-SampleMetadata

Relates to Azure/azure-sdk-for-java#20684

* Remove condition from verify-samples

* Use forward slash in path

* Fix directory typo

Co-authored-by: Heath Stewart <heaths@microsoft.com>
azure-sdk added a commit to Azure/azure-sdk-for-c that referenced this issue Apr 15, 2021
* Handle empty files in Test-SampleMetadata

Relates to Azure/azure-sdk-for-java#20684

* Remove condition from verify-samples

* Use forward slash in path

* Fix directory typo

Co-authored-by: Heath Stewart <heaths@microsoft.com>
azure-sdk added a commit to Azure/azure-sdk-for-cpp that referenced this issue Apr 15, 2021
* Handle empty files in Test-SampleMetadata

Relates to Azure/azure-sdk-for-java#20684

* Remove condition from verify-samples

* Use forward slash in path

* Fix directory typo

Co-authored-by: Heath Stewart <heaths@microsoft.com>
azure-sdk added a commit to Azure/azure-sdk-for-go that referenced this issue Apr 15, 2021
* Handle empty files in Test-SampleMetadata

Relates to Azure/azure-sdk-for-java#20684

* Remove condition from verify-samples

* Use forward slash in path

* Fix directory typo

Co-authored-by: Heath Stewart <heaths@microsoft.com>
azure-sdk added a commit to Azure/azure-sdk-for-ios that referenced this issue Apr 15, 2021
* Handle empty files in Test-SampleMetadata

Relates to Azure/azure-sdk-for-java#20684

* Remove condition from verify-samples

* Use forward slash in path

* Fix directory typo

Co-authored-by: Heath Stewart <heaths@microsoft.com>
azure-sdk added a commit to Azure/azure-sdk-for-js that referenced this issue Apr 15, 2021
* Handle empty files in Test-SampleMetadata

Relates to Azure/azure-sdk-for-java#20684

* Remove condition from verify-samples

* Use forward slash in path

* Fix directory typo

Co-authored-by: Heath Stewart <heaths@microsoft.com>
azure-sdk added a commit to Azure/azure-sdk-for-net that referenced this issue Apr 15, 2021
* Handle empty files in Test-SampleMetadata

Relates to Azure/azure-sdk-for-java#20684

* Remove condition from verify-samples

* Use forward slash in path

* Fix directory typo

Co-authored-by: Heath Stewart <heaths@microsoft.com>
azure-sdk added a commit to Azure/azure-sdk-for-python that referenced this issue Apr 15, 2021
* Handle empty files in Test-SampleMetadata

Relates to Azure/azure-sdk-for-java#20684

* Remove condition from verify-samples

* Use forward slash in path

* Fix directory typo

* Remove invalid 'telemetry' product slug

Relates to #17991

* Disable verify-samples template

Opened #18066 to track re-enabling it.

Co-authored-by: Heath Stewart <heaths@microsoft.com>
azure-sdk added a commit that referenced this issue Apr 15, 2021
* Handle empty files in Test-SampleMetadata

Relates to #20684

* Remove condition from verify-samples

* Use forward slash in path

* Fix directory typo

* Use verify-samples template

Co-authored-by: Heath Stewart <heaths@microsoft.com>
ghost pushed a commit to Azure/azure-sdk-tools that referenced this issue Apr 15, 2021
@heaths
Copy link
Member Author

heaths commented Apr 15, 2021

Resolved by 69f0383

@heaths heaths closed this as completed Apr 15, 2021
@heaths heaths linked a pull request Apr 15, 2021 that will close this issue
jay-most pushed a commit to jay-most/azure-sdk-for-js that referenced this issue Apr 26, 2021
* Handle empty files in Test-SampleMetadata

Relates to Azure/azure-sdk-for-java#20684

* Remove condition from verify-samples

* Use forward slash in path

* Fix directory typo

Co-authored-by: Heath Stewart <heaths@microsoft.com>
benbp pushed a commit that referenced this issue Apr 28, 2021
* Handle empty files in Test-SampleMetadata

Relates to #20684

* Remove condition from verify-samples

* Use forward slash in path

* Fix directory typo

* Use verify-samples template

Co-authored-by: Heath Stewart <heaths@microsoft.com>
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
EngSys This issue is impacting the engineering system.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant