run_integration_tests.sh 461 Bytes
Newer Older
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
#!/bin/bash

## Make folder containing the script the root folder for its execution
#cd $(dirname $0)

#ENDPOINT=($(kubectl --namespace teraflow-development get service contextservice -o 'jsonpath={.spec.clusterIP} {.spec.ports[?(@.name=="grpc")].port}'))
#docker run -it --env TEST_TARGET_ADDRESS=${ENDPOINT[0]} --env TEST_TARGET_PORT=${ENDPOINT[1]} context_service:test


kubectl run integration-test --restart=Never --rm -i --tty --image centos -- /bin/bash