Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 0 additions & 39 deletions .azure-pipelines/generation-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@ resources:
endpoint: microsoftgraph (22)
name: microsoftgraph/msgraph-beta-typescript-typings
ref: main
- repository: msgraph-sdk-objc-models
type: github
endpoint: microsoftgraph (22)
name: microsoftgraph/msgraph-sdk-objc-models
ref: dev
- repository: msgraph-sdk-java
type: github
endpoint: microsoftgraph (22)
Expand All @@ -73,11 +68,6 @@ resources:
endpoint: microsoftgraph (22)
name: microsoftgraph/msgraph-sdk-ruby
ref: main
- repository: msgraph-beta-sdk-ruby
type: github
endpoint: microsoftgraph (22)
name: microsoftgraph/msgraph-beta-sdk-ruby
ref: main
- repository: msgraph-sdk-typescript
type: github
endpoint: microsoftgraph (22)
Expand Down Expand Up @@ -409,35 +399,6 @@ stages:
repoName: msgraph-sdk-ruby
barrelFileName: microsoft_graph.rb

- stage: stage_ruby_beta
dependsOn:
- stage_build_and_publish_kiota
- stage_beta_openapi
condition: |
and
(
eq(dependencies.stage_build_and_publish_kiota.result, 'Succeeded'),
in(dependencies.stage_beta_openapi.result, 'Succeeded', 'Skipped')
)
jobs:
- job: ruby_beta
steps:
- template: generation-templates/language-generation-kiota.yml
parameters:
language: 'ruby'
version: 'beta'
repoName: 'msgraph-beta-sdk-ruby'
branchName: $(betaBranch)
targetClassName: "GraphBaseServiceClient"
targetNamespace: "MicrosoftGraphBeta"
cleanMetadataFolder: $(cleanOpenAPIFolderBeta)
customArguments: "-e '/me' -e '/me/**'" # Exclude me
languageSpecificSteps:
- template: generation-templates/ruby.yml
parameters:
repoName: msgraph-beta-sdk-ruby
barrelFileName: microsoft_graph_beta.rb

- stage: stage_java_v1_kiota
dependsOn:
- stage_build_and_publish_kiota
Expand Down
9 changes: 9 additions & 0 deletions .azure-pipelines/generation-templates/capture-metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ steps:

- template: download-typewriter.yml

# required for typewriter
- template: use-dotnet-sdk.yml
parameters:
version: '8.x'

## Only run if the previous step was successful
- pwsh: '$(scriptsDirectory)/run-typewriter-clean-metadata.ps1'
Expand Down Expand Up @@ -113,7 +116,13 @@ steps:

# Use the clean metadata from the last step to generate DotNet files.

# required for the hidi installation validation
- template: use-dotnet-sdk.yml
parameters:
version: '9.x'

- pwsh: dotnet tool install -g Microsoft.OpenApi.Hidi
displayName: 'Install hidi tool'

# verify that generated metadata is parsable as an Edm model
- pwsh: $(Build.SourcesDirectory)/msgraph-metadata/scripts/run-metadata-validation.ps1 -repoDirectory "$(Build.SourcesDirectory)/msgraph-metadata/" -version "${{ parameters.endpoint }}"
Expand Down
Loading