From 571366f71bd1d76934959ba33ce7ef2ee07649a3 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 21 May 2019 10:33:19 -0700 Subject: [PATCH] Attempt to enable IPv6 for Linux --- .azure-pipelines/steps/run.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.azure-pipelines/steps/run.yml b/.azure-pipelines/steps/run.yml index e697eb1c064..2d38920da88 100644 --- a/.azure-pipelines/steps/run.yml +++ b/.azure-pipelines/steps/run.yml @@ -37,6 +37,15 @@ steps: - template: install-windows-build-deps.yml +# Looks like docker containers have IPv6 disabled by default, so let's turn it +# on since libstd tests require it +- bash: | + set -e + echo '{"ipv6":true,"fixed-cidr-v6":"fd9a:8454:6789:13f7::/64"}' | sudo tee /etc/docker/daemon.json + sudo service docker restart + displayName: Enable IPv6 + condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux')) + # Check out all our submodules, but more quickly than using git by using one of # our custom scripts - bash: |