File tree 3 files changed +4
-8
lines changed
eng/common/templates/steps
3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 16
16
optionalTestArgs="-DisableHttpVerification"
17
17
fi
18
18
if [ "${{ eq(variables['System.TeamProject'], 'public') }}" == "False" ]; then
19
- optionalTestArgs="$optionalTestArgs -Registry $(acr.server) -RepoPrefix $(stagingRepoPrefix) -ImageInfoPath $(artifactsPath)/image-info/image-info.json"
20
- else
21
- optionalTestArgs="$optionalTestArgs -IsLocalRun"
19
+ optionalTestArgs="$optionalTestArgs -PullImages -Registry $(acr.server) -RepoPrefix $(stagingRepoPrefix) -ImageInfoPath $(artifactsPath)/image-info/image-info.json"
22
20
fi
23
21
echo "##vso[task.setvariable variable=optionalTestArgs]$optionalTestArgs"
24
22
displayName : Set Test Variables
Original file line number Diff line number Diff line change 7
7
displayName : Docker login
8
8
- powershell : |
9
9
if ("${{ eq(variables['System.TeamProject'], 'public') }}" -eq "False") {
10
- $optionalTestArgs="-Registry $env:ACR_SERVER -RepoPrefix $env:STAGINGREPOPREFIX -ImageInfoPath $(artifactsPath)/image-info/image-info.json"
11
- } else {
12
- $optionalTestArgs="-IsLocalRun"
13
- }
10
+ $optionalTestArgs="$optionalTestArgs -PullImages -Registry $env:ACR_SERVER -RepoPrefix $env:STAGINGREPOPREFIX -ImageInfoPath $(artifactsPath)/image-info/image-info.json"
11
+ }
14
12
if ($env:REPOTESTARGS) {
15
13
$optionalTestArgs += " $env:REPOTESTARGS"
16
14
}
Original file line number Diff line number Diff line change 12
12
[string ]$Registry ,
13
13
[string ]$RepoPrefix ,
14
14
[switch ]$DisableHttpVerification ,
15
- [switch ]$IsLocalRun ,
15
+ [switch ]$PullImages ,
16
16
[string ]$ImageInfoPath
17
17
)
18
18
You can’t perform that action at this time.
0 commit comments