[PSM Interop] Point Interop Prod testing to new repo

pull/35305/head
Xuan Wang 12 months ago
parent a04188b29f
commit 4e01258f1b
  1. 14
      tools/internal_ci/linux/grpc_xds_k8s_install_test_driver.sh

@ -18,11 +18,11 @@ set -eo pipefail
# Constants # Constants
readonly PYTHON_VERSION="${PYTHON_VERSION:-3.10}" readonly PYTHON_VERSION="${PYTHON_VERSION:-3.10}"
# Test driver # Test driver
readonly TEST_DRIVER_REPO_NAME="grpc" readonly TEST_DRIVER_REPO_NAME="psm-interop"
readonly TEST_DRIVER_REPO_URL="https://github.com/${TEST_DRIVER_REPO_OWNER:-grpc}/grpc.git" readonly TEST_DRIVER_REPO_URL="https://github.com/${TEST_DRIVER_REPO_OWNER:-grpc}/psm-interop.git"
readonly TEST_DRIVER_BRANCH="${TEST_DRIVER_BRANCH:-master}" readonly TEST_DRIVER_BRANCH="${TEST_DRIVER_BRANCH:-main}"
readonly TEST_DRIVER_PATH="tools/run_tests/xds_k8s_test_driver" readonly TEST_DRIVER_PATH=""
readonly TEST_DRIVER_PROTOS_PATH="src/proto/grpc/testing" readonly TEST_DRIVER_PROTOS_PATH="protos/grpc/testing"
readonly FORCE_TESTING_VERSION="${FORCE_TESTING_VERSION:-}" readonly FORCE_TESTING_VERSION="${FORCE_TESTING_VERSION:-}"
# GKE cluster identifiers. # GKE cluster identifiers.
@ -261,7 +261,7 @@ test_driver_pip_install() {
# Writes the output of `python -m grpc_tools.protoc` to stdout, stderr # Writes the output of `python -m grpc_tools.protoc` to stdout, stderr
# Writes the list if compiled python code to stdout # Writes the list if compiled python code to stdout
# Writes compiled python code with proto messages and grpc services to # Writes compiled python code with proto messages and grpc services to
# $TEST_DRIVER_FULL_DIR/src/proto # $TEST_DRIVER_FULL_DIR/protos/grpc/testing
####################################### #######################################
test_driver_compile_protos() { test_driver_compile_protos() {
declare -a protos declare -a protos
@ -296,7 +296,7 @@ test_driver_compile_protos() {
####################################### #######################################
test_driver_install() { test_driver_install() {
readonly TEST_DRIVER_REPO_DIR="${1:?Usage test_driver_install TEST_DRIVER_REPO_DIR}" readonly TEST_DRIVER_REPO_DIR="${1:?Usage test_driver_install TEST_DRIVER_REPO_DIR}"
readonly TEST_DRIVER_FULL_DIR="${TEST_DRIVER_REPO_DIR}/${TEST_DRIVER_PATH}" readonly TEST_DRIVER_FULL_DIR="${TEST_DRIVER_REPO_DIR}"
test_driver_get_source test_driver_get_source
test_driver_pip_install test_driver_pip_install
test_driver_compile_protos test_driver_compile_protos

Loading…
Cancel
Save