You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "1ddo (via GitHub)" <gi...@apache.org> on 2023/07/14 05:24:07 UTC
[GitHub] [incubator-devlake] 1ddo opened a new issue, #5207: [Feature] ArgoCD Integration
1ddo opened a new issue, #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar feature requirement.
### Use case
Most of our CD are done with Kubernetes ArgoCD and we wanted to add this data connection to DevLake so we could leverage DORA for our deployment frequency.
### Description
Add Kubernetes ArgoCD as new data connection to DevLake
### Related issues
_No response_
### Are you willing to submit a PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "rbstp (via GitHub)" <gi...@apache.org>.
rbstp commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3506563211
The URL does expect to have the `/api/v1` appended to it, it is shown when you add a connection in the sample URL. I had not tried without it to be honest, but we can make it clearer. I also need to produce the associated documentation.
Apart from that hurdle, did you encounter any other issues, or is it working correctly?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "rbstp (via GitHub)" <gi...@apache.org>.
rbstp commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3383673177
If we want to reopen this issue, I can look into implementing it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [devlake]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #5207:
URL: https://github.com/apache/devlake/issues/5207#issuecomment-5723217787
This issue has been automatically marked as stale because it has been inactive for 60 days. It will be closed in next 7 days if no further activity occurs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] 1ddo commented on issue #5207: [Feature][Module Name] ArgoCD Integration
Posted by "1ddo (via GitHub)" <gi...@apache.org>.
1ddo commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1552916672
Hi @klesh, thanks for the advice. Will try to set up a WSL2
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "d4x1 (via GitHub)" <gi...@apache.org>.
d4x1 commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-2053701011
> ```shell
> /api/rest/plugins/webhook/1/deployment
> ```
Check your API key `abc123` 's allowed path config.
I think the regexp you configed cannot match `/api/rest/plugins/webhook/1/deployments`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-2146763037
> Is there anyway to give repo url dynamically also? because we are using almost 300 repos and im not sure how to configure it
No, not that I known of.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "thiDucTran (via GitHub)" <gi...@apache.org>.
thiDucTran commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-2071721048
this is what I ended up with..I hope someone else may be can come up with a better way... for `hash` or commit sha of your app.. it is just a matter of having the annotation in your defined argocd app....also don't forget to also add more annotations to subscribe to your defined triggers.... as for devlake integration or having devlake doing all this... I'm not sure how you would go about it
```yaml
template.devlake-commit-status: |
webhook:
devlake:
method: POST
path: /api/plugins/webhook/connections/1/deployments
body: |
{
{{if eq .app.status.health.status "Healthy"}} "result": "SUCCESS"{{end}}
{{if ne .app.status.health.status "Healthy"}} "result": "FAILURE"{{end}},
"repo_url": "https://yourUrlHere",
"commit_sha": "{{.app.metadata.annotations.hash}}",
"commit_msg": "optional-commit-message",
"start_time": "{{.app.status.operationState.startedAt}}",
"end_time": "{{.app.status.operationState.finishedAt}}",
"environment": "PRODUCTION"
}
trigger.on-deployed: |
- when: app.status.operationState.phase in ['Succeeded'] and app.status.health.status != ''
send: [devlake-commit-status]
trigger.on-health-degraded: |
- when: app.status.operationState.phase in ['Succeeded'] and app.status.health.status != ''
send: [devlake-commit-status]
trigger.on-sync-succeeded: |
- when: app.status.operationState.phase in ['Succeeded'] and app.status.health.status != ''
send: [devlake-commit-status]
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "rbstp (via GitHub)" <gi...@apache.org>.
rbstp commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3488831105
@jekader My pleasure! To be frank, I only have access to a PoC instance I put in place during a hackathon, so we did not make much use of the RBAC rules. I used the default admin account, and granted it the `apiKey` capability to be able to generate one.
Quickly looking at them, we only need to be able to get the applications. Assuming you name the user `devlake`, and you want to be able to read all the projects:
```
p, devlake, applications, get, *, allow
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "gabriel-suela (via GitHub)" <gi...@apache.org>.
gabriel-suela commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3427124818
@rbstp the plugin doest not support applications created by applicationsets?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "rbstp (via GitHub)" <gi...@apache.org>.
rbstp commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3891369962
sorry I was away for a while. I checked both changes, both look good! Thanks for the contribution.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "abdonrd (via GitHub)" <gi...@apache.org>.
abdonrd commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3880407720
Thanks @bernard0le!
With that change, the tables I found that have `argocd` in the name are:
- `_tool_argocd_applications` (1 row, the application `project-name-production` I selected)
- `_tool_argocd_connections` (1 row, the endpoint & token)
- `_tool_argocd_revision_images` (**1 row**)
- `_tool_argocd_scope_configs` (1 row, default config)
- `_tool_argocd_sync_operations` (**11 rows**)
- **`_raw_argocd_api_sync_operations`** (**11 rows**)
Also **`cicd_deployments`** has **11 rows** now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] klesh commented on issue #5207: [Feature][Module Name] ArgoCD Integration
Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1552373210
@1ddo Hi, I see you checked the **Yes I am willing to submit a PR!**, would you like to work on it? If so, we could assign the issue to you and you can start working on it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] github-actions[bot] commented on issue #5207: [Feature][Module Name] ArgoCD Integration
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1612266127
This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] klesh commented on issue #5207: [Feature][Module Name] ArgoCD Integration
Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1552514634
@1ddo Hi, I'm using Windows too because of Feishu(Good collaborative software but lousy Linux support). Sadly, development in Native Windows is not supported, I am using WSL2, which is practically an Ubuntu Linux environment in conjunction with VSCode Remote WSL plugin, you may take a look, it is a far superior development experience than Native Windows.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] klesh commented on issue #5207: [Feature][Module Name] ArgoCD Integration
Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1556902841
@1ddo I'm confused, are you trying to code for `devlake` or just use it to collect and observe data?
For the former, you don't need the `docker-compose` for bringing up `devlake` and `config-ui`, please follow this guide to setup the Development Env https://devlake.apache.org/docs/next/DeveloperManuals/DeveloperSetup
For the latter, don't use the `docker-compose.yml` from the repo, download the one from the release page.
The error message seems like a network problem
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "vkovacik (via GitHub)" <gi...@apache.org>.
vkovacik commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-4315123630
@rbstp
I’m working on accurately measuring Lead Time for Changes for a service delivered via Docker images.
As of DevLake v1.3.0, the ArgoCD plugin appears to rely solely on the deployment repository to infer what changes were released. Unless I’m overlooking something, it doesn’t currently establish a linkage between a Docker image tag and its corresponding source repository commits.
For example, if one deployment uses app-image:v1.0 and the subsequent deployment uses app-image:v1.1, we need a way to resolve the set of source commits between those two image versions. That mapping doesn’t seem to be available out of the box. I’m exploring potential approaches to bridge this gap and would greatly value any suggestions.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "thiDucTran (via GitHub)" <gi...@apache.org>.
thiDucTran commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-2046670627
hi team, while I understand that the [`API References`](https://devlake.apache.org/docs/Overview/References/) are available.....can someone provide a list of RESTful APIs related to DORA? specifically anything that is deleted to deployments (relating to ArgoCD)...this is an attempt to do a proof of concept as described in https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1958832175
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "KelvinVenancio (via GitHub)" <gi...@apache.org>.
KelvinVenancio commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-2075976973
thanks, @thiDucTran, I was searching for exactly that. I'll give back here soon with the feedback.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "d4x1 (via GitHub)" <gi...@apache.org>.
d4x1 commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1953845936
Can Applications in ArgoCD be related to Azure Repos ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "mars-esther (via GitHub)" <gi...@apache.org>.
mars-esther commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-2149373890
@thiDucTran thank you so much for your elaborated answer. Since i am new to devlake, im not sure how to verify if the data has been sent to devlake . Is there a way to verify the data received from argocd in devlake
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] 1ddo commented on issue #5207: [Feature][Module Name] ArgoCD Integration
Posted by "1ddo (via GitHub)" <gi...@apache.org>.
1ddo commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1553320221
Hi @klesh , do you know the reason why I don't have a Project menu in my config-ui:4000? I only see Data Connections, Blue Print, Disabled button for Connection and Dashboard menu options?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] KlemenDanfoss commented on issue #5207: [Feature] ArgoCD Integration
Posted by "KlemenDanfoss (via GitHub)" <gi...@apache.org>.
KlemenDanfoss commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1722903869
What's the status on this?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "YuseopKim (via GitHub)" <gi...@apache.org>.
YuseopKim commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1956706644
In my opinion, to use ArgoCD, DevLake needs to make a relationship between deployment repository (for manifests) and application repository (for source codes).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "nirmaljeet-singh-groww (via GitHub)" <gi...@apache.org>.
nirmaljeet-singh-groww commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1870061540
Any idea when can this be releasesd for integration with argocd?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-2381035524
This issue has been automatically marked as stale because it has been inactive for 60 days. It will be closed in next 7 days if no further activity occurs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "thiDucTran (via GitHub)" <gi...@apache.org>.
thiDucTran commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1953797495
i think the issue, for us, is that our ArgoCD auto sync and deploys based on non-application repos... meaning there needs to be a way to correlate the fact that an ArgoCD deployment was a deployment of which app, which commit of that app etc..
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "riskpeep (via GitHub)" <gi...@apache.org>.
riskpeep commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3538904687
Wow! That is so fast. Thank you!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "d4x1 (via GitHub)" <gi...@apache.org>.
d4x1 commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3420790313
@klesh @gabriel-suela https://github.com/apache/incubator-devlake/releases/tag/v1.0.3-beta7
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "thiDucTran (via GitHub)" <gi...@apache.org>.
thiDucTran commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1958832175
> In my opinion, to use ArgoCD, DevLake needs to make a relationship between deployment repository commit (for manifests) and application repository commit (for source codes).
im thinking about the same. one way that i can think of is this flow:
1. CI tool (jenkins, tekton, any CI tool) builds from application and produces a docker image. the same CI tool would create a PR to update deployment repo to update the docker image of manifest(s); when creating the PR ...we can put the commit hash of the app's repo? this is because when ArgoCD deploys the new docker image ..it can parse to get that commit hash and `POST` it to devlake via webhook?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "thiDucTran (via GitHub)" <gi...@apache.org>.
thiDucTran commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-2068859721
this is what I have to far...there is one thing about `commit_sha` and how we can pass this info to ArgoCD..can we use some sort of annotation from the ArgoCD Application itself? will continue to test
```yaml```
apiVersion: v1
kind: Secret
metadata:
name: argocd-notifications-secret
namespace: default
stringData:
devlake-basic-auth: 'foobar'
type: Opaque
---
# $devlake-basic-auth is from argocd-notifications-secret
apiVersion: v1
data:
context: |
argocdUrl:
service.webhook.devlake: |
url: http://apache-devlake-ui.infra.svc:4000
headers:
- name: Authorization
value: Basic $devlake-basic-auth
template.devlake-commit-status: |
webhook:
devlake:
method: POST
path: /api/plugins/webhook/connections/1/deployments
body: |
{
{{if eq .app.status.operationState.phase "Running"}} "result": "FAILURE"{{end}}
{{if eq .app.status.operationState.phase "Succeeded"}} "result": "SUCCESS"{{end}}
{{if eq .app.status.operationState.phase "Error"}} "result": "FAILURE"{{end}}
{{if eq .app.status.operationState.phase "Failed"}} "result": "FAILURE"{{end}},
"repo_url": "https://yourURLhere",
"commit_sha": "69ba6b8755848540c88577e4a5e23e14a5d63958",
"commit_msg": "optional-commit-message",
"start_time": "{{.app.status.operationState.startedAt}}",
"end_time": "{{.app.status.operationState.finishedAt}}",
"environment": "PRODUCTION"
}
trigger.on-deployed: |
- when: app.status.operationState.phase in ['Succeeded']
send: [devlake-commit-status]
trigger.sync-operation-change: |
- when: app.status.operationState.phase in ['Error', 'Failed']
send: [devlake-commit-status]
kind: ConfigMap
metadata:
labels:
app.kubernetes.io/component: notifications-controller
app.kubernetes.io/instance: argocd
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: argocd-notifications-controller
app.kubernetes.io/part-of: argocd
app.kubernetes.io/version: v2.9.9
argocd.argoproj.io/instance: argocd
helm.sh/chart: argo-cd-5.54.0
name: argocd-notifications-cm
namespace: default
---
# notice the annotations to subscribe to the webhook notification
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
annotations:
notifications.argoproj.io/subscribe.on-deployed.devlake: ""
notifications.argoproj.io/subscribe.sync-operation-change.devlake: "" name: thi-dora namespace: default
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "d4x1 (via GitHub)" <gi...@apache.org>.
d4x1 commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1953716255
@thiDucTran I think we should add an ArgoCD plugin and collect deployments(and other data) from ArgoCD, then we can combine data from AzureDevops and ArgoCD into one dashboard with some SQL.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] github-actions[bot] commented on issue #5207: [Feature][Module Name] ArgoCD Integration
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1601848635
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] klesh commented on issue #5207: [Feature][Module Name] ArgoCD Integration
Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1554223939
> Hi @klesh , do you know the reason why I don't have a Project menu in my config-ui:4000? I only see Data Connections, Blue Print, Disabled button for Connection and Dashboard menu options?
How did you launch `devlake` backend and `config-ui` ? Were you using the docker version for the `config-ui`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "rbstp (via GitHub)" <gi...@apache.org>.
rbstp commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3796906919
@antarasevich I'll have a look at the issue this week.
I am not sure if how thay Metric would be available, however. Do you have any suggestions?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3420720251
@d4x1 Could you help releasing a new `beta` when you find time, thanks.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "themadbit (via GitHub)" <gi...@apache.org>.
themadbit commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3922710436
> Perhaps a few weeks later. The release flow has changed after the graduation. The PPMC team will draft a new release flow and put it on the website soon.
Thanks, and congratulations on graduating. I'll join Slack
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "mars-esther (via GitHub)" <gi...@apache.org>.
mars-esther commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-2146746197
Is there anyway to give repo url dynamically also? because we are using almost 300 repos and im not sure how to configure it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "riskpeep (via GitHub)" <gi...@apache.org>.
riskpeep commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3537781398
I have setup the plugin and it correctly connected to our Argo instance.
It correctly pulled the list of applications.
When running in a pipeline, it correctly pulled deployments from Argo CD.
I did note two issues.
First, I was unable to configure the scope config in plugin details. When attempting to do so I got an error in the Web UI. Similarly, attempting to add a scope config got the same error.
Perhaps as a result of the above, the deployments were all attributed to TESTING, and not PRODUCTION. (this is probably correct since we connected our dev instance of Argo. The coffee seems to suggest that there's a regex to parse production deploys, but I was unable to configure that.
The DORA metrics showed 0 deployments, likely because of the environment detected was testing.
Second, the Grafana dashboard did not pick up the projects in the top left filter. I just had ALL as an option.
Overall though the data collection part seems to be working, which is fantastic.
I'm on 1.0.3-beta7, installed via helm.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "rbstp (via GitHub)" <gi...@apache.org>.
rbstp commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3538881414
@riskpeep thanks for the feedback, I made a PR to fix the issues: https://github.com/apache/incubator-devlake/pull/8642
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1797922706
@pratiyush05 you may create deployment via the [webhook plugin](https://devlake.apache.org/docs/Plugins/webhook#deployment) , but it actually are creating cicd_deployment_commit record.
We are planning to support multiple repos in the near future by https://github.com/apache/incubator-devlake/issues/6262
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1958459232
@YuseopKim We need a separate `repo` to host ArgoCD stuff, right? We can create one if someone is interested in working on it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-2244048335
PRs are welcome
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] abeizn commented on issue #5207: [Feature][Module Name] ArgoCD Integration
Posted by "abeizn (via GitHub)" <gi...@apache.org>.
abeizn commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1553888795
It should be that your version is not the latest, you can use [v0.17.0-beta5 ](https://github.com/apache/incubator-devlake/releases/tag/v0.17.0-beta5) version, the installation method can refer to here: https://devlake.apache.org/docs/next/GettingStarted/DockerComposeSetup
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] github-actions[bot] closed issue #5207: [Feature][Module Name] ArgoCD Integration
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #5207: [Feature][Module Name] ArgoCD Integration
URL: https://github.com/apache/incubator-devlake/issues/5207
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "antarasevich (via GitHub)" <gi...@apache.org>.
antarasevich commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-4404072073
@klesh Could you please tell when the next beta release is planned?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [devlake]
Posted by "avidspartan1 (via GitHub)" <gi...@apache.org>.
avidspartan1 commented on issue #5207:
URL: https://github.com/apache/devlake/issues/5207#issuecomment-5009177587
would hate to see this issue go stale. :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] mintsweet commented on issue #5207: [Feature][Module Name] ArgoCD Integration
Posted by "mintsweet (via GitHub)" <gi...@apache.org>.
mintsweet commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1550787694
hi @1ddo, thank you for your report.
We have received your information and will consider your needs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] 1ddo commented on issue #5207: [Feature][Module Name] ArgoCD Integration
Posted by "1ddo (via GitHub)" <gi...@apache.org>.
1ddo commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1554688198
I've been working all day with the upgrade, by default the version value for the config-ui, grafana and devlake is set to "latest" then I replaced it with the version "v0.17.0-beta5" then ran docker-compose up -d but after that I encountered lots of issues one after another like token, certificate issue, installing grafana cli and others. Till now I'm working with those issues. Did you encounter this issue before? I'm using WSL Ubuntu by the way.
For the Docker, I've connected my Docker Desktop to WSL Ubuntu and I have the latest Docker Desktop version and was able to run the 4 components (devlake, mysql, config-ui, grafana) but since I'm currently upgrading it to the latest version I haven't tried to run them again since I have a bunch of issues to work on.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] BrookeKatalon commented on issue #5207: [Feature][Module Name] ArgoCD Integration
Posted by "BrookeKatalon (via GitHub)" <gi...@apache.org>.
BrookeKatalon commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1554700274
I'm also interested in the ArgoCD connection
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] klesh commented on issue #5207: [Feature] ArgoCD Integration
Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1724863241
@KlemenDanfoss Under discussion, no plan or volunteer at this point 😂
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "testRedlink (via GitHub)" <gi...@apache.org>.
testRedlink commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-2256891663
I'm also interested in the ArgoCD connection.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "gabriel-suela (via GitHub)" <gi...@apache.org>.
gabriel-suela commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3415785704
> Once there is a new beta version, it should be available for testing!
Ty so much bro
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "rbstp (via GitHub)" <gi...@apache.org>.
rbstp commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3415778021
Once there is a new beta version, it should be available for testing!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "KyriosGN0 (via GitHub)" <gi...@apache.org>.
KyriosGN0 commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3836067570
@rbstp is there some docs on how to set up the argocd plugin ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "rbstp (via GitHub)" <gi...@apache.org>.
rbstp commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-4335504172
@antarasevich good fix, I just have a comment and there is a failing test to rectify.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-4474965925
> [@klesh](https://github.com/klesh) Could you please tell when the next beta release is planned?
We are working on some bugfixes, it might take a while to finish them all.
Hopefully in 2 weeks.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "pratiyush05 (via GitHub)" <gi...@apache.org>.
pratiyush05 commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1797894216
Hi @klesh ,we have a scenario with ArgoCD too.
We have multiple repos for a single project and then a single team repo . Team repo has image version and from here ArgoCD takes up image versions and do its deployment. So only this team repo's main HEAD commit_sha get noted in Devlake production deployment from ArgoCD webhook .
We would like to know how Devlake can club multiple repo deployments into a single deployment .
In our case , there shall multiple github repo in a Devlake project and a team repo present in multiple Devlake projects. Plus ArgoCD linked to a single team repo's main branch's HEAD commit .
Could you please suggest a project configuration for us ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "pratiyush05 (via GitHub)" <gi...@apache.org>.
pratiyush05 commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1798356887
Hi @klesh
<img width="706" alt="Screenshot 2023-11-07 at 4 56 27 PM" src="https://github.com/apache/incubator-devlake/assets/110039059/0473ff8d-2fee-45d6-ac4f-a0188f589bfc">
Above diagram shows our current setup .
So we would need to add github data connection in this way format -
Devlake_Proj_1 - Github Repo_1 + Repo_7
Devlake_Proj_2 - Github Repo_2 + Repo_7
Devlake_Proj_3 - Github Repo_3 + Repo_7
Devlake_Proj_4 - Github Repo_4 + Repo_7 ... total 6 Devlake_projs
My query is how to get deployments of Repo_1 to Repo_6 in their Devlake projects , so that the graph "Median Lead Time to Change" correctly get deployments from these repos too .
Since that graph first finds deployments in repos , then the commits and PRs of those commits .
So we would need commits from Repo_1 to Repo_6 in Devlake .
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] 1ddo commented on issue #5207: [Feature][Module Name] ArgoCD Integration
Posted by "1ddo (via GitHub)" <gi...@apache.org>.
1ddo commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1552411073
Hi @klesh , I'm currently working on it locally, I'm new to this stuff and I'm having difficulty in making devlake work locally in windows. Was able to run the components in Docker Windows however I'm getting API Down in the config UI (localhost:4000), the tutorial said just wait for a few minutes to let the API up and running but mines seems not working. Do you have any more docs on setting devlake locally using windows or any docs that could help me speed things up?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] github-actions[bot] commented on issue #5207: [Feature] ArgoCD Integration
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1676506771
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] gespi1 commented on issue #5207: [Feature] ArgoCD Integration
Posted by "gespi1 (via GitHub)" <gi...@apache.org>.
gespi1 commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1737976065
a requirement for the pluginshould be to support argocd multisource applications. Currently devlake takes in one value for repo_url. For argocd apps with mulitple sources the repourl returns a list of multiple `repoURL`'s
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "gabriel-suela (via GitHub)" <gi...@apache.org>.
gabriel-suela commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3382751186
Up
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "jekader (via GitHub)" <gi...@apache.org>.
jekader commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3495746682
Thanks! I added app read permissions, getting a 404 from argo when trying to set data scopes. Need to validate the request and token more closely since the connection works otherwise.
The error message is a bit confusing, sharing it here for reference:
```
HTTP 404 error
caused by: error decoding response from https://argocd.url/applications: raw response: \x1f\x8b\b\x00\x00\x00\x00\x00\x00\xff210Q(HLOU\xc8\xcb/QH\xcb/\xcdK\xe1\x02\x04\x00\x00\xff\xff\x16G\x95\xeb\x13\x00\x00\x00 (404)
Wraps: (2) invalid character '\\x1f' looking for beginning of value
Wraps: (3) invalid character '\\x1f' looking for beginning of value
Error types: (1) *hintdetail.withDetail (2) *hintdetail.withDetail (3) *json.SyntaxError"
```
Looks like this is returning a gzipped `404 page not found` string. Wonder why it's not getting decoded - I get it that a JSON is expected here but still strange to see the raw bytes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "antarasevich (via GitHub)" <gi...@apache.org>.
antarasevich commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3771973800
@rbstp Does argoCD plugin provide [Lead Time for Changes](https://devlake.apache.org/docs/Metrics/LeadTimeForChanges) ?
Is it possible to get it when app of apps is used?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "abdonrd (via GitHub)" <gi...@apache.org>.
abdonrd commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3843222503
I have been able to establish the connection with ArgoCD, and then connect it to an application:
| <img width="1549" height="1171" alt="Image" src="https://github.com/user-attachments/assets/f9ff85ad-0636-4aa1-bc95-40fe174dd42f" /> | <img width="1549" height="1171" alt="Image" src="https://github.com/user-attachments/assets/c9882943-7329-43d8-855a-383d7e712868" /> | <img width="1549" height="1171" alt="Image" src="https://github.com/user-attachments/assets/c41cfb6f-4fcc-45ae-a173-a2865adaa0d0" /> |
|---|---|---|
And then I click "Collect Data":
<img width="1549" height="1171" alt="Image" src="https://github.com/user-attachments/assets/e98c7455-118c-4005-97d4-a2344896b4e3" />
The pipeline succeeded, but the ArgoCD dashboard in Grafana is empty.
I checked table `cicd_deployments` and it is also empty.
And the tables I found that have `argocd` in the name are:
- `_tool_argocd_applications` (1 row, the application `project-name-production` I selected)
- `_tool_argocd_connections` (1 row, the endpoint & token)
- `_tool_argocd_revision_images` (empty)
- `_tool_argocd_scope_configs` (1 row, default config)
- `_tool_argocd_sync_operations` (empty)
When I open `https://argocd-url.com/api/v1/applications/project-name-production`, I can see 10 entries in `status.history`.
Am I missing anything? Thanks in advance!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [devlake]
Posted by "avidspartan1 (via GitHub)" <gi...@apache.org>.
avidspartan1 commented on issue #5207:
URL: https://github.com/apache/devlake/issues/5207#issuecomment-5729627271
remove stale please
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "thiDucTran (via GitHub)" <gi...@apache.org>.
thiDucTran commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1953696064
hi, i am willing to help in getting argocd supported. currently, we have a mixed setup as described below. for scm we uses azure repo. for CD, we uses both `ArgoCD` and `Azure DevOps` .. with argocd, planning to do https://argocd-notifications.readthedocs.io/en/stable/services/webhook/#send-form-data ..is this the right way to go about it?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "thiDucTran (via GitHub)" <gi...@apache.org>.
thiDucTran commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-2050985395
referencing https://devlake.apache.org/docs/Plugins/webhook/#deployment . I am making the REST call as below but is seeing the error: `{"success":false,"message":"path doesn't match api key's scope"}` ...what path is the error speaking of?
```bash
curl 'http://apache-devlake-ui.infra.svc:4000/api/rest/plugins/webhook/1/deployments' -X 'POST' -H 'Authorization: Bearer abc123' -d '{
"repo_url":"https://github.com/apache/incubator-devlake/",
"commit_sha":"015e3d3b480e417aede5a1293bd61de9b0fd051d",
"commit_msg":"optional-commit-message",
"start_time":"2020-01-01T12:00:00+00:00",
"end_time":"2020-01-02T13:00:00+00:00",
"result": "FAILURE"
}'
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] 1ddo commented on issue #5207: [Feature][Module Name] ArgoCD Integration
Posted by "1ddo (via GitHub)" <gi...@apache.org>.
1ddo commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1554713101
Hi @BrookeKatalon, are you willing to contribute with the ArgoCD development? If yes then we could collab with it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] 1ddo commented on issue #5207: [Feature][Module Name] ArgoCD Integration
Posted by "1ddo (via GitHub)" <gi...@apache.org>.
1ddo commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-1556948933
Hi @klesh , we need both since we need collect Data and observed data from ArgoCD but since it's not yet supported then we need to integrate it with DevLake. So don't we need to make DevLake work locally first before start coding, that way we could verify/test it later?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "DrFaust92 (via GitHub)" <gi...@apache.org>.
DrFaust92 commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-2256899035
[klesh](https://github.com/klesh) yes, ill try to get to it sometime this week
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "thiDucTran (via GitHub)" <gi...@apache.org>.
thiDucTran commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-2146830414
@mars-esther our argocd notification template ...we pass it in as arguments to our template . including repo url, env, webhook id, etc... see below
```yaml
apiVersion: v1
data:
context: |
argocdUrl:
service.webhook.devlake: |
url: http://apache-devlake-ui.infra.svc:4000
headers:
- name: Authorization
value: Basic $devlake-basic-auth
template.devlake-commit-status: |
webhook:
devlake:
method: POST
path: "/api/plugins/webhook/connections/{{.app.metadata.annotations.webhook}}/deployments"
body: |
{
{{if eq .app.status.health.status "Healthy"}} "result": "SUCCESS"{{end}}
{{if ne .app.status.health.status "Healthy"}} "result": "FAILURE"{{end}},
"id": "{{.app.metadata.annotations.pipeline}}",
"startedDate": "{{.app.status.operationState.startedAt}}",
"finishedDate": "{{.app.status.operationState.finishedAt}}",
"environment": "{{.app.metadata.annotations.env}}",
"deploymentCommits":[
{
"startedDate": "{{.app.status.operationState.startedAt}}",
"finishedDate": "{{.app.status.operationState.finishedAt}}",
"repoUrl": "{{.app.metadata.annotations.repo}}",
"commitSha": "{{.app.metadata.annotations.sha}}"
}
]
}
trigger.on-deployed: |
- when: app.status.operationState.phase in ['Succeeded'] and app.status.health.status != ''
send: [devlake-commit-status]
trigger.on-health-degraded: |
- when: app.status.operationState.phase in ['Succeeded'] and app.status.health.status != ''
send: [devlake-commit-status]
trigger.on-sync-succeeded: |
- when: app.status.operationState.phase in ['Succeeded'] and app.status.health.status != ''
send: [devlake-commit-status]
kind: ConfigMap
```
one of our argocd application
```yaml
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: dora-python-app-dev
namespace: default
finalizers:
- resources-finalizer.argocd.argoproj.io
annotations:
sha: 'ce7038198a4639dcaacce3cf076ebdf65c438641'
env: 'DEVELOPMENT'
pipeline: 'dora-python-app-dev'
repo: 'https://dev.azure.com/blah/foobar/_git/thi-test-dora-metrics'
webhook: '1'
notifications.argoproj.io/subscribe.on-deployed.devlake: ""
notifications.argoproj.io/subscribe.on-health-degraded.devlake: ""
notifications.argoproj.io/subscribe.on-sync-succeeded.devlake: ""
spec:
destination:
name: aks-rd-occluster-dev
namespace: omatic
project: default
source:
path: ./argocd-files/overlays/legacy-dev
repoURL: https://dev.azure.com/blah/foobar/_git/thi-test-dora-metrics
targetRevision: 'main'
syncPolicy:
automated:
prune: true
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "DrFaust92 (via GitHub)" <gi...@apache.org>.
DrFaust92 commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-2243749994
Can confirm [thiDucTran](https://github.com/thiDucTran) example works (with minor changes).
Worth to add this to the docs for webhook like circleCi has - https://devlake.apache.org/docs/Plugins/webhook/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-2253707049
@DrFaust92 Would you like to put up a PR to update the docs? Thanks in advance.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "antarasevich (via GitHub)" <gi...@apache.org>.
antarasevich commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-4335010280
@rbstp
Could you please check fix [#8861 ](https://github.com/apache/incubator-devlake/pull/8861)
in my response from ArgoCD API :
in history
`{
"revision": "fc82b261274902c5db5764280a5e37fa205124d5",
**"deployedAt": "2026-04-16T09:02:16Z",**
"id": 30,
"source": {
"repoURL": "some repo",
"path": "some path",
"targetRevision": "master",
"helm": {
"valueFiles": [
"values.yaml",
"../common-values.yaml",
"../hal/app-of-apps/values.yaml"
]
}
},
"deployStartedAt": "2026-04-16T09:02:15Z"
}`
while operational State is
`"phase": "Succeeded",
"revision": "fc82b261274902c5db5764280a5e37fa205124d5",
**"startedAt": "2026-04-16T09:02:15Z",**
"finishedAt": "2026-04-16T09:02:16Z"
`
it produces 2 deployments with 1 sec difference . Items from History aare processed be deployedAt. while operationalState item is processed by startedAt
it is proposed in fix - to skip operationalState if it is Succeeded because it reflects info from the last sync
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "rbstp (via GitHub)" <gi...@apache.org>.
rbstp commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3921619066
@themadbit we asked on Slack and received this answer:
> Perhaps a few weeks later. The release flow has changed after the graduation. The PPMC team will draft a new release flow and put it on the website soon.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [devlake]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #5207:
URL: https://github.com/apache/devlake/issues/5207#issuecomment-5008847502
This issue has been automatically marked as stale because it has been inactive for 60 days. It will be closed in next 7 days if no further activity occurs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "diegoluisi (via GitHub)" <gi...@apache.org>.
diegoluisi commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-2904187390
Up
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "bernard0le (via GitHub)" <gi...@apache.org>.
bernard0le commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3392496069
up
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-2146755745
<!-- Greeting -->
Hey @mars-esther! I'm a bot designed to help you out with bugs, questions, and becoming a contributor. How can I assist you today?
<!-- Answer -->
Yes, you can dynamically manage multiple repositories in Apache DevLake using the `PutScopes` API. This API allows you to create or update multiple repositories in bulk for tools like Azure DevOps and Bitbucket.
Here is an example for Azure DevOps:
```go
// PutScopes create or update Azure DevOps repo
// @Summary create or update Azure DevOps repo
// @Description Create or update Azure DevOps repo
// @Tags plugins/azuredevops
// @Accept application/json
// @Param connectionId path int true "connection ID"
// @Param scope body PutScopesReqBody true "json"
// @Success 200 {object} []models.AzuredevopsRepo
// @Failure 400 {object} shared.ApiBody "Bad Request"
// @Failure 500 {object} shared.ApiBody "Internal Error"
// @Router /plugins/azuredevops/connections/{connectionId}/scopes [PUT]
func PutScopes(input *plugin.ApiResourceInput) (*plugin.ApiResourceOutput, errors.Error) {
return dsHelper.ScopeApi.PutMultiple(input)
}
```
And for Bitbucket:
```go
// PutScopes create or update repo
// @Summary create or update repo
// @Description Create or update repo
// @Tags plugins/bitbucket
// @Accept application/json
// @Param connectionId path int true "connection ID"
// @Param scope body PutScopesReqBody true "json"
// @Success 200 {object} []models.BitbucketRepo
// @Failure 400 {object} shared.ApiBody "Bad Request"
// @Failure 500 {object} shared.ApiBody "Internal Error"
// @Router /plugins/bitbucket/connections/{connectionId}/scopes [PUT]
func PutScopes(input *plugin.ApiResourceInput) (*plugin.ApiResourceOutput, errors.Error) {
return dsHelper.ScopeApi.PutMultiple(input)
}
```
These endpoints allow you to send a PUT request with the necessary data to create or update multiple repositories at once <sup>[[1]](https://github.com/apache/incubator-devlake/blob/main/backend/plugins/azuredevops_go/api/scope_api.go)</sup><sup>[[2]](https://github.com/apache/incubator-devlake/blob/main/backend/plugins/bitbucket/api/scope_api.go)</sup>.
<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-2257853807
@DrFaust92 Nice, looking forward to it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "d4x1 (via GitHub)" <gi...@apache.org>.
d4x1 commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-2074589037
@thiDucTran Nice work!
I am not familiary with ArgoCD, I can't do anything helpful.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3757510563
This issue has been automatically marked as stale because it has been inactive for 60 days. It will be closed in next 7 days if no further activity occurs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "antarasevich (via GitHub)" <gi...@apache.org>.
antarasevich commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3769961445
@riskpeep Could you confirm that after PR mentioned above, everything is working?
Before the last PR, I got the same results as you did.
When I use v1.0.3-beta9, I can only retrieve a list of remote scopes correctly. But then, when the pipeline is running, deployments are 0
@rbstp Anything I can do to get more logs?
time="2026-01-19 19:55:38" level=info msg=" [pipeline service] [pipeline #12] [task #74] [api async client] creating scheduler for api \"https://argocd.ra.idt.net/api/v1/\", number of workers: 13, 10000 reqs / 1h0m0s (interval: 360ms)"
time="2026-01-19 19:55:38" level=info msg=" [pipeline service] [pipeline #12] [task #74] total step: 1"
time="2026-01-19 19:55:38" level=info msg=" [pipeline service] [pipeline #12] [task #74] executing subtask convertApplications"
time="2026-01-19 19:55:38" level=info msg=" [pipeline service] [pipeline #12] [task #74] [convertApplications] finished records: 1(not exactly)"
time="2026-01-19 19:55:38" level=info msg=" [pipeline service] [pipeline #12] [task #74] subtask convertApplications finished in 4 ms"
time="2026-01-19 19:55:38" level=info msg=" [pipeline service] [pipeline #12] [task #74] finished step: 1 / 1"
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "themadbit (via GitHub)" <gi...@apache.org>.
themadbit commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3919360228
I am using devlake (installed through Helm) and had the `0 deployments in argocd` issue, but I see it has been fixed. Is there a tentative date when the fixes will be released?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3388719509
@
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "jekader (via GitHub)" <gi...@apache.org>.
jekader commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3486862847
Kudos to @rbstp for the argo plugin! What is the required RBAC rule set to get it working properly?
https://argo-cd.readthedocs.io/en/stable/operator-manual/rbac/#rbac-model-structure
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3945049768
> I am using devlake (installed through Helm) and had the `0 deployments in argocd` issue, but I see it has been fixed. Is there a tentative date when the fixes will be released?
We’re planning to release a new beta at the end of this month.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "bernard0le (via GitHub)" <gi...@apache.org>.
bernard0le commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3849531919
hi @abdonrd
I suspect the issue causing 0 deployments might be related to how subtasks are filtered during pipeline plan generation
Looking at the code, it seems the Sync Operation subtasks (collectSyncOperations, extractSyncOperations, convertSyncOperations) are missing the DomainTypes definition in their SubTaskMeta
If I understand correctly, MakePipelinePlanTask filters tasks based on the selected domain entities (e.g.,
CICD). Without plugin.DOMAIN_TYPE_CICD explicitly defined, these tasks might be getting excluded from execution
I haven't verified this locally yet, but could you check if adding DomainTypes: []string{plugin.DOMAIN_TYPE_CICD} to these subtasks resolves the issue?
It would need to be added in:
backend/plugins/argocd/tasks/sync_operation_collector.go
backend/plugins/argocd/tasks/sync_operation_extractor.go
backend/plugins/argocd/tasks/sync_operation_convertor.go
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] ArgoCD Integration [incubator-devlake]
Posted by "rbstp (via GitHub)" <gi...@apache.org>.
rbstp commented on issue #5207:
URL: https://github.com/apache/incubator-devlake/issues/5207#issuecomment-4320466320
@vkovacik
You’ve identified the gap correctly. The ArgoCD plugin only sees the deployment repo, so source commit lineage between two image tags isn’t resolved automatically today.
Two paths worth considering:
1. Tag images with the git SHA alongside semver. If the SHA is in the tag, DevLake can correlate deployments to commits via the corresponding CI/CD plugins.
2. Use the DevLake Incoming Webhook plugin. Have your CI emit a deployment event post-sync with the source commit SHA in the `deploymentCommits` payload (`repoUrl` + `commitSha`). This bypasses the ArgoCD plugin’s inference entirely and gives you exact commit-to-deployment mapping.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org