Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into keyvault_multiapi_readme

* 'master' of https://github.com/Azure/azure-rest-api-specs: (101 commits)
  add cli.md for automation (#8411)
  adjust assignment (#8782)
  Remove Microsoft.Backup.Admin 2016-05-01 API version (#8588)
  Updating global setting in PostgreSQL/MySQL readme file (#8777)
  update package name and output folder in readme.typescript.md (#8764)
  add package-2019-12 python define (#8769)
  Fix Parameter Description for validate resource move (#8524)
  Edit pass for GA swagger (#8759)
  Update proxy.json (#8596)
  Model enums that may change in the future as strings (#8760)
  Add api-version 2019-11-01 for resources/subscriptions (#8728)
  regenerated all-api-versions
  PrivateLinkResources for Microsoft.Automation (#8369)
  add cli.md for serialconsole (#8401)
  add cli.md for mariadb (#8466)
  [Computer Vision] Create CV API v3.0-preview (#7402)
  Publish Microsoft.ContainerService api-version 2020-03-01 (#8756)
  Update swagger based on auto-gen process change. (#8766)
  add assignment-bot config (#8716)
  add tag package-2019-12 to batch (#8751)
  ...
  • Loading branch information
iscai-msft committed Mar 20, 2020
2 parents b59c4ea + b11bc83 commit 4fc6614
Show file tree
Hide file tree
Showing 1,455 changed files with 172,760 additions and 6,896 deletions.
44 changes: 22 additions & 22 deletions .azure-pipelines-preproduction/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .azure-pipelines-preproduction/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"license": "MIT",
"devDependencies": {
"@azure/avocado": "^0.6.2",
"@azure/rest-api-specs-scripts": "^0.6.5",
"@azure/rest-api-specs-scripts": "^0.6.8",
"@ts-common/commonmark-to-markdown": "^1.2.0",
"@ts-common/fs": "0.2.0",
"@ts-common/iterator": "^0.3.6",
Expand Down
1 change: 1 addition & 0 deletions .azure-pipelines/Avocado.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ jobs:
verbose: false
- script: './node_modules/.bin/avocado'
displayName: 'Avocado'
condition: ne(variables['Build.SourceBranch'], 'refs/heads/master')
37 changes: 28 additions & 9 deletions .azure-pipelines/SDKAutomation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ trigger:
pr:
autoCancel: false

variables:
IMAGE: azopenapi.azurecr.io/openapi/sdk-automation:prod
REGISTRY_ENDPOINT: azopenapi-registry

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:
Expand All @@ -32,27 +33,45 @@ jobs:
SDK_REPO_NAME: azure-sdk-for-js
Python:
SDK_REPO_NAME: azure-sdk-for-python
Cliextension:
SDK_REPO_NAME: azure-cli-extensions
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
- task: Docker@2
displayName: Login into ACR
inputs:
command: login
containerRegistry: $(REGISTRY_ENDPOINT)
- script: |
docker pull $IMAGE
docker tag $IMAGE sdk-automation:latest
displayName: Pull SDK Automation Image
- script: |
docker run \
-e BLOB_STORAGE_NAME \
-e BLOB_STORAGE_KEY \
-e GITHUB_COMMENT_AUTHOR_NAME \
-e GITHUBAPP_ID \
-e GITHUBAPP_PRIVATE_KEY \
-e NODE_OPTIONS \
-e BLOB_STORAGE_PREFIX \
-e SPEC_REPO \
-e PR_NUMBER \
-e SDK_REPO_NAME \
sdk-automation:latest 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
3 changes: 3 additions & 0 deletions .azure-pipelines/SwaggerToSDK.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
python:
AZURE_SDK_REPO: azure-sdk-for-python
AZURE_SDK_PARAMS: ''
cliextension:
AZURE_SDK_REPO: azure-cli-extensions
AZURE_SDK_PARAMS: ''
go:
AZURE_SDK_REPO: azure-sdk-for-go
AZURE_SDK_PARAMS: '-o latest'
Expand Down
139 changes: 139 additions & 0 deletions .github/assignment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
---
- rule:
# data-plane PR
paths:
- "specification/**/data-plane/**"
reviewers:
- anuchandy
- jhendrixMSFT
- lmazuel
- tjprescott

- rule:
paths:
- "specification/network/**"
reviewers:
- lirenhe
- zikalino
- MyronFanQiu

- rule:
paths:
- "specification/@(applicationinsights|operationalinsights)/**"
reviewers:
- MyronFanQiu

- rule:
paths: "specification/compute/**"
reviewers:
- ArcturusZhang
- fengzhou-msft
- yungezz

- rule:
paths:
- "specification/machinelearningservices/**"
reviewers:
- ArcturusZhang

- rule:
paths:
- "specification/authorization/**"
reviewers:
- qianwens
- yungezz

- rule:
paths:
- "specification/datafactory/**"
reviewers:
- qianwens

- rule:
paths:
- "specification/monitor/**"
reviewers:
- weidongxu-microsoft
- MyronFanQiu

- rule:
paths:
- "specification/storage/**"
reviewers:
- qianwens
- Juliehzl

- rule:
paths: "specification/mediaservices/**"
reviewers:
- allenjzhang

- rule:
paths:
- "specification/@(keyvault|notificationhubs)/**"
- "specification/@(databricks|containerregistry)/**"
reviewers:
- fengzhou-msft

- rule:
paths:
- "specification/@(containerservice|containerinstance)/**"
reviewers:
- NullMDR
- fengzhou-msft
- yungezz

- rule:
paths:
- "specification/portal/**"
reviewers:
- NullMDR

- rule:
paths:
- "specification/web/**"
reviewers:
- weidongxu-microsoft

- rule:
paths:
- "documentation/**"
reviewers:
- josefree
- akning-ms

- rule:
paths:
- "**/package.json"
- ".github/**"
- "**/azure-pipelines.yml"
- ".azure-pipelines/**"
- ".azure-pipelines-preproduction/**"
reviewers:
- akning-ms
- ruowan
- NullMDR

- rule:
# manager-plane PR
paths:
- "**"
reviewers:
- yungezz
- zikalino
- yaohaizh
- erich-wang
- NullMDR
- raych1
- lirenhe
- weidongxu-microsoft
- ArcturusZhang
- xccc-msft
- ChenTanyi
- fengzhou-msft
- njuCZ
- akning-ms
- markcowl
- leni-msft
- qianwens
- allenjzhang
Loading

0 comments on commit 4fc6614

Please sign in to comment.