Skip to content

Commit 1c0f169

Browse files
committed
Add node support
1 parent c55e0b1 commit 1c0f169

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.kokoro/psm_interop_kokoro_lib.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,9 @@ psm::run::test() {
331331
# Some test suites have canonical server image configured in the flagfiles.
332332
if [[ -z "${SERVER_IMAGE_USE_CANONICAL}" ]]; then
333333
PSM_TEST_FLAGS+=("--server_image=${SERVER_IMAGE_NAME}:${GIT_COMMIT}")
334+
elif [[ "${GRPC_LANGUAGE}" == "node" ]]; then
335+
# TODO(b/261911148): To be replaced with --server_image_use_canonical when implemented.
336+
PSM_TEST_FLAGS+=("--server_image=us-docker.pkg.dev/grpc-testing/psm-interop/java-server:canonical")
334337
fi
335338

336339
# So far, only LB test uses secondary GKE cluster.
@@ -380,6 +383,11 @@ psm::setup::docker_image_names() {
380383
CLIENT_IMAGE_NAME="${DOCKER_REGISTRY}/grpc-testing/psm-interop/${GRPC_LANGUAGE}-client"
381384
SERVER_IMAGE_NAME="${DOCKER_REGISTRY}/grpc-testing/psm-interop/${GRPC_LANGUAGE}-server"
382385
;;
386+
node)
387+
CLIENT_IMAGE_NAME="${DOCKER_REGISTRY}/grpc-testing/psm-interop/${GRPC_LANGUAGE}-client"
388+
SERVER_IMAGE_NAME=""
389+
SERVER_IMAGE_USE_CANONICAL="1"
390+
;;
383391
*)
384392
psm::tools::log "Unknown Language: ${1}"
385393
exit 1

0 commit comments

Comments
 (0)