diff --git a/ci/templates/exec.sh b/ci/templates/exec.sh new file mode 100644 index 0000000..c5dd47f --- /dev/null +++ b/ci/templates/exec.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +# Make Bash Great Again +set -o errexit # exit when a command fails. +set -o nounset # exit when using undeclared variables +set -o pipefail # catch non-zero exit code in pipes +# set -o xtrace # uncomment for bug hunting + +docker exec -it pywb-test-pywb-1 bash \ No newline at end of file diff --git a/ci/templates/logs.sh b/ci/templates/logs.sh new file mode 100644 index 0000000..28382ec --- /dev/null +++ b/ci/templates/logs.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +# Make Bash Great Again +set -o errexit # exit when a command fails. +set -o nounset # exit when using undeclared variables +set -o pipefail # catch non-zero exit code in pipes +# set -o xtrace # uncomment for bug hunting + +docker-compose -f {{ pywb_dir }}/docker-compose-{{ env }}.yaml -p pywb-{{ env }} logs pywb -f \ No newline at end of file