quipucords / camayoc

Test automation framework that facilitates functional testing of quipucords.
https://camayoc.readthedocs.io/
GNU General Public License v3.0
5 stars 4 forks source link

Allow isolated_filesystem to set it’s directory location dynamically #338

Closed himmAllRight closed 4 years ago

himmAllRight commented 4 years ago

Issue type

Description of issue

In order to get temporary keyfiles to work inside the containers for the ssh credentials tests, the location of the temporary directory generated from the isolated_filesystem function in camayoc utils needed to be configured to be mounted under the sshkeys volume of the container.

For that issue, a camayoc configuration preference was added that can be used to define where the isolated filesystem is created. While this allowed setting the location to sshkeys for the keyfile tests, it would be better if isolated_filesystem defaulted to using /tmp/, but could change the directory dynamically per test set, or even on a test-by-test basis.

Completion checklist

To close this issue, the following items must be satisfied:

Related development issues