You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by vt...@apache.org on 2026/03/10 16:01:34 UTC
(beam) branch cp-37619 created (now 7b1ddd8af53)
This is an automated email from the ASF dual-hosted git repository.
vterentev pushed a change to branch cp-37619
in repository https://gitbox.apache.org/repos/asf/beam.git
at 7b1ddd8af53 Cherrypick #37619
This branch includes the following new commits:
new 7b1ddd8af53 Cherrypick #37619
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(beam) 01/01: Cherrypick #37619
Posted by vt...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
vterentev pushed a commit to branch cp-37619
in repository https://gitbox.apache.org/repos/asf/beam.git
commit 7b1ddd8af53a05fdf10d0a88ec6de9d850a7662b
Author: Vitaly Terentyev <vi...@akvelon.com>
AuthorDate: Tue Mar 10 20:01:25 2026 +0400
Cherrypick #37619
---
playground/backend/containers/python/Dockerfile | 4 +++-
playground/infrastructure/cloudbuild/playground_cd_examples.sh | 9 +++++----
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/playground/backend/containers/python/Dockerfile b/playground/backend/containers/python/Dockerfile
index dc734fe34d2..cec3fb3ad4a 100644
--- a/playground/backend/containers/python/Dockerfile
+++ b/playground/backend/containers/python/Dockerfile
@@ -65,7 +65,7 @@ RUN cd /opt/playground/backend/kafka-emulator/ && tar -xvf kafka-emulator.tar &&
mv kafka-emulator/*.jar . && rmdir kafka-emulator/ &&\
mv beam-playground-kafka-emulator-*.jar beam-playground-kafka-emulator.jar
RUN apt-get update && \
- apt install openjdk-17-jre-headless -y
+ apt install openjdk-17-jre-headless -y
# Create a user group `appgroup` and a user `appuser`
RUN groupadd --gid 20000 appgroup \
@@ -73,6 +73,8 @@ RUN groupadd --gid 20000 appgroup \
RUN mkdir -p /opt/playground/backend/executable_files/
+RUN pip install apache-beam[gcp,interactive]==$BEAM_VERSION
+
# Chown all required files to the `appuser`.
RUN chown -R appuser:appgroup /opt/playground/backend/executable_files/ && chmod +x /entrypoint.sh
diff --git a/playground/infrastructure/cloudbuild/playground_cd_examples.sh b/playground/infrastructure/cloudbuild/playground_cd_examples.sh
index 410aae1249d..b32fc942ad2 100644
--- a/playground/infrastructure/cloudbuild/playground_cd_examples.sh
+++ b/playground/infrastructure/cloudbuild/playground_cd_examples.sh
@@ -82,7 +82,7 @@ LogOutput "Input variables:
BEAM_USE_WEBGRPC=$BEAM_USE_WEBGRPC
DATASTORE_NAMESPACE=$DATASTORE_NAMESPACE
FORCE_CD=$FORCE_CD"
-
+
# Script starts in a clean environment in Cloud Build. Set minimal required environment variables
if [ -z "$PATH" ]; then
@@ -110,6 +110,7 @@ apt install -y python3.10-venv > /dev/null 2>&1
LogOutput "Installing Python packages from beam/playground/infrastructure/requirements.txt"
cd $BEAM_ROOT_DIR
pip install -r playground/infrastructure/requirements.txt
+pip install setuptools
LogOutput "Looking for files changed by the merge commit $MERGE_COMMIT"
git fetch origin $MERGE_COMMIT
@@ -130,7 +131,7 @@ do
LogOutput "FORCE_CD is true. Example deployment for SDK_${sdk^^} is forced"
example_has_changed="true"
else
- LogOutput "------------------Starting checker.py for SDK_${sdk^^}------------------"
+ LogOutput "------------------Starting checker.py for SDK_${sdk^^}------------------"
cd $BEAM_ROOT_DIR/playground/infrastructure
python3 checker.py \
--verbose \
@@ -159,7 +160,7 @@ do
eval "check_${sdk}_passed"="true"
continue
fi
-
+
cd $BEAM_ROOT_DIR/playground/infrastructure
LogOutput "Running ci_cd.py for SDK $sdk"
@@ -187,4 +188,4 @@ do
exit 1
fi
done
-exit 0
\ No newline at end of file
+exit 0