mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
5 lines
537 B
YAML
5 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
|