mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 19:02:52 +02:00
A letsencrypt-auto upgrade test!
- should be run with --branch v0.1.0
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/bash -xe
|
||||||
|
|
||||||
|
# $OS_TYPE $PUBLIC_IP $PRIVATE_IP $PUBLIC_HOSTNAME $BOULDER_URL
|
||||||
|
# are dynamically set at execution
|
||||||
|
|
||||||
|
cd letsencrypt
|
||||||
|
#git checkout v0.1.0 use --branch instead
|
||||||
|
SAVE="$PIP_EXTRA_INDEX_URL"
|
||||||
|
unset PIP_EXTRA_INDEX_URL
|
||||||
|
./letsencrypt-auto -v --debug --version
|
||||||
|
|
||||||
|
export PIP_EXTRA_INDEX_URL="$SAVE"
|
||||||
|
|
||||||
|
if ! ./letsencrypt-auto -v --debug --version | grep 0.1.1 ; then
|
||||||
|
echo upgrade appeared to fail
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
echo upgrade appeared to be successful
|
||||||
Reference in New Issue
Block a user