kokoro: add xds job (#3448)

This commit is contained in:
Eric Gribkoff
2020-03-12 13:37:26 -07:00
committed by GitHub
parent 0e160327ed
commit a6bd100681
3 changed files with 31 additions and 0 deletions

1
test/kokoro/README.md Normal file
View File

@ -0,0 +1 @@
The scripts in this directory are intended to be run by Kokoro CI jobs.

5
test/kokoro/xds.cfg Normal file
View File

@ -0,0 +1,5 @@
# Config file for internal CI
# Location of the continuous shell script in repository.
build_file: "grpc-go/test/kokoro/xds.sh"
timeout_mins: 90

25
test/kokoro/xds.sh Executable file
View File

@ -0,0 +1,25 @@
#!/bin/bash
set -exu -o pipefail
[[ -f /VERSION ]] && cat /VERSION
cd github
export GOPATH="${HOME}/gopath"
pushd grpc-go/interop/xds/client
go build
popd
git clone https://github.com/grpc/grpc.git
grpc/tools/run_tests/helper_scripts/prep_xds.sh
GRPC_GO_LOG_VERBOSITY_LEVEL=99 GRPC_GO_LOG_SEVERITY_LEVEL=info \
python3 grpc/tools/run_tests/run_xds_tests.py \
--test_case=all \
--project_id=grpc-testing \
--gcp_suffix=$(date '+%s') \
--verbose \
--client_cmd="grpc-go/interop/xds/client/client \
--server=xds-experimental:///{server_uri} \
--stats_port={stats_port} \
--qps={qps}"