...

Text file src/github.com/Azure/azure-sdk-for-go/eng/common/pipelines/templates/steps/bypass-local-dns.yml

Documentation: github.com/Azure/azure-sdk-for-go/eng/common/pipelines/templates/steps

     1
     2steps:
     3    # https://github.com/actions/virtual-environments/issues/798
     4    - script: sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
     5      displayName: Bypass local DNS server to workaround issue resolving cognitiveservices names
     6      condition: |
     7        and(
     8          succeededOrFailed(),
     9          contains(variables['OSVmImage'], 'ubuntu'),
    10          eq(variables['Container'], '')
    11        )

View as plain text