forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into 2019-08-09-preview
- Loading branch information
Showing
6,957 changed files
with
909,440 additions
and
62,083 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
jobs: | ||
- job: "PrettierCheck" | ||
condition: "not(variables['PRIVATE'])" | ||
variables: | ||
NODE_OPTIONS: '--max-old-space-size=8192' | ||
pool: | ||
vmImage: 'Ubuntu 18.04' | ||
continueOnError: true | ||
steps: | ||
- task: Npm@1 | ||
displayName: 'npm install' | ||
inputs: | ||
verbose: false | ||
- script: 'npm run prettier-check' | ||
displayName: 'Run Prettier Check' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
trigger: | ||
batch: false | ||
branches: | ||
include: | ||
- "*" | ||
|
||
jobs: | ||
- job: "SDKAutomation" | ||
displayName: SDK | ||
pool: | ||
vmImage: 'Ubuntu 18.04' | ||
container: | ||
image: azopenapi.azurecr.io/openapi/sdk-automation:prod | ||
endpoint: azopenapi-registry | ||
timeoutInMinutes: 180 | ||
|
||
variables: | ||
NODE_OPTIONS: '--max-old-space-size=8192' | ||
BLOB_STORAGE_PREFIX: sdkautomation-pipeline | ||
SPEC_REPO: $(Build.Repository.Name) | ||
PR_NUMBER: $(System.PullRequest.PullRequestNumber) | ||
strategy: | ||
matrix: | ||
Net: | ||
SDK_REPO_NAME: azure-sdk-for-net | ||
Java: | ||
SDK_REPO_NAME: azure-sdk-for-java | ||
JavaScript: | ||
SDK_REPO_NAME: azure-sdk-for-js | ||
Python: | ||
SDK_REPO_NAME: azure-sdk-for-python | ||
Go: | ||
SDK_REPO_NAME: azure-sdk-for-go | ||
steps: | ||
- checkout: none | ||
- script: printenv | ||
displayName: Display ENV | ||
- script: git config --global user.email "sdkautomation@microsoft.com" && git config --global user.name "SDK Automation" | ||
displayName: Configure Git | ||
- script: | | ||
curl \ | ||
-s https://api.github.com/repos/$(Build.Repository.Name)/commits/$(Build.SourceVersion)/pulls \ | ||
-H "Accept: application/vnd.github.groot-preview+json" \ | ||
| python3 -c "import sys,json; a=json.load(sys.stdin); print(f'##vso[task.setvariable variable=PR_NUMBER]{a[0][\"number\"]}' if len(a)>0 and a[0][\"base\"][\"ref\"]=='master' else '##vso[task.logissue type=error]Last commit $(Build.SourceVersion) doesnot have a related PR')" | ||
displayName: Get PR_NUMBER | ||
condition: in(variables['Build.Reason'], 'IndividualCI', 'Manual') | ||
- script: sudo chown `id -ng`:`id -ng` . && npm start | ||
env: | ||
BLOB_STORAGE_NAME: $(blob-storage-name) | ||
BLOB_STORAGE_KEY: $(blob-storage-key) | ||
GITHUB_COMMENT_AUTHOR_NAME: $(github-comment-author-name) | ||
GITHUBAPP_ID: $(githubapp-id) | ||
GITHUBAPP_PRIVATE_KEY: $(githubapp-private-key) | ||
displayName: SDK Automation | ||
workingDirectory: /z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,48 @@ | ||
--- | ||
- scheduleTask: | ||
action: sendEmailToAssignee | ||
repoWhitelist: | ||
- Azure/azure-rest-api-specs | ||
scope: pull_request | ||
args: | ||
ignoredLabels: | ||
- WaitForARMFeedback | ||
- DoNotMerge | ||
- WaitingForAzureAPIBoard | ||
booleanFilterExpression: "!(WaitForARMFeedback||(DoNotMerge&&(ARMSignedOff||Approved)))" | ||
limit: 48h | ||
message: '<p> Dear Swagger reviewer, <br> <br> Please response to the PR ${PR_URL}. The PR isn''t updated in 48 hours. <br> <hr /> <br> Quick info. <ul> <li>If no response from ARM review board, please send email to armapireview@microsoft.com.</li> <li>If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"</li> <li>If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.</li> <li>If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.</li> <li>If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.</li> <li>Pls refer to <a href="onenote:https://microsoft.sharepoint.com/teams/IoTToolingTeam/SiteAssets/IoT Tooling Team Notebook/Azure Management Experience - transition.one#Swagger%20reviewing%20process§ion-id={ECE847C4-519B-4448-A1A0-8E84A7EFE8AB}&page-id={F6E345FE-46E1-420F-B837-6BF76167DE05}&end">Swagger review process (onenote)</a> for more about Swagger review process.</li> </ul> Best regards, <br> Azure Management Experience </p>' | ||
subject: "Action Required: Please respond to PR ${PR_URL}" | ||
description: "None initial response in 48 hours" | ||
name: no-initial-response | ||
message: '<p> Dear Swagger reviewer, <br> <br> Please response to the PR ${URL} . The PR isn''t updated in 48 hours. <br> <hr /> <br> Quick info. <ul> <li>If no response from ARM review board, please send email to armapireview@microsoft.com.</li> <li>If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"</li> <li>If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.</li> <li>If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.</li> <li>If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.</li> <li>Pls refer to <a href="onenote:https://microsoft.sharepoint.com/teams/IoTToolingTeam/SiteAssets/IoT Tooling Team Notebook/Azure Management Experience - transition.one#Swagger%20reviewing%20process§ion-id={ECE847C4-519B-4448-A1A0-8E84A7EFE8AB}&page-id={F6E345FE-46E1-420F-B837-6BF76167DE05}&end">Swagger review process (onenote)</a> for more about Swagger review process.</li> </ul> Best regards, <br> Azure Management Experience </p>' | ||
subject: "Action Required: Please respond to PR ${URL}" | ||
description: "None initial response in 48 hours. For public repo." | ||
name: "[PUBLIC] initial response notification" | ||
|
||
- scheduleTask: | ||
action: sendEmailToAssignee | ||
repoWhitelist: | ||
- Azure/azure-rest-api-specs-pr | ||
scope: pull_request | ||
args: | ||
ignoredLabels: | ||
- WaitForARMFeedback | ||
- DoNotMerge | ||
- WaitingForAzureAPIBoard | ||
limit: 5d | ||
message: '<p> Dear Swagger reviewer, <br> <br> Please response to the PR ${PR_URL}. The PR isn''t updated in 5 days. <br> <hr /> <br> Quick info. <ul> <li>If no response from ARM review board, please send email to armapireview@microsoft.com.</li> <li>If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"</li> <li>If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.</li> <li>If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.</li> <li>If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.</li> <li>Pls refer to <a href="onenote:https://microsoft.sharepoint.com/teams/IoTToolingTeam/SiteAssets/IoT Tooling Team Notebook/Azure Management Experience - transition.one#Swagger%20reviewing%20process§ion-id={ECE847C4-519B-4448-A1A0-8E84A7EFE8AB}&page-id={F6E345FE-46E1-420F-B837-6BF76167DE05}&end">Swagger review process (onenote)</a> for more about Swagger review process.</li> </ul> Best regards, <br> Azure Management Experience </p>' | ||
subject: "Action Required: Please respond to PR ${PR_URL}" | ||
description: "None update in PR in 5 days" | ||
name: no-update-in-5d | ||
booleanFilterExpression: "!(WaitForARMFeedback||Approved-OkToMerge||(DoNotMerge&&(ARMSignedOff||Approved)))" | ||
limit: 48h | ||
message: '<p> Dear Swagger reviewer, <br> <br> Please response to the PR ${URL} . The PR isn''t updated in 48 hours. <br> <hr /> <br> Quick info. <ul> <li>If no response from ARM review board, please send email to armapireview@microsoft.com.</li> <li>If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"</li> <li>If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.</li> <li>If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.</li> <li>If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.</li> <li>Pls refer to <a href="onenote:https://microsoft.sharepoint.com/teams/IoTToolingTeam/SiteAssets/IoT Tooling Team Notebook/Azure Management Experience - transition.one#Swagger%20reviewing%20process§ion-id={ECE847C4-519B-4448-A1A0-8E84A7EFE8AB}&page-id={F6E345FE-46E1-420F-B837-6BF76167DE05}&end">Swagger review process (onenote)</a> for more about Swagger review process.</li> </ul> Best regards, <br> Azure Management Experience </p>' | ||
subject: "Action Required: Please respond to PR ${URL}" | ||
description: "None initial response in 48 hours. For private repo." | ||
name: "[PRIVATE] initial response notification" | ||
|
||
- scheduleTask: | ||
action: sendEmail | ||
scope: pull_request | ||
args: | ||
booleanFilterExpression: "(WaitForARMFeedback&&!ARMSignedOff&&!ARMChangesRequested&&!ARMReviewInProgress)" | ||
limit: 3d | ||
subject: "Action Required: Please help to review PR ${URL}" | ||
message: "<p> Dear ARM review board, <br> <br>Please review PR ${URL} , the PR is waiting for ARM review over 3 days. Thanks.<br><hr /> <br>Quick info<ul><li>If you have feedback about the notification email, please contact us at vscswagger@microsoft.com.</li><li>After reviewing, please remove “WaitForARMFeedback” label from PR to avoid receiving notification on the same PR.</li><li>Please do not reply to this email, this is an automatic generated email.</li></ul>Best regards,<br> Azure Management Experience</p>" | ||
to: armapireview@microsoft.com | ||
description: "send email to ARM team for over 5 days PRs labelled with WaitForARMFeedback" | ||
name: "send email to ARM team" | ||
|
||
- scheduleTask: | ||
action: sendEmailToAssignee | ||
scope: issue | ||
args: | ||
booleanFilterExpression: "triage" | ||
limit: 48h | ||
message: "<p> Dear Swagger reviewer, <br> <br> Please response to the issue ${URL} . The issue isn't updated in 48 hours. <br> <hr /> <br> Quick info. <ul> <li>If you have any question, please send email to Visual Studio Swagger and Tool team vscswagger@microsoft.com.</li> </ul> Best regards, <br> Azure Management Experience </p>" | ||
subject: "Action Required: Please respond to issue ${URL}" | ||
cc: Ankun.Ning@microsoft.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"plugins": ["./scripts/prettier-swagger-plugin"], | ||
"parser": "json-swagger", | ||
"printWidth": 20 | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.