33 branches :
44 include :
55 - dev
6- - release/*
6+ - release/* # proxy worker releases
7+ - release-v1/* # V1 worker releases
8+ - release-v2/* # V2 worker releases
79
810# CI only, does not trigger on PRs.
911pr : none
@@ -46,34 +48,71 @@ extends:
4648 break : true
4749
4850 stages :
49- - stage : Build
51+ # Python Worker Build and Test Stages
52+ - stage : BuildPythonWorker
5053 jobs :
5154 - template : /eng/templates/official/jobs/build-artifacts.yml@self
52-
53- - stage : RunE2ETests
54- dependsOn : Build
55+ - stage : RunWorkerE2ETests
56+ dependsOn : BuildPythonWorker
5557 jobs :
5658 - template : /eng/templates/official/jobs/ci-e2e-tests.yml@self
57- - stage : RunEmulatorTests
58- dependsOn : Build
59+ - stage : RunWorkerEmulatorTests
60+ dependsOn : BuildPythonWorker
5961 jobs :
6062 - template : /eng/templates/jobs/ci-emulator-tests.yml@self
6163 parameters :
6264 PoolName : 1es-pool-azfunc
63- - stage : RunUnitTests
64- dependsOn : Build
65+ - stage : RunWorkerUnitTests
66+ dependsOn : BuildPythonWorker
6567 jobs :
6668 - template : /eng/templates/jobs/ci-unit-tests.yml@self
67- - stage : RunDockerConsumptionTests
68- dependsOn : Build
69+ parameters :
70+ PoolName : 1es-pool-azfunc
71+ - stage : RunWorkerDockerConsumptionTests
72+ dependsOn : BuildPythonWorker
6973 jobs :
7074 - template : /eng/templates/official/jobs/ci-docker-consumption-tests.yml@self
71- - stage : RunDockerDedicatedTests
72- dependsOn : Build
75+ - stage : RunWorkerDockerDedicatedTests
76+ dependsOn : BuildPythonWorker
7377 jobs :
7478 - template : /eng/templates/official/jobs/ci-docker-dedicated-tests.yml@self
75- # Skipping consumption tests till pipeline is fixed
76- # - stage: RunLinuxConsumptionTests
77- # dependsOn: Build
78- # jobs:
79- # - template: /eng/templates/official/jobs/ci-lc-tests.yml@self
79+ - stage : RunWorkerLinuxConsumptionTests
80+ dependsOn : BuildPythonWorker
81+ jobs :
82+ - template : /eng/templates/official/jobs/ci-lc-tests.yml@self
83+
84+ # Python V2 Library Build and Test Stages
85+ - stage : BuildV2Library
86+ dependsOn : []
87+ jobs :
88+ - template : /eng/templates/official/jobs/build-library.yml@self
89+ parameters :
90+ PROJECT_NAME : ' Python V2 Library'
91+ PROJECT_DIRECTORY : ' runtimes/v2'
92+ ARTIFACT_NAME : ' azure-functions-runtime'
93+ - stage : RunV2LibraryUnitTests
94+ dependsOn : BuildV2Library
95+ jobs :
96+ - template : /eng/templates/jobs/ci-library-unit-tests.yml@self
97+ parameters :
98+ PROJECT_NAME : ' Python V2 Library'
99+ PROJECT_DIRECTORY : ' runtimes/v2'
100+ PoolName : 1es-pool-azfunc
101+
102+ # Python V1 Library Build and Test Stages
103+ - stage : BuildV1Library
104+ dependsOn : []
105+ jobs :
106+ - template : /eng/templates/official/jobs/build-library.yml@self
107+ parameters :
108+ PROJECT_NAME : ' Python V1 Library'
109+ PROJECT_DIRECTORY : ' runtimes/v1'
110+ ARTIFACT_NAME : ' azure-functions-runtime-v1'
111+ - stage : RunV1LibraryUnitTests
112+ dependsOn : BuildV1Library
113+ jobs :
114+ - template : /eng/templates/jobs/ci-library-unit-tests.yml@self
115+ parameters :
116+ PROJECT_NAME : ' Python V1 Library'
117+ PROJECT_DIRECTORY : ' runtimes/v1'
118+ PoolName : 1es-pool-azfunc
0 commit comments