Skip to content

Commit

Permalink
Update SDK Tools Consumption (Azure#7148)
Browse files Browse the repository at this point in the history
  • Loading branch information
chidozieononiwu authored and yijxie committed Oct 9, 2019
1 parent 23c333d commit 572cbc9
Show file tree
Hide file tree
Showing 82 changed files with 566 additions and 22 deletions.
7 changes: 7 additions & 0 deletions eng/pipelines/client.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
trigger: none

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

variables:
- template: templates/variables/globals.yml
- name: ReleaseTag
Expand Down
14 changes: 3 additions & 11 deletions eng/pipelines/templates/steps/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,14 @@ steps:
- powershell: |
gci -r $(Build.ArtifactStagingDirectory)
- powershell: |
Invoke-WebRequest -Uri "https://github.com/Azure/azure-sdk-tools/releases/download/sdk-tools_14793/sdk-tools.zip" `
-OutFile "sdk-tools.zip" | Wait-Process; Expand-Archive -Path "sdk-tools.zip" -DestinationPath "./sdk-tools/"
workingDirectory: '$(Build.BinariesDirectory)'
displayName: 'Download Tools Archive From Github Release and Extract it'
- task: UsePythonVersion@0
displayName: 'Use Python ${{ parameters.PythonVersion }}'
inputs:
versionSpec: '${{ parameters.PythonVersion }}'

- task: PythonScript@0
displayName: 'Run VerifyAgentOS script'
inputs:
scriptPath: '$(Build.BinariesDirectory)/sdk-tools/scripts/python/verify_agent_os.py'
arguments: ${{ parameters.OSName }}
- template: eng/pipelines/templates/scripts/verify-agent-os.yml@azure-sdk-tools
parameters:
OSName: ${{ parameters.OSName }}

- script: |
pip install pathlib twine codecov beautifulsoup4 tox tox-monorepo packaging
Expand Down
14 changes: 3 additions & 11 deletions eng/pipelines/templates/steps/test-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,14 @@ steps:
- powershell: |
gci -r $(Build.ArtifactStagingDirectory)
- powershell: |
Invoke-WebRequest -Uri "https://github.com/Azure/azure-sdk-tools/releases/download/sdk-tools_14793/sdk-tools.zip" `
-OutFile "sdk-tools.zip" | Wait-Process; Expand-Archive -Path "sdk-tools.zip" -DestinationPath "./sdk-tools/"
workingDirectory: '$(Build.BinariesDirectory)'
displayName: 'Download Tools Archive From Github Release and Extract it'
- task: UsePythonVersion@0
displayName: 'Use Python ${{ parameters.PythonVersion }}'
inputs:
versionSpec: '${{ parameters.PythonVersion }}'

- task: PythonScript@0
displayName: 'Run VerifyAgentOS script'
inputs:
scriptPath: '$(Build.BinariesDirectory)/sdk-tools/scripts/python/verify_agent_os.py'
arguments: ${{ parameters.OSName }}
- template: eng/pipelines/templates/scripts/verify-agent-os.yml@azure-sdk-tools
parameters:
OSName: ${{ parameters.OSName }}

- script: |
pip install pathlib twine codecov beautifulsoup4 tox tox-monorepo packaging
Expand Down
7 changes: 7 additions & 0 deletions sdk/advisor/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pr:
include:
- sdk/advisor/

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
7 changes: 7 additions & 0 deletions sdk/aks/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pr:
include:
- sdk/aks/

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
7 changes: 7 additions & 0 deletions sdk/alertsmanagement/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pr:
include:
- sdk/alertsmanagement/

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
7 changes: 7 additions & 0 deletions sdk/appconfiguration/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pr:
include:
- sdk/appconfiguration/

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
7 changes: 7 additions & 0 deletions sdk/appconfiguration/tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
trigger: none

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-tests.yml
parameters:
Expand Down
7 changes: 7 additions & 0 deletions sdk/applicationinsights/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pr:
include:
- sdk/applicationinsights/

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
7 changes: 7 additions & 0 deletions sdk/appservice/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pr:
include:
- sdk/appservice/

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
7 changes: 7 additions & 0 deletions sdk/authorization/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pr:
include:
- sdk/authorization/

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
7 changes: 7 additions & 0 deletions sdk/automation/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pr:
include:
- sdk/automation/

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
7 changes: 7 additions & 0 deletions sdk/batch/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pr:
include:
- sdk/batch/

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
7 changes: 7 additions & 0 deletions sdk/billing/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pr:
include:
- sdk/billing/

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
7 changes: 7 additions & 0 deletions sdk/botservice/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pr:
include:
- sdk/botservice/

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
7 changes: 7 additions & 0 deletions sdk/cdn/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pr:
include:
- sdk/cdn/

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
7 changes: 7 additions & 0 deletions sdk/cognitiveservices/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pr:
include:
- sdk/cognitiveservices/

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
7 changes: 7 additions & 0 deletions sdk/commerce/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pr:
include:
- sdk/commerce/

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
7 changes: 7 additions & 0 deletions sdk/compute/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pr:
include:
- sdk/compute/

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
7 changes: 7 additions & 0 deletions sdk/consumption/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pr:
include:
- sdk/consumption/

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
7 changes: 7 additions & 0 deletions sdk/containerinstance/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pr:
include:
- sdk/containerinstance/

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
7 changes: 7 additions & 0 deletions sdk/containerregistry/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pr:
include:
- sdk/containerregistry/

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
7 changes: 7 additions & 0 deletions sdk/containerservice/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pr:
include:
- sdk/containerservice/

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
7 changes: 7 additions & 0 deletions sdk/core/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pr:
include:
- sdk/core/

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
7 changes: 7 additions & 0 deletions sdk/costmanagement/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pr:
include:
- sdk/costmanagement/

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
7 changes: 7 additions & 0 deletions sdk/databricks/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pr:
include:
- sdk/databricks/

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
7 changes: 7 additions & 0 deletions sdk/datafactory/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pr:
include:
- sdk/datafactory/

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
Loading

0 comments on commit 572cbc9

Please sign in to comment.