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
Please add gogs hook processing to argocd-notifications-controller.
Now If you use such hook type in argocd-notifications-controller (not in argocd-server), you get error 400 (with the next error message: Webhook processing failed: json: cannot unmarshal string into Go struct field .repository.created_at of type int64)
Useful discussion link here where people discussed topic with webhook processing in both argocd-notifications-controller and argocd-server.
As I see from code here and here, now argocd-notifications-controller can use only 3 types of hooks (gitlab, github, azuredevops) while argocd-server can use more types (azuredevops, bitbucket, github, gitlab, gogs)
I think it will be a good idea to make webhook processing the same in both applications.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello!
Please add gogs hook processing to argocd-notifications-controller.
Now If you use such hook type in argocd-notifications-controller (not in argocd-server), you get error 400 (with the next error message: Webhook processing failed: json: cannot unmarshal string into Go struct field .repository.created_at of type int64)
Useful discussion link here where people discussed topic with webhook processing in both argocd-notifications-controller and argocd-server.
As I see from code here and here, now argocd-notifications-controller can use only 3 types of hooks (gitlab, github, azuredevops) while argocd-server can use more types (azuredevops, bitbucket, github, gitlab, gogs)
I think it will be a good idea to make webhook processing the same in both applications.
Beta Was this translation helpful? Give feedback.
All reactions