How to actually integrate DT with a CI/CD setup? #4856
Replies: 6 comments 4 replies
-
It seems that maybe using aggregation projects could make the situation better, e.g. aggegating only latestVersion? |
Beta Was this translation helpful? Give feedback.
-
I've seen people mentioning that Hyades is supposed to make things easier for such a setup, but I see no mention of it in the README |
Beta Was this translation helpful? Give feedback.
-
Another approach would be to deactivate/delete the old versions. This requires an external cron etc, but looks relatively simple to do. |
Beta Was this translation helpful? Give feedback.
-
There is another approach: jenkinsci/dependency-track-plugin#142 (comment)
PROS:
CONS:
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Another Approach: Single Project per Microservice + Dual-Mode ScanningIn a microservice architecture, we maintain one DT project per microservice rather than creating a new project/version for every build. Workflow:
Benefits:
Cons:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
There isn't much information about running DT in a CI/CD setup.
What I found is:
Which doesn't really help.
When I say CI/CD I mean a setup when each commit to master is potentially releasable.
I want the SBOM produced during the build to be the source of truth for the components in DT.
This seems to cause problems with DT, as each version is a separate project.
Beta Was this translation helpful? Give feedback.
All reactions