Skip to content

Commit

Permalink
Redirect xDS tests to use grpc/grpc's master branch (grpc#8982)
Browse files Browse the repository at this point in the history
We are solving the issue of grpc/grpc delaying the release, causing GCE
tests to fail. Updating the master branch prevents similar cases from
happening.

Tested: [prod:grpc/java/master/branch/xds_v3](http://sponge/010f5353-e65e-4b1a-b6d3-f5a84e31546b)
  • Loading branch information
lidizheng authored and temawi committed Apr 8, 2022
1 parent b2188a4 commit fd99e7c
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions buildscripts/kokoro/xds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,10 @@ fi
cd github

pushd grpc-java/interop-testing
branch=$(git branch --all --no-color --contains "${KOKORO_GITHUB_COMMIT}" \
| grep -v HEAD | head -1)
shopt -s extglob
branch="${branch//[[:space:]]}"
branch="${branch##remotes/origin/}"
shopt -u extglob
../gradlew installDist -x test -PskipCodegen=true -PskipAndroid=true
popd

git clone -b "${branch}" --single-branch --depth=1 https://github.com/grpc/grpc.git
git clone -b master --single-branch --depth=1 https://github.com/grpc/grpc.git

grpc/tools/run_tests/helper_scripts/prep_xds.sh

Expand Down

0 comments on commit fd99e7c

Please sign in to comment.