From bbda19c30b7caf88b5b776d01a196d2352bfa904 Mon Sep 17 00:00:00 2001 From: Mitch Denny Date: Mon, 7 Oct 2019 11:08:39 +1100 Subject: [PATCH] Enable template for unified templates. (#7644) * Setup template for UP. * Fixed service directory. --- sdk/template/ci.yml | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/sdk/template/ci.yml b/sdk/template/ci.yml index e475fd73946b..df1b973f1777 100644 --- a/sdk/template/ci.yml +++ b/sdk/template/ci.yml @@ -1,13 +1,28 @@ # 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 + - repository: azure-sdk-build-tools + type: git + name: internal/azure-sdk-build-tools + trigger: branches: include: - master + - feature/* + - hotfix/* + - release/* + - restapi* paths: include: - sdk/template/ + - sdk/core/ pr: branches: @@ -20,15 +35,12 @@ pr: paths: include: - sdk/template/ + - 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 +stages: +- template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: - ServiceDirectory: template \ No newline at end of file + ServiceDirectory: template + Artifacts: + - name: azure_template + safeName: azuretemplate