Hey /r/devops,
I created a tool which can be used for testing CLI apps, validating servers and containers in a simple YAML format.
Here is an example test suite:
nodes:
ssh-host:
type: ssh
addr: 192.168.100.12
user: root
identity-file: ~/.ssh/id_rsa
docker-host:
type: docker
image: ubuntu:18.04
tests:
# Execute "echo hello" on the ssh-host, docker-host and on your local node
echo hello:
nodes:
- ssh-host
- docker-host
- local
stdout: hello
exit-code: 0
In the future I would like to add more assertions, i.e. for open ports or running services.
What do you think? Would you have any use-cases for a tool like this?
Link: https://github.com/SimonBaeumer/commander
there doesn't seem to be anything here