Skip to content

Commit

Permalink
Ensure bypass conditional template gets run for 1es ubuntu image (#1327)
Browse files Browse the repository at this point in the history
This fixes an issue where the DNS bypass workaround was not getting run for the new 1es pool ubuntu images.

FYI @mitchdenny @alzimmermsft @samvaity
  • Loading branch information
benbp authored Jan 21, 2021
1 parent a4f9b8c commit 89a4731
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion eng/common/pipelines/templates/steps/bypass-local-dns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ steps:
condition: |
and(
succeededOrFailed(),
eq(variables['OSVmImage'], 'ubuntu-18.04'),
or(
eq(variables['OSVmImage'], 'ubuntu-18.04'),
eq(variables['OSVmImage'], 'MMSUbuntu18.04')
),
eq(variables['Container'], '')
)

0 comments on commit 89a4731

Please sign in to comment.