diff --git a/scripts/cleanup.pl b/scripts/cleanup.pl index 1c53283..26d2a57 100755 --- a/scripts/cleanup.pl +++ b/scripts/cleanup.pl @@ -41,10 +41,10 @@ chomp @dirs_out; # -- And remove obsolete imgages from # -- registry # --------------------------------------- -print "Cleaning up the container registry"; +print "Cleaning up the container registry\n"; foreach my $line (@builds_out) { - print "Checking if $line is in @commits_out"; + print "Checking if $line is in @commits_out\n\n"; if ( ! grep( /^$line$/, @commits_out ) ) { my $cmd = "curl -X 'DELETE' -s \"$gitea_api/$line\" -H 'accept: application/json' -u $gitea_user:$gitea_token || true"; print "Removing ${line}\n\n"; @@ -53,10 +53,10 @@ foreach my $line (@builds_out) } } -print "Cleaning up Minio"; +print "Cleaning up Minio\n"; foreach my $line (@dirs_out) { - print "Checking if $line is in @commits_out"; + print "Checking if $line is in @commits_out\n\n"; if ( ! grep( /^$line$/, @commits_out ) ) { my $cmd = "rclone purge badhouseplants-minio:/badhouseplants-net/$line"; print "Removing ${line}\n\n";