Cleanup should remove everyting that is not used

This commit is contained in:
Nikolai Rodionov 2023-04-24 17:09:23 +02:00
parent d7b9e1ce0a
commit 5d65d1042d
No known key found for this signature in database
GPG Key ID: 19DB54039EBF8F10

View File

@ -26,7 +26,7 @@ chomp @builds_out;
# --------------------------------------- # ---------------------------------------
# -- Get a list of all commits + 'latest' # -- Get a list of all commits + 'latest'
# --------------------------------------- # ---------------------------------------
my $commits = "git fetch && git log --format=format:%H --all"; my $commits = "argocd app list -o yaml -l application=badhouseplants | yq '.[].metadata.labels.commit_sha'";
my @commits_out = `$commits`; my @commits_out = `$commits`;
chomp @commits_out; chomp @commits_out;
push @commits_out, 'latest'; push @commits_out, 'latest';