Fix tempalte
This commit is contained in:
@ -373,4 +373,9 @@ And now let's create a job like that:
|
||||
from_secret: ARGOCD_AUTH_TOKEN
|
||||
commands:
|
||||
- argocd app sync -l app=badhouseplants -l branch=$DRONE_BRANCH
|
||||
```
|
||||
- argocd app wait -l app=badhouseplants -l branch=$DRONE_BRANCH
|
||||
```
|
||||
|
||||
And the last step would be to remove an application when branch is removed.
|
||||
|
||||
> Also, I've found out that `ArgoCD` won't remove a namespace if it was created by a `SyncPolicy`, so I've added it to the helm chart, and add a new `value` to provide a name.
|
Reference in New Issue
Block a user