We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 944829c commit 2436261Copy full SHA for 2436261
entrypoint.sh
@@ -1,4 +1,5 @@
1
#!/bin/bash
2
+set -eo pipefail
3
4
backup_tool="/google-cloud-sdk/bin/gsutil"
5
backup_options="-m rsync -r"
@@ -21,10 +22,6 @@ if [ ! -z "$GOOGLE_APPLICATION_CREDENTIALS" ]; then
21
22
/google-cloud-sdk/bin/gcloud auth activate-service-account --key-file=$GOOGLE_APPLICATION_CREDENTIALS
23
fi
24
-# verify gs config - ls bucket
25
-$backup_tool ls "gs://${GS_URL%%/*}" > /dev/null
26
-echo "Google storage bucket access verified."
27
-
28
mkdir -p /tmp/backup/
29
rm -rf -- /tmp/backup/*
30
0 commit comments