Cleanup should remove everyting that is not used
This commit is contained in:
parent
d7b9e1ce0a
commit
5d65d1042d
@ -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';
|
||||||
|
Reference in New Issue
Block a user