You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
Originally posted by wayttjl October 25, 2021
On-deployed will be triggered when app.status.health.status is 'Progressing'
Here below is our on-deployed trigger:
trigger.on-deployed: |
- description: Application is synced and healthy. Triggered once per commit.
oncePer: app.metadata.annotations["imageversion"]
send:
- app-deployed
when: app.status.operationState.phase in ['Succeeded'] and time.Now().Sub(time.Parse(app.status.operationState.startedAt)).Minutes() >= 2 and app.status.health.status == 'Healthy'
And our application's configuration looks like this:
In my case,after the app's sync succeeded,on the argocd web console the app.status.operationState.phase was 'Succeeded',and app.status.health.status was 'Progressing',but the on-deployed still has been triggered.
It seems that the trigger's configuration did not work as our expected.
My environment:
EKS:1.21
Argocd:quay.io/argoproj/argocd:v2.1.5
Argocd notification:argocd-notifications:v1.1.0
I don't know whether I made wrong configuration somewhere
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Discussed in #352
Originally posted by wayttjl October 25, 2021
On-deployed will be triggered when app.status.health.status is 'Progressing'
Here below is our on-deployed trigger:
And our application's configuration looks like this:
In my case,after the app's sync succeeded,on the argocd web console the app.status.operationState.phase was 'Succeeded',and app.status.health.status was 'Progressing',but the on-deployed still has been triggered.
It seems that the trigger's configuration did not work as our expected.
My environment:
EKS:1.21
Argocd:quay.io/argoproj/argocd:v2.1.5
Argocd notification:argocd-notifications:v1.1.0
I don't know whether I made wrong configuration somewhere
The text was updated successfully, but these errors were encountered: