mirror of https://github.com/grpc/grpc-java.git
buildscripts: checkout matching grpc/grpc branch for xds test (#6828)
This commit is contained in:
parent
b72477e282
commit
1acde4604f
|
|
@ -8,10 +8,16 @@ 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 https://github.com/grpc/grpc.git
|
||||
git clone -b "${branch}" https://github.com/grpc/grpc.git
|
||||
|
||||
grpc/tools/run_tests/helper_scripts/prep_xds.sh
|
||||
JAVA_OPTS=-Djava.util.logging.config.file=grpc-java/buildscripts/xds_logging.properties \
|
||||
|
|
|
|||
Loading…
Reference in New Issue