this post was submitted on 17 Aug 2023
12 points (100.0% liked)
DevOps
1624 readers
1 users here now
DevOps integrates and automates the work of software development (Dev) and IT operations (Ops) as a means for improving and shortening the systems development life cycle.
Rules:
- Posts must be relevant to DevOps
- No NSFW content
- No hate speech, bigotry, etc
- Try to keep discussions on topic
- No spam of tools/companies/advertisements
- It’s OK to post your own stuff part of the time, but the primary use of the community should not be promotional content.
Icon base by Lorc under CC BY 3.0 with modifications to add a gradient
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I believe you're already on the right track.
Your pipeline keeps track of the git commit that resulted in each build/deploy. You can use that (
curl
your CI/CD API and feed it intojq
) to check out the build definition file forapp
(egapp/build.gradle
) from that particular revision, and simplygrep
forlib1
andlib2
. It should technically be possible to do this in a few lines of shell script.