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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]