Skip to content

Commit 08af69c

Browse files
committed
Install setuptools for playground cd examples
1 parent e28ed02 commit 08af69c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

playground/infrastructure/cloudbuild/playground_cd_examples.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ LogOutput "Input variables:
8282
BEAM_USE_WEBGRPC=$BEAM_USE_WEBGRPC
8383
DATASTORE_NAMESPACE=$DATASTORE_NAMESPACE
8484
FORCE_CD=$FORCE_CD"
85-
85+
8686

8787
# Script starts in a clean environment in Cloud Build. Set minimal required environment variables
8888
if [ -z "$PATH" ]; then
@@ -110,6 +110,7 @@ apt install -y python3.10-venv > /dev/null 2>&1
110110
LogOutput "Installing Python packages from beam/playground/infrastructure/requirements.txt"
111111
cd $BEAM_ROOT_DIR
112112
pip install -r playground/infrastructure/requirements.txt
113+
pip install setuptools
113114

114115
LogOutput "Looking for files changed by the merge commit $MERGE_COMMIT"
115116
git fetch origin $MERGE_COMMIT
@@ -130,7 +131,7 @@ do
130131
LogOutput "FORCE_CD is true. Example deployment for SDK_${sdk^^} is forced"
131132
example_has_changed="true"
132133
else
133-
LogOutput "------------------Starting checker.py for SDK_${sdk^^}------------------"
134+
LogOutput "------------------Starting checker.py for SDK_${sdk^^}------------------"
134135
cd $BEAM_ROOT_DIR/playground/infrastructure
135136
python3 checker.py \
136137
--verbose \
@@ -159,7 +160,7 @@ do
159160
eval "check_${sdk}_passed"="true"
160161
continue
161162
fi
162-
163+
163164
cd $BEAM_ROOT_DIR/playground/infrastructure
164165
LogOutput "Running ci_cd.py for SDK $sdk"
165166

@@ -187,4 +188,4 @@ do
187188
exit 1
188189
fi
189190
done
190-
exit 0
191+
exit 0

0 commit comments

Comments
 (0)