StackStorm / packer-st2

Packer templates for building & deploying Vagrant & OVA with StackStorm installed
https://app.vagrantup.com/stackstorm/boxes/st2
Apache License 2.0
13 stars 7 forks source link

Add StackStorm integration tests #20

Closed arm4b closed 6 years ago

arm4b commented 6 years ago

Closes #6

Back-port StackStorm InSpec tests from the previous OVA work.

Add st2-integration-tests executable shipped in sbin/PATH so users could run that in case when stackstorm is "not working" for some reason and get report back from the tool about what went wrong (like issues with mongo, rabbit, stackstorm services, etc).

nmaludy commented 6 years ago

Should we maybe create another repo that contains the inspec tests so they can be shared between this, puppet, ansible, and chef repos?

arm4b commented 6 years ago

@nmaludy :+1: Yes, I was thinking about the same. We'll do it later I guess, when they mature a bit.

Going further, there is an additional idea even to package them all with InSpec framework as a deb/rpm package st2-integration-tests so users could install a package on StackStorm and run the tool to investigate if something went wrong. Might help with #community debugging (I remember hard times of multi-step debugging of non working stackstorm for users).

Needs more work to make these tests multi-purpose, HA-friendly and working well with various st2.conf settings, not just defaults.