[
https://issues.apache.org/jira/browse/BEAM-12735?focusedWorklogId=638289&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-638289
]
ASF GitHub Bot logged work on BEAM-12735:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 16/Aug/21 16:49
Start Date: 16/Aug/21 16:49
Worklog Time Spent: 10m
Work Description: ihji commented on a change in pull request #15307:
URL: https://github.com/apache/beam/pull/15307#discussion_r689699486
##########
File path: release/src/main/scripts/run_rc_validation.sh
##########
@@ -583,3 +601,148 @@ if [[ ("$python_leaderboard_direct" = true \
else
echo "* Skip Python Leaderboard & GameStates Validations"
fi
+
+echo ""
+echo "====================Starting Python Cross-language
Validations==============="
+if [[ ("$python_xlang_kafka_taxi_dataflow" = true
+ || "$python_xlang_sql_taxi_dataflow" = true) \
+ && ! -z `which gnome-terminal` && ! -z `which kubectl` ]]; then
+ cd ${LOCAL_BEAM_DIR}
+
+ echo "---------------------Downloading Python Staging
RC----------------------------"
+ wget
${PYTHON_RC_DOWNLOAD_URL}/${RELEASE_VER}/python/apache-beam-${RELEASE_VER}.zip
+ wget
${PYTHON_RC_DOWNLOAD_URL}/${RELEASE_VER}/python/apache-beam-${RELEASE_VER}.zip.sha512
+ if [[ ! -f apache-beam-${RELEASE_VER}.zip ]]; then
+ { echo "Fail to download Python Staging RC files." ;exit 1; }
+ fi
+
+ echo "--------------------------Verifying
Hashes------------------------------------"
+ sha512sum -c apache-beam-${RELEASE_VER}.zip.sha512
+
+ `which pip` install --upgrade pip
+ `which pip` install --upgrade setuptools
+ `which pip` install --upgrade virtualenv
+
+ echo "-----------------------Setting up Shell Env
Vars------------------------------"
+ set_bashrc
+
+ echo "-----------------------Setting up Kafka Cluster on
GKE------------------------"
+ CLUSTER_NAME=xlang-kafka-cluster-$RANDOM
+ if [[ "$python_xlang_kafka_taxi_dataflow" = true ]]; then
+ gcloud container clusters create --project=${USER_GCP_PROJECT}
--region=${USER_GCP_REGION} --no-enable-ip-alias $CLUSTER_NAME
+ kubectl apply -R -f ${LOCAL_BEAM_DIR}/.test-infra/kubernetes/kafka-cluster
Review comment:
Yes, but it's a separate work. We need to update k8s configs for
dynamically assigning the ports.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 638289)
Time Spent: 1h 50m (was: 1h 40m)
> Adding Python XLang examples to the RC validation script
> --------------------------------------------------------
>
> Key: BEAM-12735
> URL: https://issues.apache.org/jira/browse/BEAM-12735
> Project: Beam
> Issue Type: Improvement
> Components: cross-language, release
> Reporter: Heejong Lee
> Assignee: Heejong Lee
> Priority: P2
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> Adding XLang Kafka Taxi example to the RC validation script
--
This message was sent by Atlassian Jira
(v8.3.4#803005)