build: ArgoCD is pruning resource when syncing now
Issue: https://git.badhouseplants.net/badhouseplants/badhouseplants-net/issues/31
This commit is contained in:
parent
bbfa15e45e
commit
58c3c039c9
@ -38,7 +38,7 @@ print `yq -i '.spec.source.helm.values = load_str("/tmp/values.yaml")' /tmp/appl
|
|||||||
|
|
||||||
if(!defined $ENV{DEPLOY_SCRIPT_DEBUG}){
|
if(!defined $ENV{DEPLOY_SCRIPT_DEBUG}){
|
||||||
print `argocd app create -f /tmp/application.yaml --upsert` or die $!;
|
print `argocd app create -f /tmp/application.yaml --upsert` or die $!;
|
||||||
print `argocd app sync -l application=badhouseplants -l branch=$git_branch` or die $!;
|
print `argocd app sync --prune -l application=badhouseplants -l branch=$git_branch` or die $!;
|
||||||
print `argocd app wait -l application=badhouseplants -l branch=$git_branch` or die $!;
|
print `argocd app wait -l application=badhouseplants -l branch=$git_branch` or die $!;
|
||||||
}
|
}
|
||||||
# ----------------------------------
|
# ----------------------------------
|
||||||
|
Reference in New Issue
Block a user