beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [beam] branch master updated: [BEAM-8164][website] Correct document for building the python SDK harness container
Date Wed, 09 Oct 2019 16:57:11 GMT
This is an automated email from the ASF dual-hosted git repository.

ibzib pushed a commit to branch master
in repository

The following commit(s) were added to refs/heads/master by this push:
     new f6a7e73  [BEAM-8164][website] Correct document for building the python SDK harness
     new 8267c22  Merge pull request #9536 from sunjincheng121/BEAM-8164-PR
f6a7e73 is described below

commit f6a7e7353e3384d699a0d8496fb474426555186d
Author: sunjincheng121 <>
AuthorDate: Thu Sep 19 12:00:16 2019 +0800

    [BEAM-8164][website] Correct document for building the python SDK harness container
 .../apache_beam/runners/interactive/      |  2 +-
 sdks/python/container/build.gradle                 |  1 -
 sdks/python/scripts/            | 45 ----------------------
 3 files changed, 1 insertion(+), 47 deletions(-)

diff --git a/sdks/python/apache_beam/runners/interactive/ b/sdks/python/apache_beam/runners/interactive/
index 76200ba..75d6757 100644
--- a/sdks/python/apache_beam/runners/interactive/
+++ b/sdks/python/apache_beam/runners/interactive/
@@ -224,7 +224,7 @@ You can choose to run Interactive Beam on Flink with the following settings.
 *   Build the SDK container and start the local FlinkService.
-    $ ./gradlew -p sdks/python/container docker
+    $ ./gradlew -p sdks/python/container/py35 docker  # Optionally replace py35 with the
Python version of your choice
     $ ./gradlew beam-runners-flink_2.11-job-server:runShadow  # Blocking
diff --git a/sdks/python/container/build.gradle b/sdks/python/container/build.gradle
index dbe2ac6..2f7662c 100644
--- a/sdks/python/container/build.gradle
+++ b/sdks/python/container/build.gradle
@@ -18,7 +18,6 @@
 plugins { id 'org.apache.beam.module' }
 description = "Apache Beam :: SDKs :: Python :: Container"
diff --git a/sdks/python/scripts/ b/sdks/python/scripts/
deleted file mode 100755
index af2a878..0000000
--- a/sdks/python/scripts/
+++ /dev/null
@@ -1,45 +0,0 @@
-#    Licensed to the Apache Software Foundation (ASF) under one or more
-#    contributor license agreements.  See the NOTICE file distributed with
-#    this work for additional information regarding copyright ownership.
-#    The ASF licenses this file to You under the Apache License, Version 2.0
-#    (the "License"); you may not use this file except in compliance with
-#    the License.  You may obtain a copy of the License at
-#    Unless required by applicable law or agreed to in writing, software
-#    distributed under the License is distributed on an "AS IS" BASIS,
-#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#    See the License for the specific language governing permissions and
-#    limitations under the License.
-# This script builds a Docker container with the user specified requirements on top of
-# an existing Python worker Docker container (either one you build from source as
-# described in or from a released Docker container).
-# Quit on any errors
-set -e
-echo "To add requirements you will need a requirements.txt (you can specify with
- the env variable USER_REQUIREMENTS) and somewhere to push the resulting docker
- image (e.g bintrary, GCP container registry)."
-# Be really verbose about each command we are running
-set -x
-SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
-TEMP_DIR=$(mktemp -d -t "boo-loves-beam-XXXXXXXXXXXXXXX")
-cp $USER_REQUIREMENTS $TEMP_DIR/requirements.txt
-pushd $TEMP_DIR
-rm -rf $TEMP_DIR

View raw message