From 1d01b9682b7a4d532c9fa5d061bb8153ee814905 Mon Sep 17 00:00:00 2001 From: Chidozie Ononiwu Date: Mon, 9 Sep 2019 13:50:21 -0700 Subject: [PATCH] Update Azure SDK tools Consumption Story --- eng/pipelines/client.yml | 7 +++++++ eng/pipelines/templates/steps/common.yml | 13 +++---------- sdk/appconfiguration/ci.yml | 4 ++++ sdk/core/ci.yml | 4 ++++ sdk/cosmosdb/ci.yml | 6 ++++++ sdk/eventhub/ci.yml | 4 ++++ sdk/identity/ci.yml | 4 ++++ sdk/keyvault/ci.yml | 4 ++++ sdk/servicebus/ci.yml | 4 ++++ sdk/storage/ci.yml | 4 ++++ sdk/template/ci.yml | 4 ++++ 11 files changed, 48 insertions(+), 10 deletions(-) diff --git a/eng/pipelines/client.yml b/eng/pipelines/client.yml index 9edf5008ee59..6702312bb66b 100644 --- a/eng/pipelines/client.yml +++ b/eng/pipelines/client.yml @@ -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: diff --git a/eng/pipelines/templates/steps/common.yml b/eng/pipelines/templates/steps/common.yml index 6af28ac139f5..696bcde81f54 100644 --- a/eng/pipelines/templates/steps/common.yml +++ b/eng/pipelines/templates/steps/common.yml @@ -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: diff --git a/sdk/appconfiguration/ci.yml b/sdk/appconfiguration/ci.yml index f18ad2eaa7cb..8ee93ec52189 100644 --- a/sdk/appconfiguration/ci.yml +++ b/sdk/appconfiguration/ci.yml @@ -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: diff --git a/sdk/core/ci.yml b/sdk/core/ci.yml index 44be2e4e05e3..522b858faa06 100644 --- a/sdk/core/ci.yml +++ b/sdk/core/ci.yml @@ -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: diff --git a/sdk/cosmosdb/ci.yml b/sdk/cosmosdb/ci.yml index 1f45ea611f42..08aef37be7f0 100644 --- a/sdk/cosmosdb/ci.yml +++ b/sdk/cosmosdb/ci.yml @@ -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: diff --git a/sdk/eventhub/ci.yml b/sdk/eventhub/ci.yml index 0f2365dc21dd..973f775fc17f 100644 --- a/sdk/eventhub/ci.yml +++ b/sdk/eventhub/ci.yml @@ -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: diff --git a/sdk/identity/ci.yml b/sdk/identity/ci.yml index b8d250f29be0..d1ef89af949f 100644 --- a/sdk/identity/ci.yml +++ b/sdk/identity/ci.yml @@ -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: diff --git a/sdk/keyvault/ci.yml b/sdk/keyvault/ci.yml index e9f595dccd2d..d4693dbf05b7 100644 --- a/sdk/keyvault/ci.yml +++ b/sdk/keyvault/ci.yml @@ -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: diff --git a/sdk/servicebus/ci.yml b/sdk/servicebus/ci.yml index d59d563abb38..135ea3f6ceb3 100644 --- a/sdk/servicebus/ci.yml +++ b/sdk/servicebus/ci.yml @@ -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: diff --git a/sdk/storage/ci.yml b/sdk/storage/ci.yml index 931dae25d804..b4b6a50a351d 100644 --- a/sdk/storage/ci.yml +++ b/sdk/storage/ci.yml @@ -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: diff --git a/sdk/template/ci.yml b/sdk/template/ci.yml index 8ab3d0b7dc2b..22fc8a2cdc4d 100644 --- a/sdk/template/ci.yml +++ b/sdk/template/ci.yml @@ -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: