Skip to content

Commit

Permalink
Remove EOL templates
Browse files Browse the repository at this point in the history
EOL templates are now available in a separate repository

https://github.com/openfaas/templates-classic

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
alexellis committed Jan 23, 2025
1 parent a14e834 commit c5224a6
Show file tree
Hide file tree
Showing 62 changed files with 17 additions and 1,125 deletions.
25 changes: 17 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,33 @@ See: `faas-cli template store list` to see which templates are both: recommended
| Name | Language | Version | Linux base | Watchdog | Link
|:-----|:---------|:--------|:-----------|:---------|:----
| dockerfile | Dockerfile | N/A | Alpine Linux | classic | [Dockerfile template](https://github.com/openfaas/templates/tree/master/template/dockerfile)
| go | Go | 1.23 | Alpine Linux | classic | [Legacy Go template (deprecated)](https://github.com/openfaas/templates/tree/master/template/go)
| node18 | NodeJS | 18 | Alpine Linux | of-watchdog | [NodeJS template (deprecated)](https://github.com/openfaas/templates/tree/master/template/node18)
| node20 | NodeJS | 20 | Alpine Linux | of-watchdog | [NodeJS template](https://github.com/openfaas/templates/tree/master/template/node20)
| bun-express | Bun | 1.0 | Alpine Linux | of-watchdog | [NodeJS template](https://github.com/openfaas/templates/tree/master/template/bun-express)
| node | NodeJS | 20 | Alpine Linux | classic | [Legacy NodeJS template (deprecated)](https://github.com/openfaas/templates/tree/master/template/node)
| python3 | Python | 3 | Alpine Linux | classic | [Legacy Python 3 template](https://github.com/openfaas/templates/tree/master/template/python3)
| python3-debian | Python | 3 | Debian Linux | classic | [Legacy Python 3 Debian template](https://github.com/openfaas/templates/tree/master/template/python3-debian)
| python27 | Python | 2.7.18 | Alpine Linux | classic | [Python 2.7 template (deprecated)](https://github.com/openfaas/templates/tree/master/template/python27)
| java11-vert-x | Java and [Vert.x](https://vertx.io/) | 11 | Debian GNU/Linux | of-watchdog | [Java LTS template](https://github.com/openfaas/templates/tree/master/template/java11-vert-x)
| java11 | Java | 11 | Debian GNU/Linux | of-watchdog | [Deprecated Java template](https://github.com/openfaas/templates/tree/master/template/java11)
| java17 | Java | 11 | Debian GNU/Linux | of-watchdog | [Java LTS template](https://github.com/openfaas/templates/tree/master/template/java17)
| ruby | Ruby | 3.3 | Alpine Linux | classic| [Ruby template](https://github.com/openfaas/templates/tree/master/template/ruby)
| php7 | PHP | 7.4 | Alpine Linux | classic | [PHP 7 template](https://github.com/openfaas/templates/tree/master/template/php7)
| php8 | PHP | 8.2 | Alpine Linux | classic | [PHP 8 template](https://github.com/openfaas/templates/tree/master/template/php8)
| csharp | C# | N/A | Debian GNU/Linux 9 | classic | [Legacy C# template (deprecated)](https://github.com/openfaas/templates/tree/master/template/csharp)

For more information on the templates check out the [docs](https://docs.openfaas.com/cli/templates/).

### Moved Classic Templates

A number of long deprecated templates have been moved out of this repository into a new repository to indicate their End Of Life (EOL) status.

In most cases, alternatives have already been provided and are listed int the Function Store, or the [Languages section of the OpenFaaS documentation](https://docs.openfaas.com/languages/overview/).

Moved templates:

* go
* python3
* python3-debian
* python27
* ruby
* csharp
* bun-express
* node

### Classic vs of-watchdog templates

The current version of OpenFaaS templates use the original `watchdog` which `forks` processes - a bit like CGI. The newer watchdog [of-watchdog](https://github.com/openfaas/of-watchdog) is more similar to fastCGI/HTTP and should be used for any benchmarking or performance testing along with one of the newer templates. Contact the project for more information.
Expand Down
59 changes: 0 additions & 59 deletions template/bun/Dockerfile

This file was deleted.

15 changes: 0 additions & 15 deletions template/bun/README.md

This file was deleted.

Binary file removed template/bun/bun.lockb
Binary file not shown.
15 changes: 0 additions & 15 deletions template/bun/function/README.md

This file was deleted.

Binary file removed template/bun/function/bun.lockb
Binary file not shown.
12 changes: 0 additions & 12 deletions template/bun/function/handler.js

This file was deleted.

22 changes: 0 additions & 22 deletions template/bun/function/jsconfig.json

This file was deleted.

18 changes: 0 additions & 18 deletions template/bun/function/package.json

This file was deleted.

144 changes: 0 additions & 144 deletions template/bun/index.js

This file was deleted.

22 changes: 0 additions & 22 deletions template/bun/jsconfig.json

This file was deleted.

17 changes: 0 additions & 17 deletions template/bun/package.json

This file was deleted.

4 changes: 0 additions & 4 deletions template/bun/template.yml

This file was deleted.

2 changes: 0 additions & 2 deletions template/csharp/.dockerignore

This file was deleted.

2 changes: 0 additions & 2 deletions template/csharp/.gitignore

This file was deleted.

Loading

0 comments on commit c5224a6

Please sign in to comment.