This is an automated email from the ASF dual-hosted git repository.
klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new b51a197b2 fix(plugins): add missed DomainTypes in ArgoCD plugin (#8706)
b51a197b2 is described below
commit b51a197b257c82dba97998c7adb4745054b9f770
Author: Abdón Rodríguez <[email protected]>
AuthorDate: Thu Feb 12 09:59:44 2026 -0500
fix(plugins): add missed DomainTypes in ArgoCD plugin (#8706)
---
backend/plugins/argocd/tasks/sync_operation_collector.go | 1 +
backend/plugins/argocd/tasks/sync_operation_convertor.go | 1 +
backend/plugins/argocd/tasks/sync_operation_extractor.go | 1 +
3 files changed, 3 insertions(+)
diff --git a/backend/plugins/argocd/tasks/sync_operation_collector.go
b/backend/plugins/argocd/tasks/sync_operation_collector.go
index 19d94a98d..6f58a16e2 100644
--- a/backend/plugins/argocd/tasks/sync_operation_collector.go
+++ b/backend/plugins/argocd/tasks/sync_operation_collector.go
@@ -38,6 +38,7 @@ var CollectSyncOperationsMeta = plugin.SubTaskMeta{
EntryPoint: CollectSyncOperations,
EnabledByDefault: true,
Description: "Collect sync operations (deployment history) from
ArgoCD API",
+ DomainTypes: []string{plugin.DOMAIN_TYPE_CICD},
DependencyTables: []string{models.ArgocdApplication{}.TableName()},
}
diff --git a/backend/plugins/argocd/tasks/sync_operation_convertor.go
b/backend/plugins/argocd/tasks/sync_operation_convertor.go
index fc748ae55..9b34d0339 100644
--- a/backend/plugins/argocd/tasks/sync_operation_convertor.go
+++ b/backend/plugins/argocd/tasks/sync_operation_convertor.go
@@ -40,6 +40,7 @@ var ConvertSyncOperationsMeta = plugin.SubTaskMeta{
EntryPoint: ConvertSyncOperations,
EnabledByDefault: true,
Description: "Convert sync operations to domain layer deployments",
+ DomainTypes: []string{plugin.DOMAIN_TYPE_CICD},
DependencyTables: []string{models.ArgocdSyncOperation{}.TableName()},
ProductTables: []string{"cicd_deployments",
"cicd_deployment_commits"},
}
diff --git a/backend/plugins/argocd/tasks/sync_operation_extractor.go
b/backend/plugins/argocd/tasks/sync_operation_extractor.go
index 5de738a38..ed5ce8e95 100644
--- a/backend/plugins/argocd/tasks/sync_operation_extractor.go
+++ b/backend/plugins/argocd/tasks/sync_operation_extractor.go
@@ -38,6 +38,7 @@ var ExtractSyncOperationsMeta = plugin.SubTaskMeta{
EntryPoint: ExtractSyncOperations,
EnabledByDefault: true,
Description: "Extract sync operations from raw data",
+ DomainTypes: []string{plugin.DOMAIN_TYPE_CICD},
DependencyTables: []string{RAW_SYNC_OPERATION_TABLE},
ProductTables: []string{models.ArgocdSyncOperation{}.TableName()},
}