Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/boulder-fetch.sh')
-rwxr-xr-xtests/boulder-fetch.sh38
1 files changed, 0 insertions, 38 deletions
diff --git a/tests/boulder-fetch.sh b/tests/boulder-fetch.sh
deleted file mode 100755
index a06d37325..000000000
--- a/tests/boulder-fetch.sh
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/bash
-# Download and run Boulder instance for integration testing
-set -xe
-
-# Clone Boulder into a GOPATH-style directory structure even if Go isn't
-# installed, because Boulder's docker-compose.yml file wll look for it there.
-export GOPATH=${GOPATH:-$HOME/gopath}
-BOULDERPATH=${BOULDERPATH:-$GOPATH/src/github.com/letsencrypt/boulder}
-if [ ! -d ${BOULDERPATH} ]; then
- git clone --depth=1 https://github.com/letsencrypt/boulder ${BOULDERPATH}
-fi
-
-cd ${BOULDERPATH}
-
-# Since https://github.com/letsencrypt/boulder/commit/92e8e1708a725e9d08a5da2f4a7132320ed2158b,
-# Boulder support for tls-sni-01 challenges is disabled. We still need to support it until this
-# challenge is officially removed from ACME CA server on production, and also removed from Certbot.
-# This sed command reactivate tls-sni-01 challenges inplace temporarily.
-sed -i 's/tls-alpn-01/tls-sni-01/g' test/config/ra.json
-
-docker-compose up -d boulder
-
-set +x # reduce verbosity while waiting for boulder
-for n in `seq 1 150` ; do
- if curl http://localhost:4000/directory 2>/dev/null; then
- break
- else
- sleep 1
- fi
-done
-
-if ! curl http://localhost:4000/directory 2>/dev/null; then
- echo "timed out waiting for boulder to start"
- exit 1
-fi
-
-# Setup the DNS resolution used by boulder instance to docker host
-curl -X POST -d '{"ip":"10.77.77.1"}' http://localhost:8055/set-default-ipv4