forked from Azure/azure-sdk-for-js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dependency Graph Pipeline (Azure#7281)
- Loading branch information
1 parent
3990f84
commit 751aa55
Showing
3 changed files
with
117 additions
and
66 deletions.
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
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
jobs: | ||
- job: 'ValidateDependencies' | ||
|
||
pool: | ||
vmImage: 'windows-2019' | ||
|
||
steps: | ||
- task: NodeTool@0 | ||
displayName: 'Use Node 10.x' | ||
inputs: | ||
versionSpec: 10.x | ||
|
||
- script: 'npm ci' | ||
workingDirectory: '$(Build.SourcesDirectory)/eng/tools/analyze-deps' | ||
displayName: 'Install tool dependencies' | ||
|
||
- script: | | ||
node index.js --verbose --out "$(Build.ArtifactStagingDirectory)/dependencies.html" --dump "$(Build.ArtifactStagingDirectory)/data.js" | ||
workingDirectory: '$(Build.SourcesDirectory)/eng/tools/analyze-deps' | ||
displayName: 'Validate dependencies' | ||
- pwsh: | | ||
copy eng/common/InterdependencyGraph.html $(Build.ArtifactStagingDirectory) | ||
displayName: 'Copy static file' | ||
- task: AzureFileCopy@3 | ||
displayName: 'Upload dependency report' | ||
inputs: | ||
sourcePath: '$(Build.ArtifactStagingDirectory)' | ||
additionalArgumentsForBlobCopy: | | ||
'/Y' | ||
'/Pattern:*' | ||
'/S' | ||
'/V' | ||
azureSubscription: 'Azure SDK Artifacts' | ||
destination: AzureBlob | ||
storage: azuresdkartifacts | ||
containerName: 'azure-sdk-for-js' | ||
blobPrefix: dependencies |
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