← Back to team overview

canonical-ci-engineering team mailing list archive

NFSS deployment tests

 

Hello CI-ers,


We spoke about this in DC, but I wanted to circle back and pick up this
conversation again.


I'd like to add a suite of deployment tests for NFSS. It seems that I need
to add a test suite in the 'tests/' directory, but I'm missing a few bits
if information:


   - I assume these tests are run during merge proposal CI phase?
   - I assume I should just run './run-tests' to run the tests? If I do
   that on utopic I get 5 errors (http://pastebin.ubuntu.com/8976623/) How
   can I fix these?
   - I assume I need to direct the test system to deploy NFSS before
   running the tests? If so, how do I do that?
   - Once NFSS is deployed, how do I get the config information to tell me
   *where* the nfss components (restish, postgres etc) were deployed to?
   (i.e.- ip addresses & tcp ports). I note that some tests import 'deploy',
   which seems to contain commands to get the juju status, but I can't see
   where that's coming from in the source tree?

I realise that's an awful lot of questions. To sweeten the deal, I'm
proposing to write documentation for this process, as I learn it - the docs
in README are a good start, but I think it could use a little expansion.

TIA!


=D

-- 
Thomi Richards
thomi.richards@xxxxxxxxxxxxx

Follow ups