-
Hi all 👋 Started using devlake about a week ago to gather DORA metrics from our ArgoCD instances. Configured ArgoCD notifications to send webhooks to devlake. Our argos are running multi-source applications so our applications can have repo URLs coming from different git platforms or repo names. When theres a change from a single repo and a sync happens argo returns with a list of repos URLs and there is no differentiator on what repo the new revision came from. Sometimes changes can come from multiple repos and that can result in multiple shas as well. Dev lake only supports single repo URLs and commit sha. So i am wondering how others are dealing with this, if any? Feel like devlake is the wrong tool for tracking deployments on argocd multisource apps. ty |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
Hi, @gespi1 . I think you are right about the By the latest definition:
However, The With that being said, I think we should either update the @Startrekzky Would like to hear from you. |
Beta Was this translation helpful? Give feedback.
-
Hi @gespi1 . The current payload schema for the deployment webhook is
Do you want something like this?
|
Beta Was this translation helpful? Give feedback.
-
Hi @gespi1 , I created #6262. Let me know if this solution will solve your problem. |
Beta Was this translation helpful? Give feedback.
-
Wow this is amazing, the team hopped on this pretty quickly! Thanks Some feedback. Sometimes an argo multisource app only one source is being changed and there will only be one commit sha to provide for the webhook. In this case would we leave the other Would using How would lead time be calculated when multiple source have changes and vary in time differences. take the average? thanks |
Beta Was this translation helpful? Give feedback.
@Startrekzky I think it should be: