File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -195,7 +195,9 @@ jobs:
195195
196196 - template : templates/setup.yml
197197 - template : templates/cloneAndBuildBenchmarkRepo.yml # Sets $(BENCH_SCRIPTS), $(TSPERF_EXE)
198- - template : templates/cloneInternalRepo.yml # Sets $(TSPERF_INTERNAL_SCENARIO_CONFIG_DIR)
198+ - template : templates/cloneInternalRepo.yml # Sets $(TSPERF_INTERNAL_SCENARIO_CONFIG_DIR), $(TSPERF_INTERNAL_SUITE_DIR)
199+ parameters :
200+ condition : eq(variables['TSPERF_JOB_LOCATION'], 'internal')
199201
200202 - download : current
201203 artifact : BuiltTypeScript
@@ -280,7 +282,7 @@ jobs:
280282
281283 - template : templates/cloneAndBuildBenchmarkRepo.yml # Sets $(BENCH_SCRIPTS), $(TSPERF_EXE)
282284 # TODO(jakebailey): remove this; see "suite" in ts-perf/packages/api/src/options.ts
283- - template : templates/cloneInternalRepo.yml # Sets $(TSPERF_INTERNAL_SCENARIO_CONFIG_DIR)
285+ - template : templates/cloneInternalRepo.yml # Sets $(TSPERF_INTERNAL_SCENARIO_CONFIG_DIR), $(TSPERF_INTERNAL_SUITE_DIR
284286
285287 - bash : |
286288 set -eo pipefail
Original file line number Diff line number Diff line change 1+ parameters :
2+ - name : condition
3+ type : string
4+ default : ' true'
5+
16steps :
27 # The existence of this AzDo project/repository is not secret.
38 - bash : |
813 PAT: $(tslab1-mseng-PAT)
914 displayName: Clone internal repo
1015 retryCountOnTaskFailure: 3
16+ condition: and(succeeded(), ${{ parameters.condition }})
1117
1218 - bash : |
1319 echo "##vso[task.setvariable variable=TSPERF_INTERNAL_SCENARIO_CONFIG_DIR]$(Pipeline.Workspace)/internal/cases/perf/scenarios"
1420 echo "##vso[task.setvariable variable=TSPERF_INTERNAL_SUITE_DIR]$(Pipeline.Workspace)/internal/cases/perf/solutions"
1521 displayName: Set internal repo variables
22+ condition: and(succeeded(), ${{ parameters.condition }})
You can’t perform that action at this time.
0 commit comments