2 Commits

Author SHA1 Message Date
c8ac225800 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 8s
2025-07-09 23:33:36 +00:00
83e6cd027a fix script
Some checks failed
lint-test-helm / helm-lint (push) Successful in 11s
process-issues / process-issues (push) Failing after 7s
process-pull-requests / process-pull-requests (push) Successful in 14s
renovate / renovate (push) Successful in 1m44s
2025-07-09 18:32:31 -05:00

View File

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