Enhancement (improvement to Camayoc framework other than new test cases)
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:
[ ] isolated_filesystem defaults to using temp dirs (as it previously did)
[ ] This location can be dynamically changed to allow test sub-sets to use different temporary directory locations during test runs.
[ ] isolated_filesystem should maintain any setup/cleanup functionality it previously had.
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 thesshkeys
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:
isolated_filesystem
defaults to using temp dirs (as it previously did)isolated_filesystem
should maintain any setup/cleanup functionality it previously had.Related development issues