This is an automated email from the ASF dual-hosted git repository. pdesai pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-devtools.git
The following commit(s) were added to refs/heads/master by this push: new 0e7050a making params (code and action name) optional (#226) 0e7050a is described below commit 0e7050acb46d7e57373f807a40f67aa9388d5e06 Author: Priti Desai <pde...@us.ibm.com> AuthorDate: Mon Mar 25 11:16:44 2019 -0700 making params (code and action name) optional (#226) * making code and main optional * adding reference to screen recoding in README * fixing typo * updating video link --- knative-build/runtimes/javascript/README.md | 6 +++++- knative-build/runtimes/javascript/buildtemplate.yaml | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/knative-build/runtimes/javascript/README.md b/knative-build/runtimes/javascript/README.md index a1da655..1a06374 100644 --- a/knative-build/runtimes/javascript/README.md +++ b/knative-build/runtimes/javascript/README.md @@ -74,7 +74,7 @@ kube-system kube-scheduler-docker-desktop 1/1 Runni ``` </details> -## Intall the BuildTemplate for the NodeJS runtime +## Install the BuildTemplate for the NodeJS runtime ``` $ kubectl apply --filename buildtemplate.yaml @@ -308,3 +308,7 @@ spec: ```bash kubectl apply -f service.yaml ``` + +### See Hello World Live in Action + +* [Screen Recording of Hello World](https://youtu.be/BG1t2t7UvUA) diff --git a/knative-build/runtimes/javascript/buildtemplate.yaml b/knative-build/runtimes/javascript/buildtemplate.yaml index c88d982..82de16e 100644 --- a/knative-build/runtimes/javascript/buildtemplate.yaml +++ b/knative-build/runtimes/javascript/buildtemplate.yaml @@ -21,8 +21,10 @@ spec: default: "knative" - name: OW_ACTION_NAME description: name of the action + default: "" - name: OW_ACTION_CODE description: JavaScript source code to be evaluated + default: "" - name: OW_ACTION_MAIN description: name of the function in the "__OW_ACTION_CODE" to call as the action handler default: "main"