sensu / sensu-ansible

An Ansible role to deploy a fully dynamic Sensu stack!
https://ansible-sensu.readthedocs.io
MIT License
126 stars 96 forks source link

Add TravisCI builds and automate Ansible Galaxy releases #114

Closed jaredledvina closed 6 years ago

jaredledvina commented 6 years ago

In order to make reviewing PR's and publishing releases easier, we should configured TravisCI builds for this role.

There's a bunch of ways we could configured TravisCI, I personally have found a lot of value out of using https://gist.githubusercontent.com/geerlingguy/73ef1e5ee45d8694570f334be385e181 (see https://github.com/jaredledvina/sensu-client/blob/master/.travis.yml for an example).

On top of the builds, we should configure TravisCI to automatically publish releases to Ansible Galaxy as well.

jaredledvina commented 6 years ago

Test comment to verify the #ansible community Slack integration

jaredledvina commented 6 years ago

After battling with Travis/Ansible for a while, I've finally gotten automated tests for CentOS 7, Ubuntu 14.04, Ubuntu 16.04, Debian 8 and Debian 9 complete on https://github.com/sensu/sensu-ansible/pull/129

Once that's in, we'll have a decent base framework to continue adding more automated tests to to ensure we aren't merging in anything that might cause a regression.