@@ -11,10 +11,10 @@ trigger:
1111 - honeycomb-dev
1212
1313stages :
14- - stage : build_and_test
14+ - stage : setup
1515 displayName : ACN
1616 jobs :
17- - job : setup
17+ - job : env
1818 displayName : Setup
1919 pool :
2020 name : " $(BUILD_POOL_NAME_DEFAULT)"
@@ -32,13 +32,19 @@ stages:
3232 displayName: "Set environmental variables"
3333 condition: always()
3434
35+
36+ - template : windows-image.yaml
37+
38+ - stage : build_and_test
39+ displayName : ACN
40+ dependsOn :
41+ - " setup"
42+ jobs :
3543 - job : build
3644 displayName : Build Binaries
37- dependsOn :
38- - " setup"
3945 variables :
40- TAG : $[ dependencies .setup.outputs['EnvironmentalVariables.Tag'] ]
41- STORAGE_ID : $[ dependencies .setup.outputs['EnvironmentalVariables.StorageID'] ]
46+ TAG : $[ stagedependencies .setup.env .outputs['EnvironmentalVariables.Tag'] ]
47+ STORAGE_ID : $[ stagedependencies .setup.env .outputs['EnvironmentalVariables.StorageID'] ]
4248 pool :
4349 name : " $(BUILD_POOL_NAME_DEFAULT)"
4450 steps :
@@ -85,10 +91,8 @@ stages:
8591
8692 - job : build_images
8793 displayName : Build Images
88- dependsOn :
89- - " setup"
9094 variables :
91- TAG : $[ dependencies .setup.outputs['EnvironmentalVariables.Tag'] ]
95+ TAG : $[ stagedependencies .setup.env .outputs['EnvironmentalVariables.Tag'] ]
9296 pool :
9397 name : " $(BUILD_POOL_NAME_DEFAULT)"
9498 steps :
@@ -158,10 +162,8 @@ stages:
158162
159163 - job : test
160164 displayName : Run Tests
161- dependsOn :
162- - " setup"
163165 variables :
164- STORAGE_ID : $[ dependencies .setup.outputs['EnvironmentalVariables.StorageID'] ]
166+ STORAGE_ID : $[ stagedependencies .setup.env .outputs['EnvironmentalVariables.StorageID'] ]
165167 pool :
166168 name : " $(BUILD_POOL_NAME_DEFAULT)"
167169 steps :
0 commit comments