This is an automated email from the ASF dual-hosted git repository.
damondouglas pushed a commit to branch fix-distroless-wfs
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/fix-distroless-wfs by this
push:
new e92db699a38 Allow customization of CONTAINER_PROJECT
e92db699a38 is described below
commit e92db699a38fd57e6e5d2cb3d7a3553304ed1acc
Author: Damon <[email protected]>
AuthorDate: Thu Jan 16 15:55:33 2025 -0800
Allow customization of CONTAINER_PROJECT
---
sdks/python/container/run_validatescontainer.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sdks/python/container/run_validatescontainer.sh
b/sdks/python/container/run_validatescontainer.sh
index 7f43bde84ff..c007787f951 100755
--- a/sdks/python/container/run_validatescontainer.sh
+++ b/sdks/python/container/run_validatescontainer.sh
@@ -58,8 +58,8 @@ IMAGE_PREFIX="$(grep 'docker_image_default_repo_prefix'
gradle.properties | cut
SDK_VERSION="$(grep 'sdk_version' gradle.properties | cut -d'=' -f2)"
PY_VERSION=$1
ARCH=${3:-"x86"}
-IMAGE_NAME="${IMAGE_PREFIX}python${PY_VERSION}_sdk"
-CONTAINER_PROJECT="sdks:python:container:py${PY_VERSION//.}" # Note: we
substitute away the dot in the version.
+IMAGE_NAME="${IMAGE_PREFIX}python${PY_VERSION}_sdk${IMAGE_SUFFIX}"
+CONTAINER_PROJECT=${CONTAINER_PROJECT:-"sdks:python:container:py${PY_VERSION//.}"}
# Note: we substitute away the dot in the version.
PY_INTERPRETER="python${PY_VERSION}"
MACHINE_TYPE_ARGS=""
TEST_MARK=${TEST_MARK:-it_validatescontainer}