fix: ingore root folder
All checks were successful
lint-test-helm / lint-helm (pull_request) Successful in 1m0s
lint-test-helm / validate-kubeconform (pull_request) Successful in 2m24s
render-manifests / render-manifests (pull_request) Successful in 2m15s

This commit is contained in:
2026-04-07 10:36:27 -05:00
parent 4203b2e7bc
commit 53b1032d3c

View File

@@ -22,8 +22,8 @@ data:
echo ">> Backups prior to '$DATE_RANGE' will be removed"; echo ">> Backups prior to '$DATE_RANGE' will be removed";
echo ""; echo "";
FILES=$(s3cmd ls --no-check-certificate ${BUCKET}/cl01tl/etcd/ | FILES=$(s3cmd ls --no-check-certificate "${BUCKET}/cl01tl/etcd/" | \
awk -v file_match="$FILE_MATCH" '$4 < file_match {print $4}'); awk -v file_match="$FILE_MATCH" '$4 < file_match && $4 !~ /\/$/ {print $4}')
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo ""; echo "";