This is an automated email from the ASF dual-hosted git repository.
japetrsn pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/incubator-openwhisk-package-kafka.git
The following commit(s) were added to refs/heads/master by this push:
new b563eef make kind on action install configurable (#317)
b563eef is described below
commit b563eefaf29c93dc07022ffc29ffb828b6419c4c
Author: Jason Peterson <[email protected]>
AuthorDate: Thu Feb 14 14:24:40 2019 -0500
make kind on action install configurable (#317)
---
installCatalog.sh | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/installCatalog.sh b/installCatalog.sh
index 552619e..d73d02c 100755
--- a/installCatalog.sh
+++ b/installCatalog.sh
@@ -25,6 +25,7 @@ DB_NAME="${4}ow_kafka_triggers"
APIHOST="$5"
WORKERS="$6"
INSTALL_PRODUCE_ACTION=${INSTALL_PRODUCE_ACTION:="true"}
+ACTION_RUNTIME_VERSION=${ACTION_RUNTIME_VERSION:="nodejs:6"}
# If the auth key file exists, read the key in the file. Otherwise, take the
# first argument as the key itself.
@@ -60,7 +61,7 @@ fi
cp -f messageHubFeed_package.json package.json
zip -r messageHubFeed.zip lib package.json messageHubFeed.js
-$WSK_CLI -i --apihost "$EDGEHOST" action update --kind nodejs:6
messaging/messageHubFeed "$PACKAGE_HOME/action/messageHubFeed.zip" \
+$WSK_CLI -i --apihost "$EDGEHOST" action update --kind
"$ACTION_RUNTIME_VERSION" messaging/messageHubFeed
"$PACKAGE_HOME/action/messageHubFeed.zip" \
--auth "$AUTH" \
-a feed true \
-a description 'Feed to list to Message Hub messages' \
@@ -100,7 +101,7 @@ zip -r messageHubFeedWeb.zip lib package.json
messageHubFeedWeb.js node_modules
cd $OLD_PATH
-$WSK_CLI -i --apihost "$EDGEHOST" action update --kind nodejs:6
messagingWeb/messageHubFeedWeb "$PACKAGE_HOME/action/messageHubFeedWeb.zip" \
+$WSK_CLI -i --apihost "$EDGEHOST" action update --kind
"$ACTION_RUNTIME_VERSION" messagingWeb/messageHubFeedWeb
"$PACKAGE_HOME/action/messageHubFeedWeb.zip" \
--auth "$AUTH" \
--web true \
-a description 'Write a new trigger to MH provider DB' \