Commit Graph

19 Commits

Author SHA1 Message Date
coreycb a67b4906ee Use juju model as workspace and store in home (#383)
* Use juju model as workspace and store in home

The current juju model will now be used as the tempest workspace name.
Additionally, all workspaces will be stored in ~/.tempest/<workspace>.

This patch also introduces a new option 'keep-workspace' that can be
specified along with other tempest options to keep the workspace after
tempest test execution. It defaults to False.

Also minor adjustment to smoke option to test boolean value.
2020-08-18 15:54:09 +02:00
Corey Bryant 35a9e55ea5 Fix pep8 issues 2020-05-28 14:19:04 +00:00
Corey Bryant f668784f41 Add the missing test_runner 2020-05-28 10:45:10 +00:00
Corey Bryant a21ddd33e6 Code cleanup 2020-05-28 10:45:10 +00:00
Corey Bryant 635866afe4 cleanup 2020-05-28 10:45:10 +00:00
Corey Bryant 2df890cabf s/run/tempest run/ 2020-05-28 10:45:10 +00:00
Corey Bryant 27cc4ebdcf Switch to running tempest with subprocess and use workspace 2020-05-28 10:45:10 +00:00
Corey Bryant 816c6462ca Revert to remember 2020-05-28 10:45:10 +00:00
Corey Bryant 2b9de3a2b7 Updates to tempest config rendering and init 2020-05-28 10:45:10 +00:00
Corey Bryant 82a1f1b75d Fix tempest run config-file flag 2020-05-28 10:45:10 +00:00
Corey Bryant a1f34e2c01 Handle tempest changing to workspace directory 2020-05-28 10:45:10 +00:00
Corey Bryant 67de027d98 Move tempest init to setup.py and use a local workspace path 2020-05-28 10:45:10 +00:00
Corey Bryant f017934c9b Fix typo in tempest workspace name 2020-05-28 10:45:10 +00:00
Corey Bryant 57594a466b Fix the_app.run ret code checks and don't recreate workspace if already exists 2020-05-28 10:45:10 +00:00
Corey Bryant a8a6e72ef3 Use tempest workspace to avoid conflicts with any charm unit test .stestr config 2020-05-28 10:45:10 +00:00
Corey Bryant 4d8cd803ff Convert list of (black-)regex's to a space-separated string 2020-05-28 10:45:10 +00:00
Corey Bryant 182cda9013 Add smoke to TempestTest as blacklist/whitelist/black-regex will be useful with it. 2020-05-28 10:45:10 +00:00
Liam Young be3659c4a2 Add support for blacklist/whitelist etc 2020-05-28 10:45:10 +00:00
Liam Young 6347bb707f More updates 2020-05-28 10:45:10 +00:00