diff --git a/infrastructure/backup/image/resources/backup.sh b/infrastructure/backup/image/resources/backup.sh index 3774bdf..e9a955e 100755 --- a/infrastructure/backup/image/resources/backup.sh +++ b/infrastructure/backup/image/resources/backup.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -eux +set -eux pipefail function main() { file_env AWS_ACCESS_KEY_ID diff --git a/infrastructure/backup/image/resources/entrypoint.sh b/infrastructure/backup/image/resources/entrypoint.sh index ff3cdf7..fdd46cb 100755 --- a/infrastructure/backup/image/resources/entrypoint.sh +++ b/infrastructure/backup/image/resources/entrypoint.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -eux +set -eux pipefail function main() { create-pg-pass diff --git a/infrastructure/backup/image/resources/init.sh b/infrastructure/backup/image/resources/init.sh index c3b5d40..5def4aa 100755 --- a/infrastructure/backup/image/resources/init.sh +++ b/infrastructure/backup/image/resources/init.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -eux +set -eux pipefail function main() { file_env AWS_ACCESS_KEY_ID diff --git a/infrastructure/backup/image/resources/install.sh b/infrastructure/backup/image/resources/install.sh index 9b92c43..b366fbf 100755 --- a/infrastructure/backup/image/resources/install.sh +++ b/infrastructure/backup/image/resources/install.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -eux +set -eux pipefail apt-get update > /dev/null; diff --git a/infrastructure/backup/image/resources/restic-snapshots.sh b/infrastructure/backup/image/resources/restic-snapshots.sh index ad739de..0190e5b 100755 --- a/infrastructure/backup/image/resources/restic-snapshots.sh +++ b/infrastructure/backup/image/resources/restic-snapshots.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -eux +set -eux pipefail function main() { file_env AWS_ACCESS_KEY_ID diff --git a/infrastructure/backup/image/resources/restore.sh b/infrastructure/backup/image/resources/restore.sh index c7f1520..91a35a1 100755 --- a/infrastructure/backup/image/resources/restore.sh +++ b/infrastructure/backup/image/resources/restore.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -eux +set -eux pipefail function main() {