You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tz...@apache.org on 2020/03/24 04:27:00 UTC
[flink-statefun] 01/04: [FLINK-16723] Move python-k8s example to
statefun-examples
This is an automated email from the ASF dual-hosted git repository.
tzulitai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git
commit a1085a7ace148dc7a6e19e052fa259b3381cfcb9
Author: Igal Shilman <ig...@gmail.com>
AuthorDate: Mon Mar 23 12:42:58 2020 +0100
[FLINK-16723] Move python-k8s example to statefun-examples
This closes #67.
---
.../statefun-python-k8s}/Dockerfile.python-worker | 0
.../k8s => statefun-examples/statefun-python-k8s}/Dockerfile.statefun | 0
.../examples/k8s => statefun-examples/statefun-python-k8s}/README.md | 0
.../k8s => statefun-examples/statefun-python-k8s}/build-example.sh | 2 +-
.../k8s => statefun-examples/statefun-python-k8s}/event-generator.py | 0
.../examples/k8s => statefun-examples/statefun-python-k8s}/main.py | 0
.../k8s => statefun-examples/statefun-python-k8s}/messages.proto | 0
.../k8s => statefun-examples/statefun-python-k8s}/messages_pb2.py | 0
.../examples/k8s => statefun-examples/statefun-python-k8s}/module.yaml | 0
.../k8s => statefun-examples/statefun-python-k8s}/requirements.txt | 0
.../k8s => statefun-examples/statefun-python-k8s}/resources/Chart.yaml | 0
.../statefun-python-k8s}/resources/templates/config-map.yaml | 0
.../statefun-python-k8s}/resources/templates/master-deployment.yaml | 0
.../statefun-python-k8s}/resources/templates/master-rest-service.yaml | 0
.../statefun-python-k8s}/resources/templates/master-service.yaml | 0
.../resources/templates/python-worker-deployment.yaml | 0
.../statefun-python-k8s}/resources/templates/python-worker-service.yaml | 0
.../statefun-python-k8s}/resources/templates/worker-deployment.yaml | 0
.../k8s => statefun-examples/statefun-python-k8s}/resources/values.yaml | 0
19 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/statefun-python-sdk/examples/k8s/Dockerfile.python-worker b/statefun-examples/statefun-python-k8s/Dockerfile.python-worker
similarity index 100%
rename from statefun-python-sdk/examples/k8s/Dockerfile.python-worker
rename to statefun-examples/statefun-python-k8s/Dockerfile.python-worker
diff --git a/statefun-python-sdk/examples/k8s/Dockerfile.statefun b/statefun-examples/statefun-python-k8s/Dockerfile.statefun
similarity index 100%
rename from statefun-python-sdk/examples/k8s/Dockerfile.statefun
rename to statefun-examples/statefun-python-k8s/Dockerfile.statefun
diff --git a/statefun-python-sdk/examples/k8s/README.md b/statefun-examples/statefun-python-k8s/README.md
similarity index 100%
rename from statefun-python-sdk/examples/k8s/README.md
rename to statefun-examples/statefun-python-k8s/README.md
diff --git a/statefun-python-sdk/examples/k8s/build-example.sh b/statefun-examples/statefun-python-k8s/build-example.sh
similarity index 93%
rename from statefun-python-sdk/examples/k8s/build-example.sh
rename to statefun-examples/statefun-python-k8s/build-example.sh
index 07e5fc0..0ba540d 100755
--- a/statefun-python-sdk/examples/k8s/build-example.sh
+++ b/statefun-examples/statefun-python-k8s/build-example.sh
@@ -26,7 +26,7 @@ rm -f apache_flink_statefun-*-py3-none-any.whl
rm -rf __pycache__
# copy the whl distribution, it must be first built by calling build-distribution.sh
-cp ../../dist/apache_flink_statefun-*-py3-none-any.whl apache_flink_statefun-snapshot-py3-none-any.whl 2>/dev/null
+cp ../../statefun-python-sdk/dist/apache_flink_statefun-*-py3-none-any.whl apache_flink_statefun-snapshot-py3-none-any.whl 2>/dev/null
rc=$?
if [[ ${rc} -ne 0 ]]; then
echo "Failed copying the whl distribution, please build the distribution first by calling ./build-distribution.sh"
diff --git a/statefun-python-sdk/examples/k8s/event-generator.py b/statefun-examples/statefun-python-k8s/event-generator.py
similarity index 100%
rename from statefun-python-sdk/examples/k8s/event-generator.py
rename to statefun-examples/statefun-python-k8s/event-generator.py
diff --git a/statefun-python-sdk/examples/k8s/main.py b/statefun-examples/statefun-python-k8s/main.py
similarity index 100%
rename from statefun-python-sdk/examples/k8s/main.py
rename to statefun-examples/statefun-python-k8s/main.py
diff --git a/statefun-python-sdk/examples/k8s/messages.proto b/statefun-examples/statefun-python-k8s/messages.proto
similarity index 100%
rename from statefun-python-sdk/examples/k8s/messages.proto
rename to statefun-examples/statefun-python-k8s/messages.proto
diff --git a/statefun-python-sdk/examples/k8s/messages_pb2.py b/statefun-examples/statefun-python-k8s/messages_pb2.py
similarity index 100%
rename from statefun-python-sdk/examples/k8s/messages_pb2.py
rename to statefun-examples/statefun-python-k8s/messages_pb2.py
diff --git a/statefun-python-sdk/examples/k8s/module.yaml b/statefun-examples/statefun-python-k8s/module.yaml
similarity index 100%
rename from statefun-python-sdk/examples/k8s/module.yaml
rename to statefun-examples/statefun-python-k8s/module.yaml
diff --git a/statefun-python-sdk/examples/k8s/requirements.txt b/statefun-examples/statefun-python-k8s/requirements.txt
similarity index 100%
rename from statefun-python-sdk/examples/k8s/requirements.txt
rename to statefun-examples/statefun-python-k8s/requirements.txt
diff --git a/statefun-python-sdk/examples/k8s/resources/Chart.yaml b/statefun-examples/statefun-python-k8s/resources/Chart.yaml
similarity index 100%
rename from statefun-python-sdk/examples/k8s/resources/Chart.yaml
rename to statefun-examples/statefun-python-k8s/resources/Chart.yaml
diff --git a/statefun-python-sdk/examples/k8s/resources/templates/config-map.yaml b/statefun-examples/statefun-python-k8s/resources/templates/config-map.yaml
similarity index 100%
rename from statefun-python-sdk/examples/k8s/resources/templates/config-map.yaml
rename to statefun-examples/statefun-python-k8s/resources/templates/config-map.yaml
diff --git a/statefun-python-sdk/examples/k8s/resources/templates/master-deployment.yaml b/statefun-examples/statefun-python-k8s/resources/templates/master-deployment.yaml
similarity index 100%
rename from statefun-python-sdk/examples/k8s/resources/templates/master-deployment.yaml
rename to statefun-examples/statefun-python-k8s/resources/templates/master-deployment.yaml
diff --git a/statefun-python-sdk/examples/k8s/resources/templates/master-rest-service.yaml b/statefun-examples/statefun-python-k8s/resources/templates/master-rest-service.yaml
similarity index 100%
rename from statefun-python-sdk/examples/k8s/resources/templates/master-rest-service.yaml
rename to statefun-examples/statefun-python-k8s/resources/templates/master-rest-service.yaml
diff --git a/statefun-python-sdk/examples/k8s/resources/templates/master-service.yaml b/statefun-examples/statefun-python-k8s/resources/templates/master-service.yaml
similarity index 100%
rename from statefun-python-sdk/examples/k8s/resources/templates/master-service.yaml
rename to statefun-examples/statefun-python-k8s/resources/templates/master-service.yaml
diff --git a/statefun-python-sdk/examples/k8s/resources/templates/python-worker-deployment.yaml b/statefun-examples/statefun-python-k8s/resources/templates/python-worker-deployment.yaml
similarity index 100%
rename from statefun-python-sdk/examples/k8s/resources/templates/python-worker-deployment.yaml
rename to statefun-examples/statefun-python-k8s/resources/templates/python-worker-deployment.yaml
diff --git a/statefun-python-sdk/examples/k8s/resources/templates/python-worker-service.yaml b/statefun-examples/statefun-python-k8s/resources/templates/python-worker-service.yaml
similarity index 100%
rename from statefun-python-sdk/examples/k8s/resources/templates/python-worker-service.yaml
rename to statefun-examples/statefun-python-k8s/resources/templates/python-worker-service.yaml
diff --git a/statefun-python-sdk/examples/k8s/resources/templates/worker-deployment.yaml b/statefun-examples/statefun-python-k8s/resources/templates/worker-deployment.yaml
similarity index 100%
rename from statefun-python-sdk/examples/k8s/resources/templates/worker-deployment.yaml
rename to statefun-examples/statefun-python-k8s/resources/templates/worker-deployment.yaml
diff --git a/statefun-python-sdk/examples/k8s/resources/values.yaml b/statefun-examples/statefun-python-k8s/resources/values.yaml
similarity index 100%
rename from statefun-python-sdk/examples/k8s/resources/values.yaml
rename to statefun-examples/statefun-python-k8s/resources/values.yaml