Exclude bypass-local-dns step when a container variable is specified (#1011)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
This commit is contained in:
parent
85fb3e3530
commit
84b76c30d4
@ -3,4 +3,9 @@ steps:
|
||||
# https://github.com/actions/virtual-environments/issues/798
|
||||
- script: sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
|
||||
displayName: Bypass local DNS server to workaround issue resolving cognitiveservices names
|
||||
condition: and(succeededOrFailed(), eq(variables['OSVmImage'], 'ubuntu-18.04'))
|
||||
condition: |
|
||||
and(
|
||||
succeededOrFailed(),
|
||||
eq(variables['OSVmImage'], 'ubuntu-18.04'),
|
||||
eq(variables['Container'], '')
|
||||
)
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
parameters:
|
||||
parameters:
|
||||
OSVmImage: $(OSVmImage)
|
||||
|
||||
steps:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user