This charm will create a pybench runner upstart service which will execute
pybench using settings provided by the user as defined in config.yaml
The charm and the upstart service will execute in an asynchrnous manner. If
the charm config is updated while the upstart service is busy running a
batch of tests, it will pick upo the modified config once complete i.e. it
will only notice the latest changes.
# Bootstrap the juju environment. This is required before any other
# operation can be performed.
# Check that the environment has been bootstrapped successfully.
# Now deploy the service
juju deploy pybench
# Check the status
# Start the tests using a config file (pybench_config.yaml) as follows:
cat << __EOF__ > pybench_config.yaml
juju set pybench --config=pybench_config.yaml
* Check that the pybench_runner upstart service is up and running:
sudo service pybench_runner status
* Check the pybench_runner logs:
tail -F /var/log/juju/pybench_runner.log
* Check what settings are currently applie in the service config:
juju get pybench