Skip to content

Commit

Permalink
kokoro: add xds job (#3448) (#3457)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericgribkoff committed Mar 13, 2020
1 parent f217a7d commit 83ff975
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/kokoro/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The scripts in this directory are intended to be run by Kokoro CI jobs.
5 changes: 5 additions & 0 deletions test/kokoro/xds.cfg
Original file line number Diff line number Diff line change
@@ -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 changes: 25 additions & 0 deletions test/kokoro/xds.sh
Original file line number Diff line number Diff line change
@@ -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}"

0 comments on commit 83ff975

Please sign in to comment.