-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scripts #5213
Merged
Merged
scripts #5213
Changes from 28 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
bd41805
scripts
sergey-shandar b1b8b7e
TRAVIS_PULL_REQUEST
sergey-shandar 463938e
another try
sergey-shandar 90cab46
TRAVIS_PULL_REQUEST_SLUG
sergey-shandar 0ec7d8d
TRAVIS_REPO_SLUG
sergey-shandar 910ac03
Swagger to SDK
sergey-shandar d7ab18f
linter and ruby
sergey-shandar 4a510f8
not really a slug
sergey-shandar e9d2dc5
pool
sergey-shandar c740f26
indent
sergey-shandar 7891465
strange
sergey-shandar 464eb55
URI
sergey-shandar 96b348b
env vars
sergey-shandar b08843b
uri
sergey-shandar f862c15
env var
sergey-shandar 9feba40
TRAVIS_PULL_REQUEST_SLUG
sergey-shandar 88e4edb
matrix
sergey-shandar 74d6b75
Azure OpenAPI name
sergey-shandar e3ebb1d
linter: autorest fix
sergey-shandar d34cff2
Merge branch 'master' into sergey/diff-tool
sergey-shandar 8c4725c
error handling and PR_ONLY = true
sergey-shandar 734aa3e
Merge branch 'sergey/diff-tool' of https://github.com/Azure/azure-res…
sergey-shandar ca253ba
syntax
sergey-shandar 22f5afe
pipelines.
sergey-shandar b700e98
job name
sergey-shandar fa24706
job name
sergey-shandar b162d5a
Names
sergey-shandar 16a2c71
params, no getStatus.js
sergey-shandar 0c8892b
No CI, only PR validations.
sergey-shandar d7d1649
displayName
sergey-shandar 24a8b7e
revert back
sergey-shandar 2cb0605
no need to show vars
sergey-shandar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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,9 +1,89 @@ | ||
pool: | ||
vmImage: 'Ubuntu 16.04' | ||
name: "Azure OpenAPI" | ||
|
||
steps: | ||
variables: | ||
TRAVIS: 'true' | ||
TRAVIS_PULL_REQUEST: $(System.PullRequest.PullRequestId) | ||
TRAVIS_REPO_SLUG: $(Build.Repository.Name) | ||
TRAVIS_PULL_REQUEST_SLUG: $(Build.Repository.Name) | ||
TRAVIS_PULL_REQUEST_SHA: $(Build.SourceVersion) | ||
PR_ONLY: 'true' | ||
|
||
- task: Npm@1 | ||
displayName: 'npm install' | ||
inputs: | ||
verbose: false | ||
jobs: | ||
|
||
- job: "Syntax" | ||
pool: | ||
vmImage: 'Ubuntu 16.04' | ||
steps: | ||
- task: Npm@1 | ||
displayName: 'npm install' | ||
inputs: | ||
verbose: false | ||
- script: 'npm test -- test/syntax.js' | ||
|
||
- job: "Semantic" | ||
pool: | ||
vmImage: 'Ubuntu 16.04' | ||
steps: | ||
- task: Npm@1 | ||
displayName: 'npm install' | ||
inputs: | ||
verbose: false | ||
- script: 'node scripts/semanticValidation.js' | ||
|
||
- job: "ModelValidation" | ||
pool: | ||
vmImage: 'Ubuntu 16.04' | ||
steps: | ||
- task: Npm@1 | ||
displayName: 'npm install' | ||
inputs: | ||
verbose: false | ||
- script: 'node scripts/modelValidation.js' | ||
|
||
- job: "BreakingChange" | ||
pool: | ||
vmImage: 'Ubuntu 16.04' | ||
steps: | ||
- script: 'scripts/install-dotnet.sh' | ||
- task: Npm@1 | ||
displayName: 'npm install' | ||
inputs: | ||
verbose: false | ||
- script: 'node scripts/breaking-change.js' | ||
|
||
- job: "LintDiff" | ||
pool: | ||
vmImage: 'Ubuntu 16.04' | ||
steps: | ||
- script: | | ||
echo System.PullRequest.PullRequestId: $(System.PullRequest.PullRequestId) | ||
echo Build.Repository.Name: $(Build.Repository.Name) | ||
echo Build.Repository.Uri: $(Build.Repository.Uri) | ||
echo Build.SourceVersion: $(Build.SourceVersion) | ||
- task: Npm@1 | ||
displayName: 'npm install' | ||
inputs: | ||
verbose: false | ||
- script: 'scripts/install-dotnet.sh' | ||
- script: 'node scripts/momentOfTruth.js && node scripts/momentOfTruthPostProcessing.js' | ||
|
||
- job: "SDK" | ||
strategy: | ||
matrix: | ||
ruby: | ||
AZURE_SDK_REPO: azure-sdk-for-ruby | ||
java: | ||
AZURE_SDK_REPO: azure-sdk-for-java | ||
javascript: | ||
AZURE_SDK_REPO: azure-sdk-for-js | ||
node: | ||
AZURE_SDK_REPO: azure-sdk-for-node | ||
python: | ||
AZURE_SDK_REPO: azure-sdk-for-python | ||
go: | ||
AZURE_SDK_REPO: azure-sdk-for-go | ||
AZURE_SDK_PARAMS: '-o latest' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @jhendrixMSFT could you make sure that this is what we want for go? |
||
pool: | ||
vmImage: 'Ubuntu 16.04' | ||
steps: | ||
- script: "scripts/swagger-to-sdk.sh Azure/$(AZURE_SDK_REPO) -v $(AZURE_SDK_PARAMS)" |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More descriptive display names here would be helpful.