Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into dev-redis-Microsoft.C…
Browse files Browse the repository at this point in the history
…ache-2021-06-01
  • Loading branch information
TimLovellSmith committed Oct 21, 2021
2 parents 71e11cd + e810937 commit 85cf815
Show file tree
Hide file tree
Showing 5,367 changed files with 687,036 additions and 25,804 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 0 additions & 2 deletions .azure-pipelines/BranchProtectionForPrivateRepo.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
jobs:
- job: "BranchProtectionForPrivateRepo"
pool:
vmImage: 'Ubuntu 16.04'
condition: and(variables['PRIVATE'], eq(variables['System.PullRequest.TargetBranch'], 'main'))
steps:
- script: '>&2 echo "the branch is protected"'
Expand Down
2 changes: 0 additions & 2 deletions .azure-pipelines/ShouldSendPRToMain.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
jobs:
- job: "ShouldSendPRToMain"
pool:
vmImage: 'Ubuntu 16.04'
condition: eq(variables['System.PullRequest.TargetBranch'], 'master')
steps:
- script: '>&2 echo "##vso[task.logissue type=error]Please edit the pull request to targeting new default branch main"'
Expand Down
2 changes: 1 addition & 1 deletion .azure-pipelines/azure-pipelines-data-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ schedules:
always: true

pool:
vmImage: 'Ubuntu-16.04'
vmImage: 'Ubuntu-20.04'

variables:
IMAGE_TAG_PREFIX: $[format('1.0.{0:HHm}', pipeline.startTime)]
Expand Down
10 changes: 5 additions & 5 deletions .github/comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
- Azure/azure-rest-api-specs-pr
variables:
openapiHub: https://portal.azure-devex-tools.com
to: Azure/azure-rest-api-specs/master
to: Azure/azure-rest-api-specs/main
label: Approved-OkToMerge
onLabeledComments: "Hi @${PRAuthor},Your PR is approved. Congratulations. </br> <li> Since your PR is in private repo (azure-rest-api-specs-pr), there won’t be PR merge. If you want to publish the PR to public repo (Azure/azure-rest-api-specs) and get it merged, pls use [OpenAPIHub Publish PR](${openapiHub}/tools/publishpullrequest?pr=${owner}/${repo}/${PRNumber}&to=${to}).</li> <li> For further guidance on how to proceed. Please refer to this [wiki](https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/205/RP-Scenarios-to-Contribute-to-Swagger?anchor=**public-repository-vs.-private-repository**)</li>"

Expand All @@ -37,9 +37,9 @@
Hi @${PRAuthor}, Your PR has some issues. Please fix the CI sequentially by following the order of `Avocado, semantic validation, model validation, breaking change, lintDiff`.
<table><tr><th>Task</th><th>How to fix</th><th>Priority</th><th>Support (Microsoft alias)</th></tr>
<tr><td>Avocado</td><td>[Fix-Avocado](https://github.com/Azure/avocado)</td><td>High</td><td>ruowan</td></tr>
<tr><td>Semantic validation</td><td>[Fix-SemanticValidation-Error](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/ci-fix.md#semantic-validation)</td><td>High</td><td>raychen, jianyxi</td></tr>
<tr><td>Model validation</td><td>[Fix-ModelValidation-Error](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/ci-fix.md#model-validation)</td><td>High</td><td>raychen,jianyxi</td></tr>
<tr><td>LintDiff</td><td>[Fix-LintDiff](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/ci-fix.md#linter-validation)</td><td>high</td><td>jianyxi, ruoxuan</td></tr></table>
<tr><td>Semantic validation</td><td>[Fix-SemanticValidation-Error](https://github.com/Azure/azure-rest-api-specs/blob/main/documentation/ci-fix.md#semantic-validation)</td><td>High</td><td>raychen, jianyxi</td></tr>
<tr><td>Model validation</td><td>[Fix-ModelValidation-Error](https://github.com/Azure/azure-rest-api-specs/blob/main/documentation/ci-fix.md#model-validation)</td><td>High</td><td>raychen,jianyxi</td></tr>
<tr><td>LintDiff</td><td>[Fix-LintDiff](https://github.com/Azure/azure-rest-api-specs/blob/main/documentation/ci-fix.md#linter-validation)</td><td>high</td><td>jianyxi, ruoxuan</td></tr></table>
If you need further help, please feedback via [swagger feedback](https://aka.ms/swaggerfeedback)."
- rule:
Expand All @@ -48,7 +48,7 @@
openapiHub: https://portal.azure-devex-tools.com
keywords:
- "I have reviewed the [documentation](https://aka.ms/ameonboard) for the workflow."
onOpenedComments: "Hi, @${PRAuthor} Thanks for your PR. I am workflow bot for review process. Here are some small tips. </br> <li> Please ensure to do self-check against checklists in first PR comment.</li> <li> PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging. </li> <li> For specs comparison cross API versions, Use [API Specs Comparison Report Generator](${openapiHub}/tools/diff?pr=${owner}/${repo}/${PRNumber})</li> <li> If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. [How to fix?](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/ci-fix.md)</li></br> Any feedback about review process or workflow bot, pls contact swagger and tools team. vsswagger@microsoft.com"
onOpenedComments: "Hi, @${PRAuthor} Thanks for your PR. I am workflow bot for review process. Here are some small tips. </br> <li> Please ensure to do self-check against checklists in first PR comment.</li> <li> PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging. </li> <li> For specs comparison cross API versions, Use [API Specs Comparison Report Generator](${openapiHub}/tools/diff?pr=${owner}/${repo}/${PRNumber})</li> <li> If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. [How to fix?](https://github.com/Azure/azure-rest-api-specs/blob/main/documentation/ci-fix.md)</li></br> Any feedback about review process or workflow bot, pls contact swagger and tools team. vsswagger@microsoft.com"

- rule:
type: PROpen
Expand Down
13 changes: 4 additions & 9 deletions .github/pull_request_assignment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
- "specification/network/**"
reviewers:
- lirenhe
- raych1


- rule:
Expand All @@ -68,7 +69,7 @@


- rule:
paths: "specification/@(resources|powerplatform|appplatform|deviceupdate)/**"
paths: "specification/@(resources|powerplatform|appplatform|deviceupdate|servicelinker)/**"
reviewers:
- raych1

Expand All @@ -95,7 +96,6 @@
paths: "specification/compute/**"
reviewers:
- ArcturusZhang
- yungezz

- rule:
paths:
Expand Down Expand Up @@ -146,12 +146,6 @@
reviewers:
- weidongxu-microsoft

- rule:
paths:
- "specification/servicelinker/**"
reviewers:
- raych1

- rule:
paths:
- "specification/keyvault/**"
Expand Down Expand Up @@ -195,4 +189,5 @@
- chunyu3
- changlong-liu
- msyyc
- qwordy
- qiaozha
- weidong
30 changes: 15 additions & 15 deletions .github/sla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,6 @@
cc:
- ${AUTHOR}

- scheduleTask:
action: sendEmail
scope: pull_request
name: "send email to swagger reviewer"
trigger:
- time
args:
booleanFilterExpression: "!(NotReadyForReview||Reviewed-ChangesRequired||WaitForARMFeedback||WaitForARMRevisit||Approved-OkToMerge||(DoNotMerge&&(ARMSignedOff||Approved)))"
limit: 48h
message: '<p>Dear Swagger reviewer,</p><p>The PR ${URL} requires your attention. You receive the email either because PR author put on the label "WaitForReviewVisit", or because the PR has not been updated for over 48 hours.</p><p>The PR labeled with ${LABELS}</p><p>Quick info.</p><ul><li>If it requires responses from ARM review board, please send email to <a href="mailto:armapireview@microsoft.com">armapireview@microsoft.com</a>.</li><li>If it requires immediate ARM review, please get ARM review oncall contact point from ICM <a href="https://icm.ad.msft.net/imp/v3/oncall/current">https://icm.ad.msft.net/imp/v3/oncall/current</a> under Service "Azure Resource Manager" and Team "RP Manifest Approvers".</li><li>If it is data plane API and requires responses from &nbsp;Azure API review board, please send email to <a href="mailto:azureapirbcore@microsoft.com">azureapirbcore@microsoft.com</a>.</li><li>Pls refer to <a href="https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/212/Swagger-PR-Review">https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/212/Swagger-PR-Review</a>&nbsp;for more about Swagger review process.</li></ul><p><em>DO NOT REPLY: This is an automated email. If you have any questions, please send an email to the Swagger and Tools Team (vscswagger@microsoft.com).</em></p><p>Best regards,</p><p>Swagger and Tools Team, Azure Management Experience</p>'
subject: "Action Required: Please respond to the PR ${URL}"
to: ${ASSIGNEE}
cc:
- ${AUTHOR}

- scheduleTask:
action: sendEmail
scope: pull_request
Expand Down Expand Up @@ -99,3 +84,18 @@
to: ${AUTHOR}
cc:
- cplatsdkdev@microsoft.com

- scheduleTask:
action: sendEmail
scope: pull_request
name: "send email for synapse PR"
trigger:
- path
args:
message: '<p>Dear Synapse Swagger reviewers,</p><p>Please check the PR ${URL} . You receive the email because the PR is making changes in the Synapse&#39;s path of the Azure REST Api Specs repository.</p><p>This PR need to be reviewed, please feel free to leave comments.</p><p>DO NOT REPLY: This email was automatically sent. Please send an email to&nbsp;<a href="mailto:synapsecodereview@microsoft.com">synapsecodereview@microsoft.com</a>&nbsp;if you have any questions.</p>'
targetPaths:
- "specification/synapse/**"
subject: "[Action Required] Please review the PR ${URL}"
to: synapsecodereview@microsoft.com
cc:
- ${AUTHOR}
4 changes: 2 additions & 2 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/specification/containerservice/ @yangl900
/specification/cosmos-db/ @dmakwana @MehaKaushik @wmengmsft @shurd
/specification/customer-insights/ @tjlvtao
/specification/datafactory/ @shawnxzq
/specification/datafactory/ @shawnxzq @zhangyd2015
/specification/datalake-analytics/ @ro-joowan
/specification/datalake-store/ @ro-joowan
/specification/datamigration/ @hitenjava
Expand Down Expand Up @@ -76,7 +76,7 @@
/specification/storsimple8000series/ @manaas-microsoft
/specification/streamanalytics/ @atpham256
/specification/subscriptions/ @navysingla
/specification/synapse/ @idear1203
/specification/synapse/ @idear1203 @wonner
/specification/timeseriesinsights/ @sandshadow
/specification/trafficmanager/ @allencal @hrkulkarmsft
/specification/web/ @naveedaz @Azure/azure-app-service-control-plane
Expand Down
5 changes: 4 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: "Azure OpenAPI"

pool:
vmImage: 'Ubuntu-20.04'

trigger:
branches:
include:
Expand All @@ -19,4 +22,4 @@ variables:

jobs:
- template: .azure-pipelines/BranchProtectionForPrivateRepo.yml
- template: .azure-pipelines/ShouldSendPRToMain.yml
- template: .azure-pipelines/ShouldSendPRToMain.yml
6 changes: 6 additions & 0 deletions cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@
"Tera"
]
},
{
"filename": "**/specification/databox/resource-manager/Microsoft.DataBox/preview/2021-08-01-preview/databox.json",
"words": [
"Tera"
]
},
{
"filename": "**/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/Rules.json",
"words": [
Expand Down
Loading

0 comments on commit 85cf815

Please sign in to comment.