Skip to content

Commit fff64bc

Browse files
authored
remove Node.js 12 based runtime (EOL April 30, 2022) (#218)
1 parent 339bc7b commit fff64bc

File tree

12 files changed

+3
-332
lines changed

12 files changed

+3
-332
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ deploy:
4242
all_branches: true
4343
repo: apache/openwhisk-runtime-nodejs
4444
- provider: script
45-
script: "./tools/travis/publish.sh openwhisk nodejs12Action nightly && ./tools/travis/publish.sh openwhisk nodejs14Action nightly && ./tools/travis/publish.sh openwhisk nodejs16Action nightly && ./tools/travis/publish.sh openwhisk typescript37Action nightly"
45+
script: "./tools/travis/publish.sh openwhisk nodejs14Action nightly && ./tools/travis/publish.sh openwhisk nodejs16Action nightly && ./tools/travis/publish.sh openwhisk typescript37Action nightly"
4646
on:
4747
branch: master
4848
repo: apache/openwhisk-runtime-nodejs

README.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ This repository contains sources files needed to build the Node.js runtimes for
2626

2727
The following Node.js runtime versions (with kind & image labels) are generated by the build system:
2828

29-
- Node.js 12.22.2 (`nodejs:12` & `openwhisk/action-nodejs-v12`)
3029
- Node.js 14.17.2 (`nodejs:14` & `openwhisk/action-nodejs-v14`)
3130
- Node.js 16.13.1 (`nodejs:16` & `openwhisk/action-nodejs-v16`)
3231

@@ -38,12 +37,6 @@ This README documents the build, customisation and testing of these runtime imag
3837

3938
If the deployment of Apache OpenWhisk includes these images in the runtime manifest, use the `--kind` parameter to select the Node.js runtime version.
4039

41-
### Node.js v12
42-
43-
```
44-
wsk action update myAction myAction.js --kind nodejs:12
45-
```
46-
4740
### Node.js v14
4841

4942
```
@@ -60,14 +53,13 @@ wsk action update myAction myAction.js --kind nodejs:16
6053

6154
All the runtime images are published by the project to Docker Hub @ [https://hub.docker.com/u/openwhisk](https://hub.docker.com/u/openwhisk)
6255

63-
- [https://hub.docker.com/r/openwhisk/action-nodejs-v12](https://hub.docker.com/r/openwhisk/action-nodejs-v12)
6456
- [https://hub.docker.com/r/openwhisk/action-nodejs-v14](https://hub.docker.com/r/openwhisk/action-nodejs-v14)
6557
- [https://hub.docker.com/r/openwhisk/action-nodejs-v16](https://hub.docker.com/r/openwhisk/action-nodejs-v16)
6658

6759
These images can be used to execute Node.js actions on any deployment of Apache OpenWhisk, even those without those images defined the in runtime manifest, using the `--docker` action parameter.
6860

6961
```
70-
wsk action update myAction myAction.js --docker openwhisk/action-nodejs-v12
62+
wsk action update myAction myAction.js --docker openwhisk/action-nodejs-v16
7163
```
7264

7365
If you build a custom version of the images, pushing those an external Docker Hub repository will allow you to use those on the Apache OpenWhisk deployment.
@@ -89,12 +81,11 @@ The `core/nodejsActionBase` folder contains the Node.js app server used to imple
8981
- Run the `distDocker` command to generate local Docker images for the different runtime versions.
9082

9183
```
92-
./gradlew core:nodejs12Action:distDocker
9384
./gradlew core:nodejs14Action:distDocker
9485
./gradlew core:nodejs16Action:distDocker
9586
```
9687

97-
This will return the following runtime images with the following names: `action-nodejs-v12`, `action-nodejs-v14` and `action-nodejs-v16`.
88+
This will return the following runtime images with the following names: `action-nodejs-v14` and `action-nodejs-v16`.
9889

9990
### Testing
10091

@@ -110,7 +101,6 @@ This will return the following runtime images with the following names: `action-
110101
- Build the custom Docker images used in local testing.
111102

112103
```
113-
./gradlew tests:dat:docker:nodejs12docker:distDocker
114104
./gradlew tests:dat:docker:nodejs14docker:distDocker
115105
./gradlew tests:dat:docker:nodejs16docker:distDocker
116106
```

core/nodejs12Action/.dockerignore

Lines changed: 0 additions & 13 deletions
This file was deleted.

core/nodejs12Action/CHANGELOG.md

Lines changed: 0 additions & 75 deletions
This file was deleted.

core/nodejs12Action/Dockerfile

Lines changed: 0 additions & 43 deletions
This file was deleted.

core/nodejs12Action/build.gradle

Lines changed: 0 additions & 86 deletions
This file was deleted.

settings.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,9 @@
1818
include 'tests'
1919

2020
include 'core:nodejsActionBase'
21-
include 'core:nodejs12Action'
2221
include 'core:nodejs14Action'
2322
include 'core:nodejs16Action'
2423
include 'core:typescript37Action'
25-
include 'tests:dat:docker:nodejs12docker'
2624
include 'tests:dat:docker:nodejs14docker'
2725
include 'tests:dat:docker:nodejs16docker'
2826
include 'tests:dat:docker:typescript37docker'

tests/dat/docker/nodejs12docker/Dockerfile

Lines changed: 0 additions & 19 deletions
This file was deleted.

tests/dat/docker/nodejs12docker/build.gradle

Lines changed: 0 additions & 19 deletions
This file was deleted.

tests/dat/docker/nodejs12docker/package.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)