mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
4 lines
537 B
YAML
4 lines
537 B
YAML
- when: app.status.operationState != nil and app.status.operationState.phase in ['Succeeded'] and app.status.health.status == 'Healthy' and (!time.Parse(app.status.health.lastTransitionTime).Add(1 * time.Minute).Before(time.Parse(app.status.operationState.finishedAt)) or time.Parse(app.status.health.lastTransitionTime).Before(time.Parse(app.status.operationState.startedAt)))
|
|
description: Application is synced and healthy. Triggered once per commit.
|
|
send: [app-deployed]
|
|
oncePer: app.status.operationState?.syncResult?.revision
|