Merge "Enable vuls and lynis tests in CI"
authorCristina Pauna <cristina.pauna@enea.com>
Tue, 31 Mar 2020 07:13:14 +0000 (07:13 +0000)
committerGerrit Code Review <gerrit@akraino.org>
Tue, 31 Mar 2020 07:13:14 +0000 (07:13 +0000)
tests/k8s/kube-hunter/kube-hunter.resource

index 561dea2..4611e75 100644 (file)
@@ -92,7 +92,7 @@ Should Discover No Vulnerabilities
     Should Be True    ${STATUS}
 
 Run Scan Within Pod
-    ${result}=        Run Process  kubectl  apply  -f  job.yaml
+    ${result}=        Run Process  kubectl  apply  -f  ${CURDIR}/job.yaml
     Should Be Equal As Integers  ${result.rc}  0
     ${result}=        Run Process  kubectl  wait  --for\=condition\=complete
     ...                            --timeout\=15m  job/kube-hunter