[Conformance] Add tests to container
- Add the validation repo to the k8s container
- Add the command to run the test as default in the container
- Adapt the conformance test to use the tools inside the container:
- SSH library is removed as all the tools are inside the container
- The test for sonobuoy and golang are no longer necessary
- Test setup is added to check that the k8s conf file is mounted
in the container and k8s cluster is reachable
- Modified the test to wait for sonobuoy to finish and check
for failures
- Added teardown to cleanup sonobuoy containers after test is ran
- Use absolute paths for files
- Log all the result files in one folder that can be mounted as
volume in the container for persistence
- Save the sonobouy archive in the log folder
To test the changes:
- copy /etc/kubernetes/admin.conf from k8s cluster to the jumpserver
- run the container while mounting the admin.conf file and the
results folder
JIRA: VAL-18
Change-Id: I8afd2e79775436538e5f3a5d54040a64e05d4c59
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>