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 10, 2019
1 parent 2455d46 commit 1d01b96
Show file tree
Hide file tree
Showing 11 changed files with 48 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
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: $(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 1d01b96

Please sign in to comment.