Skip to content

Commit

Permalink
buildscripts: Migrate PSM Interop to Artifact Registry (#11079) (#11089)
Browse files Browse the repository at this point in the history
From Container Registry (gcr.io) to Artifact Registry (pkg.dev).
  • Loading branch information
sergiitk committed Apr 8, 2024
1 parent 87a3b15 commit 4ec55d1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions buildscripts/kokoro/psm-security.sh
Expand Up @@ -5,8 +5,8 @@ set -eo pipefail
readonly GITHUB_REPOSITORY_NAME="grpc-java"
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"
## xDS test server/client Docker images
readonly SERVER_IMAGE_NAME="gcr.io/grpc-testing/xds-interop/java-server"
readonly CLIENT_IMAGE_NAME="gcr.io/grpc-testing/xds-interop/java-client"
readonly SERVER_IMAGE_NAME="us-docker.pkg.dev/grpc-testing/psm-interop/java-server"
readonly CLIENT_IMAGE_NAME="us-docker.pkg.dev/grpc-testing/psm-interop/java-client"
readonly FORCE_IMAGE_BUILD="${FORCE_IMAGE_BUILD:-0}"
readonly BUILD_APP_PATH="interop-testing/build/install/grpc-interop-testing"

Expand Down
4 changes: 2 additions & 2 deletions buildscripts/kokoro/xds_k8s_lb.sh
Expand Up @@ -5,8 +5,8 @@ set -eo pipefail
readonly GITHUB_REPOSITORY_NAME="grpc-java"
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"
## xDS test server/client Docker images
readonly SERVER_IMAGE_NAME="gcr.io/grpc-testing/xds-interop/java-server"
readonly CLIENT_IMAGE_NAME="gcr.io/grpc-testing/xds-interop/java-client"
readonly SERVER_IMAGE_NAME="us-docker.pkg.dev/grpc-testing/psm-interop/java-server"
readonly CLIENT_IMAGE_NAME="us-docker.pkg.dev/grpc-testing/psm-interop/java-client"
readonly FORCE_IMAGE_BUILD="${FORCE_IMAGE_BUILD:-0}"
readonly BUILD_APP_PATH="interop-testing/build/install/grpc-interop-testing"

Expand Down
4 changes: 2 additions & 2 deletions buildscripts/kokoro/xds_url_map.sh
Expand Up @@ -5,8 +5,8 @@ set -eo pipefail
readonly GITHUB_REPOSITORY_NAME="grpc-java"
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"
## xDS test client Docker images
readonly SERVER_IMAGE_NAME="gcr.io/grpc-testing/xds-interop/java-server"
readonly CLIENT_IMAGE_NAME="gcr.io/grpc-testing/xds-interop/java-client"
readonly SERVER_IMAGE_NAME="us-docker.pkg.dev/grpc-testing/psm-interop/java-server"
readonly CLIENT_IMAGE_NAME="us-docker.pkg.dev/grpc-testing/psm-interop/java-client"
readonly FORCE_IMAGE_BUILD="${FORCE_IMAGE_BUILD:-0}"
readonly BUILD_APP_PATH="interop-testing/build/install/grpc-interop-testing"

Expand Down
4 changes: 2 additions & 2 deletions buildscripts/xds-k8s/cloudbuild.yaml
Expand Up @@ -16,8 +16,8 @@ steps:
- '.'

substitutions:
_SERVER_IMAGE_NAME: gcr.io/grpc-testing/xds-interop/java-server
_CLIENT_IMAGE_NAME: gcr.io/grpc-testing/xds-interop/java-client
_SERVER_IMAGE_NAME: us-docker.pkg.dev/grpc-testing/psm-interop/java-server
_CLIENT_IMAGE_NAME: us-docker.pkg.dev/grpc-testing/psm-interop/java-client

images:
- '${_SERVER_IMAGE_NAME}:${COMMIT_SHA}'
Expand Down

0 comments on commit 4ec55d1

Please sign in to comment.