You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ra...@apache.org on 2020/05/23 22:21:34 UTC

[openwhisk-package-kafka] branch nodev created (now c1fdba6)

This is an automated email from the ASF dual-hosted git repository.

rabbah pushed a change to branch nodev
in repository https://gitbox.apache.org/repos/asf/openwhisk-package-kafka.git.


      at c1fdba6  Change nodejs:6 to default.

This branch includes the following new commits:

     new c1fdba6  Change nodejs:6 to default.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[openwhisk-package-kafka] 01/01: Change nodejs:6 to default.

Posted by ra...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rabbah pushed a commit to branch nodev
in repository https://gitbox.apache.org/repos/asf/openwhisk-package-kafka.git

commit c1fdba6ad3811d109b9027057da7ac8dc3776a66
Author: Rodric Rabbah <ro...@gmail.com>
AuthorDate: Sat May 23 18:21:15 2020 -0400

    Change nodejs:6 to default.
---
 installCatalog.sh | 2 +-
 installKafka.sh   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/installCatalog.sh b/installCatalog.sh
index 18f31bf..83ad03d 100755
--- a/installCatalog.sh
+++ b/installCatalog.sh
@@ -42,7 +42,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"}
+ACTION_RUNTIME_VERSION=${ACTION_RUNTIME_VERSION:="nodejs:default"}
 
 # If the auth key file exists, read the key in the file. Otherwise, take the
 # first argument as the key itself.
diff --git a/installKafka.sh b/installKafka.sh
index 595f2b4..cb3209d 100755
--- a/installKafka.sh
+++ b/installKafka.sh
@@ -75,7 +75,7 @@ cp -f kafkaFeed_package.json package.json
 zip -r kafkaFeed.zip lib package.json kafkaFeed.js
 cd $OLD_PATH
 
-$WSK_CLI -i --apihost "$EDGEHOST" action update --kind nodejs:6 messaging/kafkaFeed "$PACKAGE_HOME/action/kafkaFeed.zip" \
+$WSK_CLI -i --apihost "$EDGEHOST" action update --kind nodejs:default messaging/kafkaFeed "$PACKAGE_HOME/action/kafkaFeed.zip" \
     --auth "$AUTH" \
     -a feed true \
     -a description 'Feed to listen to Kafka messages' \
@@ -116,7 +116,7 @@ zip -r kafkaFeedWeb.zip lib package.json kafkaFeedWeb.js
 cd $OLD_PATH
 
 
-$WSK_CLI -i --apihost "$EDGEHOST" action update --kind nodejs:6 messagingWeb/kafkaFeedWeb "$PACKAGE_HOME/action/kafkaFeedWeb.zip" \
+$WSK_CLI -i --apihost "$EDGEHOST" action update --kind nodejs:default messagingWeb/kafkaFeedWeb "$PACKAGE_HOME/action/kafkaFeedWeb.zip" \
     --auth "$AUTH" \
     --web true \
     -a description 'Write a new trigger to Kafka provider DB' \