in order to do that, update the script script/run-container.sh
script/run-container.sh
set -x ${TNF_CONTAINER_CLIENT} run -it --rm $DNS_ARG \ --network $CONTAINER_NETWORK_MODE \ ${container_tnf_kubeconfig_volumes_cmd_args[@]} \ $CONFIG_VOLUME_MOUNT_ARG \ -v $OUTPUT_LOC:$CONTAINER_TNF_DIR/claim:Z \ -e KUBECONFIG=$CONTAINER_TNF_KUBECONFIG \ -e TNF_MINIKUBE_ONLY=$CONTAINER_TNF_MINIKUBE_ONLY \ -e TNF_NON_INTRUSIVE_ONLY=$CONTAINER_TNF_NON_INTRUSIVE_ONLY \ -e TNF_ENABLE_CONFIG_AUTODISCOVER=$CONTAINER_TNF_ENABLE_CONFIG_AUTODISCOVER \ -e PATH=/usr/bin:/usr/local/oc/bin \ --entrypoint /bin/bash --interactive \ $TNF_IMAGE
then, you can run the script
./run-tnf-container.sh -t ~/tnf/config -k ~/.kube/config -o /tmp/output
withing the container, modify the script ./run-cnf-suites.sh using vi
./run-cnf-suites.sh
vi
#vi ./run-cnf-suites.sh
in order to skip the test, we can pass the regular expression to the binary (this is the last line in the script)
cd ./test-network-function && ./test-network-function.test -ginkgo.skip="boot params" -ginkgo.focus="$FOCUS" ${GINKGO_ARGS}
#./rn-cnf-suites.sh generic diagnostic
There was an error while loading. Please reload this page.