Skip to content

Commit

Permalink
Update Azure SDK tools Consumption Story
Browse files Browse the repository at this point in the history
  • Loading branch information
chidozieononiwu committed Sep 9, 2019
1 parent c82f807 commit 3412cde
Show file tree
Hide file tree
Showing 13 changed files with 56 additions and 10 deletions.
7 changes: 7 additions & 0 deletions eng/pipelines/client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ trigger: none

pr: none

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

jobs:
- template: templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
6 changes: 6 additions & 0 deletions eng/pipelines/templates/jobs/archetype-sdk-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jobs:
condition: and(eq(variables['Build.SourceBranchName'],'master'),eq(variables['Build.Reason'],'Schedule'))
- template: ../steps/common.yml
parameters:
OSVmImage: $(OSVmImage)

- template: ../steps/select-packages.yml
parameters:
Expand Down Expand Up @@ -90,6 +92,8 @@ jobs:

steps:
- template: ../steps/common.yml
parameters:
OSVmImage: $(OSVmImage)

- template: ../steps/select-packages.yml
parameters:
Expand Down Expand Up @@ -193,6 +197,8 @@ jobs:

steps:
- template: ../steps/common.yml
parameters:
OSVmImage: $(OSVmImage)

- template: ../steps/select-packages.yml
parameters:
Expand Down
2 changes: 2 additions & 0 deletions eng/pipelines/templates/jobs/archetype-sdk-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:

steps:
- template: ../steps/common.yml
parameters:
OSVmImage: $(OSVmImage)

- ${{ if ne(parameters.ResourceFileLocation, '') }}:
- pwsh: |
Expand Down
13 changes: 3 additions & 10 deletions eng/pipelines/templates/steps/common.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
steps:
- pwsh: |
Invoke-WebRequest -MaximumRetryCount 10 -Uri "https://raw.githubusercontent.com/Azure/azure-sdk-tools/verify-agent-os_1.1.0/scripts/python/verify_agent_os.py" -OutFile "verify_agent_os.py" | Wait-Process
workingDirectory: "$(Build.BinariesDirectory)"
displayName: "Download verify_agent_os.py"
- task: UsePythonVersion@0
displayName: "Use Python 3.6"
inputs:
versionSpec: "3.6"

- task: PythonScript@0
displayName: "Verify agent OS" # This also sets the friendly name in variable 'OSName'
inputs:
scriptPath: "$(Build.BinariesDirectory)/verify_agent_os.py"
arguments: $(OSVmImage)
- template: eng/pipelines/templates/scripts/verify-agent-os.yml@azure-sdk-tools
parameters:
OSName: ${{parameters.OSVmImage}}

- task: NodeTool@0
inputs:
Expand Down
4 changes: 4 additions & 0 deletions sdk/appconfiguration/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ resources:
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

trigger:
branches:
Expand Down
4 changes: 4 additions & 0 deletions sdk/core/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ resources:
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

trigger:
branches:
Expand Down
6 changes: 6 additions & 0 deletions sdk/cosmosdb/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# DO NOT EDIT THIS FILE
# This file is generated automatically and any changes will be lost.
resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

trigger:
branches:
Expand Down
4 changes: 4 additions & 0 deletions sdk/eventhub/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ resources:
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

trigger:
branches:
Expand Down
4 changes: 4 additions & 0 deletions sdk/identity/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ resources:
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

trigger:
branches:
Expand Down
4 changes: 4 additions & 0 deletions sdk/keyvault/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ resources:
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

trigger:
branches:
Expand Down
4 changes: 4 additions & 0 deletions sdk/servicebus/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ resources:
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

trigger:
branches:
Expand Down
4 changes: 4 additions & 0 deletions sdk/storage/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ resources:
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

trigger:
branches:
Expand Down
4 changes: 4 additions & 0 deletions sdk/template/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ resources:
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

trigger:
branches:
Expand Down

0 comments on commit 3412cde

Please sign in to comment.