1 Commits

Author SHA1 Message Date
5f9cee2d25 Update ghcr.io/moghtech/komodo-core Docker tag to v1.18.4
All checks were successful
lint-test-helm / helm-lint (pull_request) Successful in 9s
2025-07-09 23:23:45 +00:00

View File

@@ -227,14 +227,14 @@ backup:
export FILE_MATCH="$BUCKET/cl01tl/gitea-backup-$DATE_RANGE-09-00.zip" export FILE_MATCH="$BUCKET/cl01tl/gitea-backup-$DATE_RANGE-09-00.zip"
echo ">> Running S3 prune for Gitea backup repository" echo ">> Running S3 prune for Gitea backup repository"
echo ">> Backups prior to '$DATE_RANGE' will be removed" echo ">> Backups prior to '$DATE_RANGE' will be removed"
echo ">> Backups to be removed:" echo ">> File list:"
s3cmd ls ${BUCKET}/cl01tl/ | s3cmd ls ${BUCKET}/cl01tl/
awk file_match="$FILE_MATCH" '$4 < file_match {print $4}'
echo ">> Deleting ..." echo ">> Deleting ..."
s3cmd ls ${BUCKET}/cl01tl/ | s3cmd ls ${BUCKET}/cl01tl/ |
awk file_match="$FILE_MATCH" '$4 < file_match {print $4}' | awk file_match="$FILE_MATCH" '$4 < file_match {print $4}' |
while read file; do while read file;
s3cmd del "$file"; do s3cmd del "$file";
echo ">> Deleted $file";
done; done;
echo ">> Completed S3 prune for Gitea backup repository" echo ">> Completed S3 prune for Gitea backup repository"
env: env: