mmm / charmtester

Other
4 stars 2 forks source link

Should be able to use external charmrunner/graph builder #3

Open marcoceppi opened 11 years ago

marcoceppi commented 11 years ago

For speed and efficency

mmm commented 11 years ago

get charm-runner "runner" working, then in $JENKINS_HOME/bin/charm-test replace all references to $JENKINS_HOME/bin/charm-graph-tests with juju-runner... (much like the jitsu test line)

mmm commented 11 years ago

debugging charm-runner itself should be pretty straightforward... might just take a bit of time. Should be able to branch the raw lp:charmrunner and debug it independently of charmtester. However, charmtester with the "install_charmtests" config option off should come up quickly with an environment you can easily run charmrunner stuff from. look at charmtester to see where/how it installs charmrunner.

I had problems right from the start with passing/respecting $JUJU_ENV and some path issues for runner calling other charmrunner tools, but take a look at the readme to see what was going on. charm-graph-tests is calling charmrunner tools directly, but eventually juju runner should be the place to start. That runs from charmrunner/runner.py