Closed UrBnW closed 4 years ago
This CI auto-build now also builds check_logfiles plugin 👍
Hi @UrBnW
Give us some time to setup a dedicated account to connect TravisCI and github and we will merge it ;)
Thanks
Hi @Sims24, sure, very good news, many thanks for your feedback 👍
@UrBnW , let's do it
Take care linking your project with Travis-CI, be sure to use the free version at https://travis-ci.org.
Hi,
As briefly discussed in #16, here's a Travis-CI configuration to automatically build the plugins. It builds everything :
Version numbers are properly set according to the
check_logfiles
¢reon-plugins
submodules' version.If build is done for the
master
branch, binaries are made available through a new GitHub release.Here's a build log example : https://travis-ci.org/github/UrBnW/centreon-nsclient-build/builds/729273397
And here's a release example : https://github.com/UrBnW/centreon-nsclient-build/releases/tag/200922105857
To trigger a new build & release upon Centreon Plugins changes, you then just have to update (pull) the
centreon-plugins
submodule, and push this new version. Same for check_logfiles plugin. That's all :)Of course, you'll have to enable Travis-CI for this
centreon/centreon-nsclient-build
repository. And to update theapi_key.secure
option in the.travis.yml
file.Thank you :+1: