mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 07:42:08 -04:00
error if not in CI
This commit is contained in:
parent
95512047a8
commit
9352aadf81
1 changed files with 5 additions and 0 deletions
|
|
@ -1,6 +1,11 @@
|
|||
#!/bin/bash
|
||||
set -ex
|
||||
|
||||
if [[ -z "$TRAVIS" ]]; then
|
||||
echo "This script makes global changes to the system it is run on so should only be run in CI."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
sudo /snap/bin/lxd.migrate -yes
|
||||
sudo /snap/bin/lxd waitready
|
||||
sudo /snap/bin/lxd init --auto
|
||||
|
|
|
|||
Loading…
Reference in a new issue