#!/bin/bash | |
declare -i retval=0 | |
sudo docker run --rm --env-file {{ testfw_workdir }}/xtesting.env \ | |
-v $HOME/.kube/config:/root/.kube/config \ | |
-v {{ testfw_resultdir }}:/var/lib/xtesting/results \ | |
{{ testfw_image_name }}@sha256:{{ testfw_image_version }} \ | |
run_tests -r -t {{ testcase }} | |
retval=$(($retval + $?)) | |
exit $retval |