Skip to content

Commit f10ba10

Browse files
Jiaxin FanJiaxin Fan
Jiaxin Fan
authored and
Jiaxin Fan
committed
Add example json files
Add CI status Rebase resolved
1 parent 576be87 commit f10ba10

File tree

7 files changed

+20
-3
lines changed

7 files changed

+20
-3
lines changed

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,4 @@ jobs:
102102
run: |
103103
RUNTIME_NAME=${GITHUB_REF_NAME%@*}
104104
IMAGE_TAG=${GITHUB_REF_NAME##*@}
105-
./gradlew :core:$RUNTIME_NAME:distDocker -PdockerRegistry=docker.io -PdockerImagePrefix=openwhisk -PdockerImageTag=$IMAGE_TAG
105+
./gradlew :core:$RUNTIME_NAME:distDocker -PdockerRegistry=docker.io -PdockerImagePrefix=openwhisk -PdockerImageTag=$IMAGE_TAG

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -113,5 +113,4 @@ This will return the following runtime images with the following names: `action-
113113

114114
```
115115
./gradlew :tests:test
116-
```
117-
An update about the details of verifying a standalone container can be found [here](https://github.com/apache/openwhisk-runtime-nodejs/tree/master/docs/users)
116+
```

docs/users/standalone/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
# Tests for OpenWhisk NodeJS Runtime as Standalone Container
2121
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)
22+
[![Continuous Integration](https://github.com/apache/openwhisk-runtime-nodejs/actions/workflows/ci.yaml/badge.svg)](https://github.com/apache/openwhisk-runtime-nodejs/actions/workflows/ci.yaml)
2223

2324
This README walks you through how to build, customise and test Apache OpenWhisk Node.js runtime images.
2425
## Pre-requisites
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"value": { }
3+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"value": {
3+
"name": "js-helloworld-with-params",
4+
"main" : "main",
5+
"binary" : false,
6+
"code" : "function main(params) { return {payload: 'Hello ' + params.name + ' from ' + params.place + '!!!'} }"
7+
}
8+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"value": {
3+
"name": "Visitor",
4+
"place": "Earth"
5+
}
6+
}

0 commit comments

Comments
 (0)