Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
776 commits
Select commit Hold shift + click to select a range
d415b14
Merge branch 'main' into onboard_multiple
anthony-c-martin Oct 22, 2021
21cea69
Merge remote-tracking branch 'origin/main' into autogenerate
Oct 22, 2021
4fe6a06
Autogenerate schemas
Oct 22, 2021
38a99b1
Update resource list
Oct 22, 2021
aa52d30
Merge pull request #1986 from Azure/onboard_multiple
anthony-c-martin Oct 22, 2021
14716f2
Generated report
Oct 22, 2021
3aeeacb
Update autogenlist.ts
anthony-c-martin Oct 22, 2021
e72a633
Merge pull request #1988 from Azure/anthony-c-martin-patch-1
jorgecotillo Oct 22, 2021
2ccd750
Merge remote-tracking branch 'origin/main' into autogenerate
Oct 23, 2021
d82bc5c
Update resource list
Oct 23, 2021
3028685
Autogenerate schemas
Oct 23, 2021
658a23e
Update resource list
Oct 23, 2021
aded5fe
Autogenerate schemas
Oct 24, 2021
cd5ef8a
Update resource list
Oct 24, 2021
bd9c657
CodeGen from PR 16363 in Azure/azure-rest-api-specs
Oct 25, 2021
b001714
[ReleasePR eventhub] EventHub : New API version 2021-11-01 (#1989)
Oct 25, 2021
67cc5ea
Autogenerate schemas
Oct 25, 2021
5582f9d
Update resource list
Oct 25, 2021
9cd0021
Merge branch 'main' into Kusto/auto-generate
anthony-c-martin Oct 25, 2021
b997d0c
Merge pull request #1962 from docohe/Kusto/auto-generate
anthony-c-martin Oct 25, 2021
3bf0f70
CodeGen from PR 15990 in Azure/azure-rest-api-specs
Oct 26, 2021
752afbe
[ReleasePR containerregistry] [ACR] [New Api Version] add 2021-08-01-…
Oct 26, 2021
87cb7be
CodeGen from PR 15733 in Azure/azure-rest-api-specs
Oct 26, 2021
69805f5
[ReleasePR cosmos-db] [Hub Generated] Review request for Microsoft.Do…
Oct 26, 2021
cfedbf4
CodeGen from PR 16044 in Azure/azure-rest-api-specs
Oct 26, 2021
d8cffc6
[ReleasePR signalr] [SignalR] Add stable version 2021-10-01 (#1992)
Oct 26, 2021
fda3635
CodeGen from PR 16463 in Azure/azure-rest-api-specs
Oct 26, 2021
bc1bfd4
[ReleasePR monitor] Add 2021-05-01-preview swagger API support for Au…
Oct 26, 2021
3c019c0
Merge remote-tracking branch 'origin/main' into autogenerate
Oct 26, 2021
b04235d
CodeGen from PR 16548 in Azure/azure-rest-api-specs
Oct 26, 2021
57dc40f
[ReleasePR appplatform] fix typo: readonly to readOnly (#1994)
Oct 26, 2021
99c6052
Autogenerate schemas
Oct 26, 2021
bc3c66b
Update resource list
Oct 26, 2021
8e82c01
Merge remote-tracking branch 'origin/main' into autogenerate
Oct 26, 2021
2f4506d
Autogenerate schemas
Oct 26, 2021
3e9e1aa
Autogenerate schemas
Oct 26, 2021
adcbf3a
CodeGen from PR 16503 in Azure/azure-rest-api-specs
Oct 27, 2021
4c43dbd
[ReleasePR consumption] [Hub Generated] Review request for Microsoft.…
Oct 27, 2021
e0ef85f
CodeGen from PR 16545 in Azure/azure-rest-api-specs
Oct 27, 2021
a8edf83
[ReleasePR appplatform] Review request for Microsoft.AppPlatform to a…
Oct 27, 2021
1aaed7d
Merge remote-tracking branch 'origin/main' into autogenerate
Oct 27, 2021
85a9b62
Autogenerate schemas
Oct 28, 2021
bb18b36
Autogenerate schemas
Oct 28, 2021
a853463
Generate schema for PlayFab for private preview
bhavyej Oct 29, 2021
092f21e
Autogenerate schemas
Oct 29, 2021
cbf15bc
Generated report
Oct 29, 2021
7e54fc9
Fix 2021-07-01/Microsoft.Authorization.Resources.json error
anthony-c-martin Oct 29, 2021
efe4a32
Merge pull request #2002 from Azure/autogenerate
anthony-c-martin Oct 29, 2021
79705cd
Autogenerate schemas
Oct 30, 2021
54d49e0
Update resource list
Oct 30, 2021
70bc445
Add linter validation
anthony-c-martin Oct 30, 2021
41f19dc
Autogenerate schemas
Oct 31, 2021
98c096f
Autogenerate schemas
Nov 1, 2021
13ff2c9
Update resource list
Nov 1, 2021
5b64b14
Autogenerate schemas
Nov 1, 2021
555ad87
Update resource list
Nov 1, 2021
889a56c
Merge pull request #2003 from Azure/ant/linters
anthony-c-martin Nov 1, 2021
e349173
Bump actions/setup-dotnet from 1.7.2 to 1.8.2
dependabot[bot] Nov 1, 2021
4e29587
Bump actions/checkout from 2.3.4 to 2.3.5
dependabot[bot] Nov 1, 2021
b662692
Bump ts-node from 9.1.0 to 10.4.0 in /tools
dependabot[bot] Nov 1, 2021
d761198
Bump @typescript-eslint/parser from 5.2.0 to 5.3.0 in /tools
dependabot[bot] Nov 1, 2021
2983a49
Bump @types/express from 4.17.9 to 4.17.13 in /tools
dependabot[bot] Nov 1, 2021
ab476b9
Bump @types/node from 14.14.10 to 16.11.6 in /tools
dependabot[bot] Nov 1, 2021
12e31f3
Bump @types/async from 3.2.7 to 3.2.9 in /generator
dependabot[bot] Nov 1, 2021
52f3968
Merge remote-tracking branch 'origin/main' into autogenerate
Nov 1, 2021
c53dce4
`npm install` -> `npm ci`
anthony-c-martin Nov 2, 2021
c7b448b
Autogenerate schemas
Nov 2, 2021
d97e6f2
Merge pull request #2011 from Azure/dependabot/github_actions/actions…
anthony-c-martin Nov 2, 2021
33b81c2
Merge pull request #2013 from Azure/dependabot/github_actions/actions…
anthony-c-martin Nov 2, 2021
6046534
Merge pull request #2014 from Azure/dependabot/npm_and_yarn/tools/ts-…
anthony-c-martin Nov 2, 2021
6883096
Merge pull request #2016 from Azure/dependabot/npm_and_yarn/tools/typ…
anthony-c-martin Nov 2, 2021
4f30a54
Merge pull request #2015 from Azure/dependabot/npm_and_yarn/tools/typ…
anthony-c-martin Nov 2, 2021
e19c9c3
Bump actions/setup-node from 2.1.2 to 2.4.1
dependabot[bot] Nov 2, 2021
952cffa
Merge pull request #2018 from Azure/dependabot/npm_and_yarn/tools/typ…
anthony-c-martin Nov 2, 2021
5795c8f
Merge pull request #2012 from Azure/dependabot/github_actions/actions…
anthony-c-martin Nov 2, 2021
7674c1f
Bump @types/node from 16.4.11 to 16.11.6 in /generator
dependabot[bot] Nov 2, 2021
12f2377
Merge pull request #2017 from Azure/dependabot/npm_and_yarn/generator…
anthony-c-martin Nov 2, 2021
c8ef1c9
Bump mocha-junit-reporter from 2.0.0 to 2.0.2 in /tools
dependabot[bot] Nov 2, 2021
494d4cb
Bump @types/lodash from 4.14.172 to 4.14.176 in /generator
dependabot[bot] Nov 2, 2021
6a0f491
Merge pull request #2020 from Azure/dependabot/npm_and_yarn/generator…
anthony-c-martin Nov 2, 2021
0519e65
Merge pull request #2021 from Azure/dependabot/npm_and_yarn/generator…
anthony-c-martin Nov 2, 2021
91a7d14
Bump @types/tv4 from 1.2.29 to 1.2.31 in /tools
dependabot[bot] Nov 2, 2021
1725286
Bump ajv from 6.12.6 to 8.6.3 in /tools
dependabot[bot] Nov 2, 2021
bbf2de2
Merge pull request #2024 from Azure/dependabot/npm_and_yarn/tools/typ…
anthony-c-martin Nov 2, 2021
6486050
Merge pull request #2025 from Azure/dependabot/npm_and_yarn/tools/ajv…
anthony-c-martin Nov 2, 2021
e594129
Bump @types/chai from 4.2.14 to 4.2.22 in /tools
dependabot[bot] Nov 2, 2021
775327e
Merge pull request #2027 from Azure/dependabot/npm_and_yarn/tools/typ…
anthony-c-martin Nov 2, 2021
7ae9e7b
Bump chai from 4.2.0 to 4.3.4 in /tools
dependabot[bot] Nov 2, 2021
abb9036
Merge pull request #2026 from Azure/dependabot/npm_and_yarn/tools/cha…
anthony-c-martin Nov 2, 2021
6a13ce1
Merge remote-tracking branch 'origin/main' into autogenerate
Nov 2, 2021
fdfcdb6
Revert "Merge pull request #2025 from Azure/dependabot/npm_and_yarn/t…
anthony-c-martin Nov 2, 2021
4dcdf92
Bump @types/js-yaml from 4.0.2 to 4.0.4 in /generator
dependabot[bot] Nov 2, 2021
6084971
Merge pull request #2028 from Azure/dependabot/npm_and_yarn/generator…
anthony-c-martin Nov 2, 2021
0c284e6
Merge pull request #2019 from Azure/dependabot/npm_and_yarn/tools/moc…
anthony-c-martin Nov 2, 2021
27b8acc
Bump async from 3.2.0 to 3.2.2 in /generator
dependabot[bot] Nov 2, 2021
86be285
Merge pull request #2031 from Azure/dependabot/npm_and_yarn/generator…
anthony-c-martin Nov 2, 2021
04461fd
Autogenerate schemas
Nov 2, 2021
653d0b8
Merge remote-tracking branch 'origin/main' into autogenerate
Nov 2, 2021
df59ea5
Autogenerate schemas
Nov 3, 2021
b9175ce
Update resource list
Nov 3, 2021
1111d2c
Autogenerate schemas
Nov 3, 2021
debfbb7
Update resource list
Nov 3, 2021
137d40f
Fix .sdkauto scripts
anthony-c-martin Nov 3, 2021
5b4823a
CodeGen from PR 16658 in Azure/azure-rest-api-specs
Nov 4, 2021
395771e
[ReleasePR cognitiveservices] Cognitive Services add batch tag packag…
Nov 4, 2021
7630e92
Merge remote-tracking branch 'origin/main' into autogenerate
Nov 4, 2021
69a4530
Autogenerate schemas
Nov 4, 2021
67ece9c
CodeGen from PR 15845 in Azure/azure-rest-api-specs
Nov 4, 2021
26b9266
[ReleasePR monitor] [Hub Generated] Review request for Microsoft.Insi…
Nov 4, 2021
d95afa6
Merge remote-tracking branch 'origin/main' into autogenerate
Nov 4, 2021
95cc87d
Update resource list
Nov 4, 2021
d2b08e0
Autogenerate schemas
Nov 5, 2021
4873e99
Update resource list
Nov 5, 2021
74c1be2
CodeGen from PR 16518 in Azure/azure-rest-api-specs
Nov 7, 2021
75e5cfa
[ReleasePR consumption] [Hub Generated] Review request for Microsoft.…
Nov 7, 2021
df48e74
Autogenerate schemas
Nov 8, 2021
b5fe27c
Update resource list
Nov 8, 2021
9ed73ae
CodeGen from PR 16536 in Azure/azure-rest-api-specs
Nov 8, 2021
19c190e
[ReleasePR keyvault] [Hub Generated] Review request for Microsoft.Key…
Nov 8, 2021
58b4813
CodeGen from PR 16573 in Azure/azure-rest-api-specs
Nov 9, 2021
0f49ae3
[ReleasePR streamanalytics] [Azure Stream Analytics] New 2021 preview…
Nov 9, 2021
105e4f1
CodeGen from PR 15915 in Azure/azure-rest-api-specs
Nov 9, 2021
a639719
[ReleasePR powerbidedicated] [Hub Generated] Review request for Micro…
Nov 9, 2021
5ec3f0c
Merge remote-tracking branch 'origin/main' into autogenerate
Nov 9, 2021
bb9c612
Autogenerate schemas
Nov 9, 2021
83b62b4
Update resource list
Nov 9, 2021
7ebf52f
Autogenerate schemas
Nov 9, 2021
16c8f51
Update resource list
Nov 9, 2021
0c952bd
CodeGen from PR 16377 in Azure/azure-rest-api-specs
Nov 10, 2021
2d92207
[ReleasePR botservice] Review request for Microsoft.BotService to upd…
Nov 10, 2021
b664590
CodeGen from PR 16687 in Azure/azure-rest-api-specs
Nov 10, 2021
a34bc89
[ReleasePR subscription] A new API version 2021-10-01 on MS.Subscript…
Nov 10, 2021
661470f
Merge remote-tracking branch 'origin/main' into autogenerate
Nov 10, 2021
4cd4162
Autogenerate schemas
Nov 10, 2021
bde8bdc
Update resource list
Nov 10, 2021
e19885b
Autogenerate schemas
Nov 10, 2021
9819975
CodeGen from PR 16725 in Azure/azure-rest-api-specs
Nov 11, 2021
0b5af07
[ReleasePR imagebuilder] [Hub Generated] Review request for Microsoft…
Nov 11, 2021
90db43f
Merge remote-tracking branch 'origin/main' into autogenerate
Nov 11, 2021
8418888
Autogenerate schemas
Nov 11, 2021
ffdfb1f
CodeGen from PR 16564 in Azure/azure-rest-api-specs
Nov 11, 2021
8e0aa38
[ReleasePR alertsmanagement] [Hub Generated] Review request for Micro…
Nov 11, 2021
f45e029
Merge remote-tracking branch 'origin/main' into autogenerate
Nov 11, 2021
65d8e3e
CodeGen from PR 16557 in Azure/azure-rest-api-specs
Nov 12, 2021
e548363
[ReleasePR labservices] [Hub Generated] Review request for Microsoft.…
Nov 12, 2021
6b3770a
updated arg name
jorgecotillo Nov 12, 2021
ef45423
Merge pull request #2050 from Azure/jcotillo/quick_gh_action_fix_upda…
jorgecotillo Nov 12, 2021
9b7ec3b
fixed duplicate namespace
jorgecotillo Nov 12, 2021
5fdbc39
Merge pull request #2051 from Azure/autogenerate
jorgecotillo Nov 12, 2021
5445581
CodeGen from PR 16690 in Azure/azure-rest-api-specs
Nov 16, 2021
66a3b9e
[ReleasePR operationalinsights] Add PUT operation for Tables endpoint…
Nov 16, 2021
70e97a8
CodeGen from PR 16763 in Azure/azure-rest-api-specs
Nov 16, 2021
3a6d332
[ReleasePR servicefabric] Fix examples for some RPs (#2054)
Nov 16, 2021
d2d42e8
CodeGen from PR 16760 in Azure/azure-rest-api-specs
Nov 17, 2021
31829f5
[ReleasePR botservice] [Hub Generated] Review request for Microsoft.B…
Nov 17, 2021
6918ef3
Merge remote-tracking branch 'origin/main' into autogenerate
Nov 17, 2021
451dff3
Autogenerate schemas
Nov 17, 2021
4d20702
Update resource list
Nov 17, 2021
db823f9
Autogenerate schemas
Nov 17, 2021
56c5c8e
Move autogenerated schemas -> 2019-04-01 schemas
anthony-c-martin Nov 17, 2021
8ba9700
Merge pull request #2001 from bhavyej/PlayFabSchema
anthony-c-martin Nov 17, 2021
332c24d
CodeGen from PR 16721 in Azure/azure-rest-api-specs
Nov 18, 2021
a6e7f49
[ReleasePR streamanalytics] [Stream Analytics] Copy cluster swaggers …
Nov 18, 2021
298d226
CodeGen from PR 16781 in Azure/azure-rest-api-specs
Nov 18, 2021
06cc8f2
[ReleasePR orbital] [Hub Generated] Public private branch 'dev-orbita…
Nov 18, 2021
54649d5
CodeGen from PR 16481 in Azure/azure-rest-api-specs
Nov 18, 2021
3ccf270
[ReleasePR containerregistry] ACR API version 2021-09-01 (#2058)
Nov 18, 2021
fee8dfa
CodeGen from PR 16684 in Azure/azure-rest-api-specs
Nov 18, 2021
75a2c28
[ReleasePR kubernetesconfiguration] [KubernetesConfiguration] Release…
Nov 18, 2021
0e900a0
Merge remote-tracking branch 'origin/main' into autogenerate
Nov 18, 2021
c47e65d
Autogenerate schemas
Nov 18, 2021
1688f46
Update resource list
Nov 18, 2021
38bb2d9
CodeGen from PR 16613 in Azure/azure-rest-api-specs
Nov 19, 2021
f70a585
[ReleasePR alertsmanagement] Added new Prometheus Rule Groups type (#…
Nov 19, 2021
d0fc0dd
Merge remote-tracking branch 'origin/main' into autogenerate
Nov 19, 2021
5d6f658
Autogenerate schemas
Nov 19, 2021
6de868f
Update resource list
Nov 19, 2021
889b5db
Generated report
Nov 19, 2021
3fbc7f5
CodeGen from PR 16780 in Azure/azure-rest-api-specs
Nov 22, 2021
6785373
[ReleasePR authorization] Add 2020-09-01-hybrid profile overrides for…
Nov 22, 2021
dc7b297
Autogenerate schemas
Nov 22, 2021
0838548
CodeGen from PR 16526 in Azure/azure-rest-api-specs
Nov 23, 2021
480dffb
[ReleasePR adp] ADP: Introduce api version 2021-11-01-preview (#2062)
Nov 23, 2021
d5372e2
Merge remote-tracking branch 'origin/main' into autogenerate
Nov 23, 2021
73b7939
Update resource list
Nov 23, 2021
8b40aac
CodeGen from PR 16775 in Azure/azure-rest-api-specs
Nov 24, 2021
caa143d
[ReleasePR reservations] Fix S360 Linting Errors in Microsoft.Capacit…
Nov 24, 2021
408f719
Merge remote-tracking branch 'origin/main' into autogenerate
Nov 24, 2021
99ffff3
Autogenerate schemas
Nov 24, 2021
7affd62
Update resource list
Nov 24, 2021
890240b
Autogenerate schemas
Nov 24, 2021
12c89b6
Update resource list
Nov 24, 2021
ce09464
CodeGen from PR 16877 in Azure/azure-rest-api-specs
Nov 25, 2021
0153fbd
[ReleasePR orbital] Published/azure/azure rest api specs pr/dev orbit…
Nov 25, 2021
29a5576
Merge remote-tracking branch 'origin/main' into autogenerate
Nov 25, 2021
3bdba09
Autogenerate schemas
Nov 26, 2021
7579d21
Update resource list
Nov 26, 2021
e52494a
Autogenerate schemas
Nov 26, 2021
94a1f3a
Update resource list
Nov 26, 2021
fccbbca
Generated report
Nov 26, 2021
ba766fc
CodeGen from PR 16853 in Azure/azure-rest-api-specs
Nov 29, 2021
c9c1f59
[ReleasePR recoveryservicessiterecovery] [Hub Generated] Review reque…
Nov 29, 2021
8beab17
Merge remote-tracking branch 'origin/main' into autogenerate
Nov 29, 2021
6b05dea
CodeGen from PR 16844 in Azure/azure-rest-api-specs
Nov 29, 2021
d6a8a89
[ReleasePR eventgrid] eventgrid: fixing the identity type (#2068)
Nov 29, 2021
22a4e49
Merge remote-tracking branch 'origin/main' into autogenerate
Nov 29, 2021
dd52abe
Update resource list
Nov 29, 2021
faeadc8
initial update
jorgecotillo Nov 30, 2021
d916e2a
removed unused libs
jorgecotillo Nov 30, 2021
cad53f2
final updates
jorgecotillo Nov 30, 2021
8e0bb05
Autogenerate schemas
Nov 30, 2021
d22465b
CodeGen from PR 16669 in Azure/azure-rest-api-specs
Nov 30, 2021
fb85c18
[ReleasePR imagebuilder] Image Builder 2021-10-01 API (Gen2 Support, …
Dec 1, 2021
78df6d4
Merge remote-tracking branch 'origin/main' into autogenerate
Dec 1, 2021
31ec9c6
Autogenerate schemas
Dec 1, 2021
7b6bcf5
Update resource list
Dec 1, 2021
267b776
final update
jorgecotillo Dec 1, 2021
b9dbd4c
removed branch suffix
jorgecotillo Dec 1, 2021
1569e6a
Merge pull request #2070 from Azure/jcotillo/schema_gen_batch
jorgecotillo Dec 2, 2021
64f3fe7
Merge branch 'autogenerate' of https://github.com/Azure/azure-resourc…
jorgecotillo Dec 3, 2021
d6b451a
Merge pull request #2085 from Azure/autogenerate
jorgecotillo Dec 3, 2021
38c3485
Handle file not found
jorgecotillo Dec 3, 2021
e6e6c0b
added comments
jorgecotillo Dec 3, 2021
019479a
use localPath to ensure dir exists
jorgecotillo Dec 6, 2021
4673365
Merge pull request #2087 from Azure/jcotillo/fix_summary_path
jorgecotillo Dec 6, 2021
bd83bc1
Merge remote-tracking branch 'origin/main' into autogenerate
Dec 7, 2021
3ca98f6
Autogenerate schemas
Dec 7, 2021
48061bb
fix merge conflicts
jorgecotillo Dec 8, 2021
bf9feb8
Merge pull request #2086 from Azure/jcotillo/handle_file_not_found
jorgecotillo Dec 8, 2021
e28899f
Merge branch 'autogenerate' of https://github.com/Azure/azure-resourc…
jorgecotillo Dec 8, 2021
f70a936
CodeGen from PR 16979 in Azure/azure-rest-api-specs
Dec 9, 2021
3a7c405
[ReleasePR elastic] Utkarshjain/elastic (#2088)
Dec 9, 2021
9216c24
Merge remote-tracking branch 'origin/main' into autogenerate
Dec 9, 2021
f7abd06
Autogenerate schemas
Dec 9, 2021
e72d691
Update resource list
Dec 9, 2021
5260889
Autogenerate schemas
Dec 9, 2021
1f8e038
Update resource list
Dec 9, 2021
5bfd707
CodeGen from PR 16971 in Azure/azure-rest-api-specs
Dec 10, 2021
4c6e6cf
[ReleasePR powerbiembedded] Track2 modify readme.go.md 7 (#2094)
Dec 10, 2021
445502f
Merge remote-tracking branch 'origin/main' into autogenerate
Dec 10, 2021
eaca982
CodeGen from PR 16882 in Azure/azure-rest-api-specs
Dec 10, 2021
46d387c
[ReleasePR botservice] Review request for Microsoft.BotService to upd…
Dec 10, 2021
9301081
CodeGen from PR 16997 in Azure/azure-rest-api-specs
Dec 10, 2021
61419ef
[ReleasePR eventgrid] [Updating Swagger with missing properties]Addin…
Dec 10, 2021
3b8e436
Merge remote-tracking branch 'origin/main' into autogenerate
Dec 10, 2021
373c32f
Update resource list
Dec 10, 2021
729d87f
Autogenerate schemas
Dec 10, 2021
aee3a86
Update resource list
Dec 10, 2021
b5027ae
Merge pull request #2097 from Azure/autogenerate
jorgecotillo Dec 10, 2021
eff91a3
CodeGen from PR 15496 in Azure/azure-rest-api-specs
Dec 13, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 19 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
- package-ecosystem: "npm"
directory: "/generator"
schedule:
interval: "monthly"
- package-ecosystem: "npm"
directory: "/tools"
schedule:
interval: "monthly"
68 changes: 0 additions & 68 deletions .github/workflows/autogenerateBatch0.yml

This file was deleted.

207 changes: 207 additions & 0 deletions .github/workflows/generate-schemas-batch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,207 @@
name: Generate Schemas batch

on:
workflow_dispatch:
inputs:
api_specs_ref:
description: 'Git ref or full SHA for https://github.com/Azure/azure-rest-api-specs.'
required: true
default: 'main'

env:
SUMMARY_LOG_DIR: /tmp/summary
SUMMARY_LOG_PATH: /tmp/summary/summary.log
SUMMARY_LOG_ARTIFACT_NAME: summary-log
AUTOGENERATE_BRANCH_NAME: autogenerate
MAIN_BRANCH_NAME: main
jobs:
batch-0:
name: Update Schemas Batch 0
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]

- name: Clone azure-rest-api-specs
uses: actions/[email protected]
with:
repository: Azure/azure-rest-api-specs
path: workflow-temp/azure-rest-api-specs
ref: ${{ github.event.inputs.api_specs_ref }}

- name: Install generator npm packages
run: npm ci
working-directory: generator

- name: Create initial log description
run: mkdir -p /tmp/summary

- id: generate
name: Run generator
run: |
npm run generate-all -- --local-path "$GITHUB_WORKSPACE/workflow-temp/azure-rest-api-specs" --summary-log-path $SUMMARY_LOG_PATH --batch-count 4 --batch-index 0
working-directory: generator

- name: Commit changes
uses: EndBug/add-and-commit@v7
with:
author_name: github-actions
author_email: [email protected]
message: 'Autogenerate schemas batch 0'
add: '*.*'

- name: Upload summary log
uses: actions/upload-artifact@v2
with:
name: ${{ env.SUMMARY_LOG_ARTIFACT_NAME }}
path: ${{ env.SUMMARY_LOG_PATH }}
batch-1:
needs: batch-0
name: Update Schemas Batch 1
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]

- name: Clone azure-rest-api-specs
uses: actions/[email protected]
with:
repository: Azure/azure-rest-api-specs
path: workflow-temp/azure-rest-api-specs
ref: ${{ github.event.inputs.api_specs_ref }}

- name: Install generator npm packages
run: npm ci
working-directory: generator

- name: Download summary log artifact
uses: actions/download-artifact@v2
with:
name: ${{ env.SUMMARY_LOG_ARTIFACT_NAME }}
path: ${{ env.SUMMARY_LOG_DIR }}

- id: generate
name: Run generator
run: |
npm run generate-all -- --local-path "$GITHUB_WORKSPACE/workflow-temp/azure-rest-api-specs" --summary-log-path $SUMMARY_LOG_PATH --batch-count 4 --batch-index 1
working-directory: generator

- name: Commit changes
uses: EndBug/add-and-commit@v7
with:
author_name: github-actions
author_email: [email protected]
message: 'Autogenerate schemas batch 1'
add: '*.*'

- name: Upload summary log
uses: actions/upload-artifact@v2
with:
name: ${{ env.SUMMARY_LOG_ARTIFACT_NAME }}
path: ${{ env.SUMMARY_LOG_PATH }}
batch-2:
needs: batch-1
name: Update Schemas Batch 2
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]

- name: Clone azure-rest-api-specs
uses: actions/[email protected]
with:
repository: Azure/azure-rest-api-specs
path: workflow-temp/azure-rest-api-specs
ref: ${{ github.event.inputs.api_specs_ref }}

- name: Install generator npm packages
run: npm ci
working-directory: generator

- name: Download summary log artifact
uses: actions/download-artifact@v2
with:
name: ${{ env.SUMMARY_LOG_ARTIFACT_NAME }}
path: ${{ env.SUMMARY_LOG_DIR }}

- id: generate
name: Run generator
run: |
npm run generate-all -- --local-path "$GITHUB_WORKSPACE/workflow-temp/azure-rest-api-specs" --summary-log-path $SUMMARY_LOG_PATH --batch-count 4 --batch-index 2
working-directory: generator

- name: Commit changes
uses: EndBug/add-and-commit@v7
with:
author_name: github-actions
author_email: [email protected]
message: 'Autogenerate schemas batch 2'
add: '*.*'

- name: Upload summary log
uses: actions/upload-artifact@v2
with:
name: ${{ env.SUMMARY_LOG_ARTIFACT_NAME }}
path: ${{ env.SUMMARY_LOG_PATH }}
batch-3:
needs: batch-2
name: Update Schemas Batch 3
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]

- name: Clone azure-rest-api-specs
uses: actions/[email protected]
with:
repository: Azure/azure-rest-api-specs
path: workflow-temp/azure-rest-api-specs
ref: ${{ github.event.inputs.api_specs_ref }}

- name: Install generator npm packages
run: npm ci
working-directory: generator

- name: Download summary log artifact
uses: actions/download-artifact@v2
with:
name: ${{ env.SUMMARY_LOG_ARTIFACT_NAME }}
path: ${{ env.SUMMARY_LOG_DIR }}

- id: generate
name: Run generator
run: |
npm run generate-all -- --local-path "$GITHUB_WORKSPACE/workflow-temp/azure-rest-api-specs" --summary-log-path $SUMMARY_LOG_PATH --batch-count 4 --batch-index 3

summary="$(<$SUMMARY_LOG_PATH)"
summary="${summary//'%'/'%25'}"
summary="${summary//$'\n'/'%0A'}"
summary="${summary//$'\r'/'%0D'}"
echo "::set-output name=summary::$summary"
working-directory: generator

- id: get_swagger_gh_uri
name: Get GitHub URI for azure-rest-api-specs
run: |
git_sha=`git rev-parse HEAD`
echo "::set-output name=gh_uri::https://github.com/Azure/azure-rest-api-specs/tree/$git_sha"
working-directory: workflow-temp/azure-rest-api-specs

- name: Create Pull Request
uses: peter-evans/[email protected]
with:
committer: GitHub <[email protected]>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: false
branch: ${{ env.MAIN_BRANCH_NAME }}
title: |
Update Generated Schemas ${{ github.event.inputs.single_path && format('(single path: {0})', github.event.inputs.single_path) || '' }}
body: |
Update Generated Schemas ${{ github.event.inputs.single_path && format('(single path: {0})', github.event.inputs.single_path) || '' }}

Generate schemas for ${{ steps.get_swagger_gh_uri.outputs.gh_uri }}

Summary
${{ steps.generate.outputs.summary }}
commit-message: |
Update Generated Schemas ${{ github.event.inputs.single_path && format('(single path: {0})', github.event.inputs.single_path) || '' }}

Generate schemas for ${{ steps.get_swagger_gh_uri.outputs.gh_uri }}
labels: ${{ env.AUTOGENERATE_BRANCH_NAME }}
draft: false
71 changes: 71 additions & 0 deletions .github/workflows/generate-types.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: Generate Types

on:
workflow_dispatch:
inputs:
api_specs_ref:
description: 'Git ref or full SHA for https://github.com/Azure/azure-rest-api-specs.'
required: true
default: 'main'
single_path:
description: 'The path to generate types for (e.g. "compute", or "keyvault"). Leave blank to generate all types.'
required: false

jobs:
update-types:
name: Update Types
runs-on: ubuntu-latest

steps:
- uses: actions/[email protected]

- name: Clone azure-rest-api-specs
uses: actions/[email protected]
with:
repository: Azure/azure-rest-api-specs
path: workflow-temp/azure-rest-api-specs
ref: ${{ github.event.inputs.api_specs_ref }}

- name: Install generator npm packages
run: npm ci
working-directory: generator

- id: generate
name: Run generator
run: |
if [ -z "${{ github.event.inputs.single_path }}" ]
then
npm run generate-all -- --local-path "$GITHUB_WORKSPACE/workflow-temp/azure-rest-api-specs"
else
npm run generate-single -- --base-path '${{ github.event.inputs.single_path }}/resource-manager' --local-path '$GITHUB_WORKSPACE/workflow-temp/azure-rest-api-specs'
fi
working-directory: generator

- id: get_swagger_gh_uri
name: Get GitHub URI for azure-rest-api-specs
run: |
git_sha=`git rev-parse HEAD`
echo "::set-output name=gh_uri::https://github.com/Azure/azure-rest-api-specs/tree/$git_sha"
working-directory: workflow-temp/azure-rest-api-specs

- name: Create Pull Request
uses: peter-evans/[email protected]
with:
committer: GitHub <[email protected]>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: false
branch: autogenerate
branch-suffix: short-commit-hash
delete-branch: true
title: |
Update Generated Types ${{ github.event.inputs.single_path && format('(single path: {0})', github.event.inputs.single_path) || '' }}
body: |
Update Generated Types ${{ github.event.inputs.single_path && format('(single path: {0})', github.event.inputs.single_path) || '' }}

Generate types for ${{ steps.get_swagger_gh_uri.outputs.gh_uri }}
commit-message: |
Update Generated Types ${{ github.event.inputs.single_path && format('(single path: {0})', github.event.inputs.single_path) || '' }}

Generate types for ${{ steps.get_swagger_gh_uri.outputs.gh_uri }}
labels: autogenerate
draft: false
Loading