Skip to content

Commit f38966a

Browse files
murgatroid99sergiitk
authored andcommitted
Merge pull request #2712 from sergiitk/psm-interop-pkg-dev
PSM Interop: Migrate to Artifact Registry
1 parent ffefff2 commit f38966a

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

packages/grpc-js-xds/scripts/xds_k8s_lb.sh

+4-3
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ set -eo pipefail
1919
readonly GITHUB_REPOSITORY_NAME="grpc-node"
2020
readonly TEST_DRIVER_INSTALL_SCRIPT_URL="https://raw.githubusercontent.com/${TEST_DRIVER_REPO_OWNER:-grpc}/psm-interop/${TEST_DRIVER_BRANCH:-main}/.kokoro/psm_interop_kokoro_lib.sh"
2121
## xDS test client Docker images
22-
readonly SERVER_IMAGE_NAME="gcr.io/grpc-testing/xds-interop/java-server:558b5b0bfac8e21755c223063274a779b3898afe"
23-
readonly CLIENT_IMAGE_NAME="gcr.io/grpc-testing/xds-interop/node-client"
22+
readonly DOCKER_REGISTRY="us-docker.pkg.dev"
23+
readonly SERVER_IMAGE_NAME="us-docker.pkg.dev/grpc-testing/psm-interop/java-server:canonical"
24+
readonly CLIENT_IMAGE_NAME="us-docker.pkg.dev/grpc-testing/psm-interop/node-client"
2425
readonly FORCE_IMAGE_BUILD="${FORCE_IMAGE_BUILD:-0}"
2526
readonly BUILD_APP_PATH="packages/grpc-js-xds/interop/Dockerfile"
2627
readonly LANGUAGE_NAME="Node"
@@ -46,7 +47,7 @@ build_test_app_docker_images() {
4647
-t "${CLIENT_IMAGE_NAME}:${GIT_COMMIT}" \
4748
.
4849

49-
gcloud -q auth configure-docker
50+
gcloud -q auth configure-docker "${DOCKER_REGISTRY}"
5051
docker push "${CLIENT_IMAGE_NAME}:${GIT_COMMIT}"
5152
if is_version_branch "${TESTING_VERSION}"; then
5253
tag_and_push_docker_image "${CLIENT_IMAGE_NAME}" "${GIT_COMMIT}" "${TESTING_VERSION}"

packages/grpc-js-xds/scripts/xds_k8s_url_map.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ set -eo pipefail
1919
readonly GITHUB_REPOSITORY_NAME="grpc-node"
2020
readonly TEST_DRIVER_INSTALL_SCRIPT_URL="https://raw.githubusercontent.com/${TEST_DRIVER_REPO_OWNER:-grpc}/psm-interop/${TEST_DRIVER_BRANCH:-main}/.kokoro/psm_interop_kokoro_lib.sh"
2121
## xDS test client Docker images
22-
readonly CLIENT_IMAGE_NAME="gcr.io/grpc-testing/xds-interop/node-client"
22+
readonly DOCKER_REGISTRY="us-docker.pkg.dev"
23+
readonly CLIENT_IMAGE_NAME="us-docker.pkg.dev/grpc-testing/psm-interop/node-client"
2324
readonly FORCE_IMAGE_BUILD="${FORCE_IMAGE_BUILD:-0}"
2425
readonly BUILD_APP_PATH="packages/grpc-js-xds/interop/Dockerfile"
2526
readonly LANGUAGE_NAME="Node"
@@ -45,7 +46,7 @@ build_test_app_docker_images() {
4546
-t "${CLIENT_IMAGE_NAME}:${GIT_COMMIT}" \
4647
.
4748

48-
gcloud -q auth configure-docker
49+
gcloud -q auth configure-docker "${DOCKER_REGISTRY}"
4950
docker push "${CLIENT_IMAGE_NAME}:${GIT_COMMIT}"
5051
if is_version_branch "${TESTING_VERSION}"; then
5152
tag_and_push_docker_image "${CLIENT_IMAGE_NAME}" "${GIT_COMMIT}" "${TESTING_VERSION}"

0 commit comments

Comments
 (0)