Skip to content

Commit 2c04f44

Browse files
authored
Sync eng/common directory with azure-sdk-tools for PR 1748 (#19567)
* Simplify Ubuntu image name check for dns bypass
1 parent f65d26f commit 2c04f44

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

eng/common/pipelines/templates/steps/bypass-local-dns.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ steps:
66
condition: |
77
and(
88
succeededOrFailed(),
9-
or(
10-
eq(variables['OSVmImage'], 'ubuntu-18.04'),
11-
eq(variables['OSVmImage'], 'ubuntu-20.04'),
12-
eq(variables['OSVmImage'], 'MMSUbuntu18.04'),
13-
eq(variables['OSVmImage'], 'MMSUbuntu20.04')
14-
),
9+
contains(variables['OSVmImage'], 'ubuntu'),
1510
eq(variables['Container'], '')
1611
)

0 commit comments

Comments
 (0)