15 lines
575 B
Bash
15 lines
575 B
Bash
#!/bin/sh
|
|
set -eu
|
|
set -o pipefail
|
|
. infra/local/scripts/common.sh
|
|
. infra/local/scripts/secrets.sh
|
|
case "${1:-}" in
|
|
images) . infra/local/scripts/images.sh; images;;
|
|
up) . infra/local/scripts/bootstrap.sh; up;;
|
|
email) . infra/local/scripts/bootstrap.sh; email;;
|
|
verify|verify-infra) . infra/local/scripts/verify.sh; existing; infrastructure; if [ "$1" = verify ]; then product; fi;;
|
|
rotation) . infra/local/scripts/verify.sh; . infra/local/scripts/rotation.sh; existing; rotation;;
|
|
test) sh infra/local/scripts/test.sh;;
|
|
*) fail 'Unknown local tooling command';;
|
|
esac
|