4 ms·
We have a Jenkins job that builds our code from github, runs the tests, builds the package and then uploads that to our private JFrog repo. Then we have another
by secondcoming 6y ago
We have a Jenkins job that builds our code from github, runs the tests, builds the package and then uploads that to our private JFrog repo. Then we have another job that builds VM images (GCP) by installing the package from JFrog and all its dependencies. One final job starts the rolling upgrade of live machines.
The hardest part is getting all the debian/* files right. Recently, I tried to convert a 3rd party tar.gz into a .deb but failed. The documentation isn't great. I think someone on our team mentioned using fpm, but I've not tried it personally.
I think our command is just 'dpkg-buildpackage -us -uc $@', but like I said, prepping all the required files for that to just work isn't my area of expertise.