|
53 | 53 | continueOnError: false |
54 | 54 | pool: sonic-ubuntu-1c |
55 | 55 | steps: |
| 56 | + - ${{ if eq(parameters.CHECKOUT_SONIC_MGMT, true) }}: |
| 57 | + - checkout: ${{ parameters.SONIC_MGMT_NAME }} |
| 58 | + displayName: "Checkout sonic-mgmt repository" |
| 59 | + |
56 | 60 | - template: impacted_area_testing/get-impacted-area.yml |
57 | 61 | parameters: |
58 | 62 | BUILD_BRANCH: $(BUILD_BRANCH) |
|
69 | 73 | continueOnError: false |
70 | 74 | pool: sonic-ubuntu-1c |
71 | 75 | steps: |
| 76 | + - ${{ if eq(parameters.CHECKOUT_SONIC_MGMT, true) }}: |
| 77 | + - checkout: ${{ parameters.SONIC_MGMT_NAME }} |
| 78 | + displayName: "Checkout sonic-mgmt repository" |
| 79 | + |
72 | 80 | - template: impacted_area_testing/calculate-instance-numbers.yml |
73 | 81 | parameters: |
74 | 82 | TOPOLOGY: t0 |
@@ -101,6 +109,10 @@ jobs: |
101 | 109 | continueOnError: false |
102 | 110 | pool: sonic-ubuntu-1c |
103 | 111 | steps: |
| 112 | + - ${{ if eq(parameters.CHECKOUT_SONIC_MGMT, true) }}: |
| 113 | + - checkout: ${{ parameters.SONIC_MGMT_NAME }} |
| 114 | + displayName: "Checkout sonic-mgmt repository" |
| 115 | + |
104 | 116 | - template: impacted_area_testing/calculate-instance-numbers.yml |
105 | 117 | parameters: |
106 | 118 | TOPOLOGY: t0-2vlans |
@@ -134,6 +146,10 @@ jobs: |
134 | 146 | continueOnError: false |
135 | 147 | pool: sonic-ubuntu-1c |
136 | 148 | steps: |
| 149 | + - ${{ if eq(parameters.CHECKOUT_SONIC_MGMT, true) }}: |
| 150 | + - checkout: ${{ parameters.SONIC_MGMT_NAME }} |
| 151 | + displayName: "Checkout sonic-mgmt repository" |
| 152 | + |
137 | 153 | - template: impacted_area_testing/calculate-instance-numbers.yml |
138 | 154 | parameters: |
139 | 155 | TOPOLOGY: t1 |
@@ -166,6 +182,10 @@ jobs: |
166 | 182 | continueOnError: false |
167 | 183 | pool: sonic-ubuntu-1c |
168 | 184 | steps: |
| 185 | + - ${{ if eq(parameters.CHECKOUT_SONIC_MGMT, true) }}: |
| 186 | + - checkout: ${{ parameters.SONIC_MGMT_NAME }} |
| 187 | + displayName: "Checkout sonic-mgmt repository" |
| 188 | + |
169 | 189 | - template: impacted_area_testing/calculate-instance-numbers.yml |
170 | 190 | parameters: |
171 | 191 | TOPOLOGY: dualtor |
@@ -198,6 +218,10 @@ jobs: |
198 | 218 | continueOnError: false |
199 | 219 | pool: sonic-ubuntu-1c |
200 | 220 | steps: |
| 221 | + - ${{ if eq(parameters.CHECKOUT_SONIC_MGMT, true) }}: |
| 222 | + - checkout: ${{ parameters.SONIC_MGMT_NAME }} |
| 223 | + displayName: "Checkout sonic-mgmt repository" |
| 224 | + |
201 | 225 | - template: impacted_area_testing/calculate-instance-numbers.yml |
202 | 226 | parameters: |
203 | 227 | TOPOLOGY: t0-sonic |
@@ -235,6 +259,10 @@ jobs: |
235 | 259 | continueOnError: false |
236 | 260 | pool: sonic-ubuntu-1c |
237 | 261 | steps: |
| 262 | + - ${{ if eq(parameters.CHECKOUT_SONIC_MGMT, true) }}: |
| 263 | + - checkout: ${{ parameters.SONIC_MGMT_NAME }} |
| 264 | + displayName: "Checkout sonic-mgmt repository" |
| 265 | + |
238 | 266 | - template: impacted_area_testing/calculate-instance-numbers.yml |
239 | 267 | parameters: |
240 | 268 | TOPOLOGY: dpu |
@@ -271,6 +299,10 @@ jobs: |
271 | 299 | continueOnError: false |
272 | 300 | pool: sonic-ubuntu-1c |
273 | 301 | steps: |
| 302 | + - ${{ if eq(parameters.CHECKOUT_SONIC_MGMT, true) }}: |
| 303 | + - checkout: ${{ parameters.SONIC_MGMT_NAME }} |
| 304 | + displayName: "Checkout sonic-mgmt repository" |
| 305 | + |
274 | 306 | - template: impacted_area_testing/calculate-instance-numbers.yml |
275 | 307 | parameters: |
276 | 308 | TOPOLOGY: t1 |
@@ -304,6 +336,10 @@ jobs: |
304 | 336 | continueOnError: false |
305 | 337 | pool: sonic-ubuntu-1c |
306 | 338 | steps: |
| 339 | + - ${{ if eq(parameters.CHECKOUT_SONIC_MGMT, true) }}: |
| 340 | + - checkout: ${{ parameters.SONIC_MGMT_NAME }} |
| 341 | + displayName: "Checkout sonic-mgmt repository" |
| 342 | + |
307 | 343 | - template: impacted_area_testing/calculate-instance-numbers.yml |
308 | 344 | parameters: |
309 | 345 | TOPOLOGY: t2 |
|
0 commit comments