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 into jq
) to check out the build definition file for app
(eg app/build.gradle
) from that particular revision, and simply grep
for lib1
and lib2
. It should technically be possible to do this in a few lines of shell script.
Here's a decent guide on how to do it for an Ubuntu VM (instructions should apply to Arch too.) Since you'll be manually downloading guest-additions, just skip the "prerequisites" section.
An here's a guide on how to install the extension pack.
Pray, post here if you run into any troubles (you shouldn't ✌️.)