1+ resources :
2+ repositories :
3+ - repository : azure-sdk-tools
4+ type : github
5+ name : azure/azure-sdk-tools
6+ endpoint : azure
7+ ref : refs/tags/azure-sdk-tools_20200608.1
8+ - repository : azure-sdk-build-tools
9+ type : git
10+ name : internal/azure-sdk-build-tools
11+ ref : refs/tags/azure-sdk-build-tools_20200514.1
12+
113parameters :
2- Artifacts : []
3- ServiceDirectory : not-specified
4- EmulatorMsiUrl : ' https://aka.ms/cosmosdb-emulator'
5- EmulatorStartParameters : ' '
6- InjectedPackages : ' '
7- BuildDocs : true
14+ - name : Artifacts
15+ type : object
16+ default : []
17+ - name : ServiceDirectory
18+ type : string
19+ default : not-specified
20+ - name : EmulatorMsiUrl
21+ type : string
22+ default : https://aka.ms/cosmosdb-emulator
23+ - name : InjectedPackages
24+ type : string
25+ default : ' '
26+ - name : BuildDocs
27+ type : boolean
28+ default : true
29+ - name : EmulatorStartParameters
30+ type : string
31+ default : ' '
832
933stages :
1034 - stage : Build
@@ -21,11 +45,9 @@ stages:
2145 matrix :
2246 Windows_Python35 :
2347 OSVmImage : ' windows-2019'
24- OSName : Windows
2548 PythonVersion : ' 3.5'
2649 Windows_Python27 :
2750 OSVmImage : ' windows-2019'
28- OSName : Windows
2951 PythonVersion : ' 2.7'
3052 pool :
3153 vmImage : $(OSVmImage)
@@ -43,14 +65,14 @@ stages:
4365 ACCOUNT_HOST : https://localhost:8081/
4466 ServiceDirectory : ${{ parameters.ServiceDirectory }}
4567 PythonVersion : $(PythonVersion)
46- OSName : $(OSName )
68+ OSVmImage : $(OSVmImage )
4769 ToxTestEnv : ' whl,sdist'
4870 BuildDocs : ${{parameters.BuildDocs}}
4971 InjectedPackages : ${{parameters.InjectedPackages}}
5072
5173 # The Prerelease and Release stages are conditioned on whether we are building a pull request and the branch.
5274 - ${{if and(ne(variables['Build.Reason'], 'PullRequest'), eq(variables['System.TeamProject'], 'internal'))}} :
53- - template : pipelines/stages/ archetype-python-release.yml@azure-sdk-build-tools
75+ - template : archetype-python-release.yml
5476 parameters :
5577 DependsOn : Build
5678 ServiceDirectory : ${{parameters.ServiceDirectory}}
0 commit comments