From: Cristina Pauna Date: Fri, 10 May 2019 10:40:53 +0000 (+0300) Subject: [Conformance] Add tests to container X-Git-Tag: 2.0.0~87 X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=8f8c2d70787bc305df2c2e3b89016d3f5566b823;hp=8f8c2d70787bc305df2c2e3b89016d3f5566b823;p=validation.git [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 ---