From c51a782b2b35fdc28025023a6cad4d2e43835826 Mon Sep 17 00:00:00 2001 From: Alex Ellis Date: Thu, 9 May 2019 13:11:38 +0100 Subject: [PATCH 01/23] Add ARM64 template Signed-off-by: Alex Ellis --- templates.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/templates.json b/templates.json index 11b433e..0464126 100644 --- a/templates.json +++ b/templates.json @@ -125,6 +125,15 @@ "repo": "https://github.com/openfaas/templates", "official": "false" }, + { + "template": "node10-express-arm64", + "platform": "arm64", + "language": "NodeJS", + "source": "openfaas-incubator", + "description": "NodeJS 10 Express arm64 template", + "repo": "https://github.com/openfaas-incubator/node10-express-template", + "official": "false" + }, { "template": "node10-express-armhf", "platform": "armhf", @@ -341,4 +350,4 @@ "repo": "https://github.com/pmlopes/openfaas-quarkus-native-template", "official": "false" } -] \ No newline at end of file +] From 02316f44b69e65f7e1d1d8cc13d060524cdc2ac3 Mon Sep 17 00:00:00 2001 From: Alex Ellis Date: Thu, 16 May 2019 15:29:59 +0100 Subject: [PATCH 02/23] Update rust to forked version Signed-off-by: Alex Ellis --- templates.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates.json b/templates.json index 0464126..2c248bf 100644 --- a/templates.json +++ b/templates.json @@ -275,7 +275,7 @@ "language": "Rust", "source": "booyaa", "description": "Rust template", - "repo": "https://github.com/booyaa/openfaas-rust-template", + "repo": "https://github.com/openfaas-incubator/openfaas-rust-template", "official": "false" }, { From 2411e708921e00b49fec3c5e835bc37431f940f8 Mon Sep 17 00:00:00 2001 From: Alex Ellis Date: Sat, 25 May 2019 21:39:50 +0100 Subject: [PATCH 03/23] Add "Face blur by Endre Simo" Signed-off-by: Alex Ellis --- functions.json | 18 ++++++++++++++++++ store.json | 16 ++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/functions.json b/functions.json index 64a49e8..0cfbf66 100644 --- a/functions.json +++ b/functions.json @@ -263,6 +263,24 @@ "com.openfaas.ui.ext": "jpg" } }, + { + "title": "Face blur by Endre Simo", + "description": "Blur out faces detected in JPEGs. Invoke with the URL to the image.", + "images": { + "x86_64": "esimov/pigo-openfaas-faceblur:0.1" + }, + "name": "face-blur", + "repo_url": "https://github.com/esimov/pigo-openfaas-faceblur", + "readOnlyRootFilesystem": true, + "environment": { + "output_mode": "image", + "input_mode": "url", + "content_type": "image/jpeg" + }, + "labels": { + "com.openfaas.ui.ext": "jpg" + } + }, { "title": "Left-Pad", "description": "left-pad on OpenFaaS", diff --git a/store.json b/store.json index 26241b0..c6c06f4 100644 --- a/store.json +++ b/store.json @@ -47,6 +47,22 @@ "repo_url": "https://github.com/stefanprodan/openfaas-certinfo", "readOnlyRootFilesystem": true }, + { + "title": "Face blur by Endre Simo", + "description": "Blur out faces detected in JPEGs. Invoke with the URL to the image.", + "image": "esimov/pigo-openfaas-faceblur:0.1", + "name": "face-detect-pigo", + "repo_url": "https://github.com/esimov/pigo-openfaas", + "readOnlyRootFilesystem": true, + "environment": { + "input_mode": "url", + "output_mode": "image", + "content_type": "image/jpeg" + }, + "labels": { + "com.openfaas.ui.ext": "jpg" + } + }, { "title": "Face Detection with Pigo", "description": "Detect faces in images using the Pigo face detection library. You provide an image URI and the function draws boxes around the detected faces.", From 102279e67365ac1fa822ab987653d70984499189 Mon Sep 17 00:00:00 2001 From: Alex Ellis Date: Sat, 25 May 2019 21:43:41 +0100 Subject: [PATCH 04/23] Switch to OFC build for face-blue Signed-off-by: Alex Ellis --- functions.json | 2 +- store.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/functions.json b/functions.json index 0cfbf66..829735c 100644 --- a/functions.json +++ b/functions.json @@ -267,7 +267,7 @@ "title": "Face blur by Endre Simo", "description": "Blur out faces detected in JPEGs. Invoke with the URL to the image.", "images": { - "x86_64": "esimov/pigo-openfaas-faceblur:0.1" + "x86_64": "ofcommunity/teamserverless-pigo-openfaas-faceblur-pigo-openfaas-faceblur:0.1-master-7018614" }, "name": "face-blur", "repo_url": "https://github.com/esimov/pigo-openfaas-faceblur", diff --git a/store.json b/store.json index c6c06f4..9cd7e7b 100644 --- a/store.json +++ b/store.json @@ -50,9 +50,9 @@ { "title": "Face blur by Endre Simo", "description": "Blur out faces detected in JPEGs. Invoke with the URL to the image.", - "image": "esimov/pigo-openfaas-faceblur:0.1", - "name": "face-detect-pigo", - "repo_url": "https://github.com/esimov/pigo-openfaas", + "image": "ofcommunity/teamserverless-pigo-openfaas-faceblur-pigo-openfaas-faceblur:0.1-master-7018614", + "name": "face-blur", + "repo_url": "https://github.com/esimov/pigo-openfaas-faceblur", "readOnlyRootFilesystem": true, "environment": { "input_mode": "url", From 6954308ea87c561b0d9e3bb467dc33b16be25702 Mon Sep 17 00:00:00 2001 From: Alex Ellis Date: Wed, 29 May 2019 08:20:52 +0100 Subject: [PATCH 05/23] Add dockerfile-armhf Signed-off-by: Alex Ellis --- templates.json | 41 +++++++++++++++++++++++++---------------- 1 file changed, 25 insertions(+), 16 deletions(-) diff --git a/templates.json b/templates.json index 2c248bf..00c247c 100644 --- a/templates.json +++ b/templates.json @@ -17,6 +17,15 @@ "repo": "https://github.com/openfaas/templates", "official": "true" }, + { + "template": "dockerfile-armhf", + "platform": "armhf", + "language": "Dockerfile", + "source": "openfaas", + "description": "Official Dockerfile armhf template", + "repo": "https://github.com/openfaas/templates", + "official": "true" + }, { "template": "go-armhf", "platform": "armhf", @@ -123,7 +132,7 @@ "source": "openfaas", "description": "Official Ruby 2.5 template", "repo": "https://github.com/openfaas/templates", - "official": "false" + "official": "true" }, { "template": "node10-express-arm64", @@ -132,7 +141,7 @@ "source": "openfaas-incubator", "description": "NodeJS 10 Express arm64 template", "repo": "https://github.com/openfaas-incubator/node10-express-template", - "official": "false" + "official": "true" }, { "template": "node10-express-armhf", @@ -141,7 +150,7 @@ "source": "openfaas-incubator", "description": "NodeJS 10 Express armhf template", "repo": "https://github.com/openfaas-incubator/node10-express-template", - "official": "false" + "official": "true" }, { "template": "node10-express", @@ -159,7 +168,7 @@ "source": "openfaas-incubator", "description": "Ruby 2.4 HTTP template", "repo": "https://github.com/openfaas-incubator/ruby-http", - "official": "false" + "official": "true" }, { "template": "python27-flask", @@ -168,7 +177,7 @@ "source": "openfaas-incubator", "description": "Python 2.7 Flask template", "repo": "https://github.com/openfaas-incubator/python-flask-template", - "official": "false" + "official": "true" }, { "template": "python3-flask-armhf", @@ -177,7 +186,7 @@ "source": "openfaas-incubator", "description": "Python 3.6 Flask armhf template", "repo": "https://github.com/openfaas-incubator/python-flask-template", - "official": "false" + "official": "true" }, { "template": "python3-flask", @@ -186,7 +195,7 @@ "source": "openfaas-incubator", "description": "Python 3.6 Flask template", "repo": "https://github.com/openfaas-incubator/python-flask-template", - "official": "false" + "official": "true" }, { "template": "node8-express-armhf", @@ -195,7 +204,7 @@ "source": "openfaas-incubator", "description": "NodeJS 8 Express armhf template", "repo": "https://github.com/openfaas-incubator/node8-express-template", - "official": "false" + "official": "true" }, { "template": "node8-express", @@ -204,7 +213,7 @@ "source": "openfaas-incubator", "description": "NodeJS 8 Express template", "repo": "https://github.com/openfaas-incubator/node8-express-template", - "official": "false" + "official": "true" }, { "template": "golang-http-armhf", @@ -213,7 +222,7 @@ "source": "openfaas-incubator", "description": "Golang HTTP armhf template", "repo": "https://github.com/openfaas-incubator/golang-http-template", - "official": "false" + "official": "true" }, { "template": "golang-http", @@ -222,7 +231,7 @@ "source": "openfaas-incubator", "description": "Golang HTTP template", "repo": "https://github.com/openfaas-incubator/golang-http-template", - "official": "false" + "official": "true" }, { "template": "golang-middleware-armhf", @@ -231,7 +240,7 @@ "source": "openfaas-incubator", "description": "Golang Middleware armhf template", "repo": "https://github.com/openfaas-incubator/golang-http-template", - "official": "false" + "official": "true" }, { "template": "golang-middleware", @@ -240,7 +249,7 @@ "source": "openfaas-incubator", "description": "Golang Middleware template", "repo": "https://github.com/openfaas-incubator/golang-http-template", - "official": "false" + "official": "true" }, { "template": "python3-debian", @@ -249,7 +258,7 @@ "source": "openfaas-incubator", "description": "Python 3.6 Debian template", "repo": "https://github.com/openfaas-incubator/python3-debian", - "official": "false" + "official": "true" }, { "template": "powershell-template", @@ -258,7 +267,7 @@ "source": "openfaas-incubator", "description": "Powershell Core Ubuntu:16.04 template", "repo": "https://github.com/openfaas-incubator/powershell-template", - "official": "false" + "official": "true" }, { "template": "powershell-http-template", @@ -267,7 +276,7 @@ "source": "openfaas-incubator", "description": "Powershell Core HTTP Ubuntu:16.04 template", "repo": "https://github.com/openfaas-incubator/powershell-http-template", - "official": "false" + "official": "true" }, { "template": "rust", From d04498c9d07b4f124c8df3c0220d64b35bb51f12 Mon Sep 17 00:00:00 2001 From: Alex Ellis Date: Thu, 30 May 2019 14:41:54 +0100 Subject: [PATCH 06/23] Add normalisecolor function Signed-off-by: Alex Ellis --- functions.json | 12 +++++++++++- store.json | 18 +++++++++++++++++- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/functions.json b/functions.json index 829735c..817d393 100644 --- a/functions.json +++ b/functions.json @@ -54,7 +54,7 @@ "description": "Turn black and white photos to color using a URL as the request. The colorization function was popularised by @colorisebot by Alex Ellis and Finnian Anderson.", "icon": "https://pbs.twimg.com/profile_images/927538119901175814/4uhYwTyC_400x400.jpg", "images": { - "x86_64": "alexellis2/openfaas-colorization:0.4.0" + "x86_64": "alexellis2/openfaas-colorization:0.4.1" }, "fprocess": "python -u index.py", "repo_url": "https://github.com/alexellis/repaint-the-past", @@ -292,6 +292,16 @@ "repo_url": "https://github.com/faas-and-furious/faas-leftpad", "readOnlyRootFilesystem": true }, + { + "title": "normalisecolor", + "description": "Automatically fix white-balance in photos through imagemagick.", + "images": { + "x86_64": "alexellis2/normalisecolor:0.2.1" + }, + "name": "normalisecolor", + "repo_url": "https://github.com/alexellis/repaint-the-past", + "readOnlyRootFilesystem": false + }, { "title": "mememachine", "description": "Turn any image into a meme.", diff --git a/store.json b/store.json index 9cd7e7b..97064b3 100644 --- a/store.json +++ b/store.json @@ -3,7 +3,7 @@ "icon": "https://pbs.twimg.com/profile_images/927538119901175814/4uhYwTyC_400x400.jpg", "title": "Colorization", "description": "Turn black and white photos to color using a URL as the request. The colorization function was popularised by @colorisebot by Alex Ellis and Finnian Anderson.", - "image": "alexellis2/openfaas-colorization:0.4.0", + "image": "alexellis2/openfaas-colorization:0.4.1", "name": "colorise", "fprocess": "python -u index.py", "repo_url": "https://github.com/alexellis/repaint-the-past", @@ -228,6 +228,22 @@ "repo_url": "https://github.com/faas-and-furious/faas-leftpad", "readOnlyRootFilesystem": true }, + { + "title": "normalisecolor", + "description": "Automatically fix white-balance in photos through imagemagick.", + "image": "alexellis2/normalisecolor:0.2.1", + "name": "normalisecolor", + "fprocess": "convert - -flatten +matte -separate -normalize -combine fd:1", + "repo_url": "https://github.com/alexellis/repaint-the-past", + "labels": { + "com.openfaas.ui.ext": "jpg" + }, + "environment": { + "read_timeout": "60", + "write_timeout": "60", + "write_debug": "false" + } + }, { "title": "mememachine", "description": "Turn any image into a meme.", From 3c2c96303c4b7dfd30cbd8a10ca9ec9cdb021845 Mon Sep 17 00:00:00 2001 From: Alex Ellis Date: Thu, 30 May 2019 14:51:23 +0100 Subject: [PATCH 07/23] Add icon to normalisecolor Signed-off-by: Alex Ellis --- functions.json | 1 + store.json | 1 + 2 files changed, 2 insertions(+) diff --git a/functions.json b/functions.json index 817d393..42dcf06 100644 --- a/functions.json +++ b/functions.json @@ -298,6 +298,7 @@ "images": { "x86_64": "alexellis2/normalisecolor:0.2.1" }, + "icon": "https://github.com/alexellis/repaint-the-past/raw/master/normalise-color-icon.png", "name": "normalisecolor", "repo_url": "https://github.com/alexellis/repaint-the-past", "readOnlyRootFilesystem": false diff --git a/store.json b/store.json index 97064b3..78c3e19 100644 --- a/store.json +++ b/store.json @@ -230,6 +230,7 @@ }, { "title": "normalisecolor", + "icon": "https://github.com/alexellis/repaint-the-past/raw/master/normalise-color-icon.png", "description": "Automatically fix white-balance in photos through imagemagick.", "image": "alexellis2/normalisecolor:0.2.1", "name": "normalisecolor", From 1b0b062deaf0ed504a66eaab9874759f6264ca08 Mon Sep 17 00:00:00 2001 From: Tomasz Miklas <230130+tmiklas@users.noreply.github.com> Date: Thu, 30 May 2019 15:48:35 +0100 Subject: [PATCH 08/23] Added Perl template - resolves issue #81 Signed-off-by: Tomasz Miklas <230130+tmiklas@users.noreply.github.com> --- templates.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/templates.json b/templates.json index 00c247c..9503227 100644 --- a/templates.json +++ b/templates.json @@ -358,5 +358,14 @@ "description": "Quarkus.io native image template", "repo": "https://github.com/pmlopes/openfaas-quarkus-native-template", "official": "false" + }, + { + "template": "perl-alpine", + "platform": "x86_64", + "language": "Perl", + "source": "tmiklas", + "description": "Perl language template based on Alpine image", + "repo": "https://github.com/tmiklas/openfaas-perl-templates", + "official": "false" } ] From e5eba956c05d9b0193c6028a58dd0a5562b0ace8 Mon Sep 17 00:00:00 2001 From: Alex Ellis Date: Fri, 31 May 2019 15:19:45 +0100 Subject: [PATCH 09/23] Add python3-http Signed-off-by: Alex Ellis --- templates.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/templates.json b/templates.json index 9503227..84476f3 100644 --- a/templates.json +++ b/templates.json @@ -197,6 +197,24 @@ "repo": "https://github.com/openfaas-incubator/python-flask-template", "official": "true" }, + { + "template": "python3-http", + "platform": "x86_64", + "language": "Python", + "source": "openfaas-incubator", + "description": "Python 3.6 with Flask and HTTP", + "repo": "https://github.com/openfaas-incubator/python-flask-template", + "official": "true" + }, + { + "template": "python3-http-armhf", + "platform": "armhf", + "language": "Python", + "source": "openfaas-incubator", + "description": "Python 3.6 with Flask and HTTP for ARMHF", + "repo": "https://github.com/openfaas-incubator/python-flask-template", + "official": "true" + }, { "template": "node8-express-armhf", "platform": "armhf", From 0f4514c442b05deb9de264572f252e4b7079bf40 Mon Sep 17 00:00:00 2001 From: Richard Gee Date: Fri, 31 May 2019 14:20:05 +0100 Subject: [PATCH 10/23] Remove unnecessary network attribute Signed-off-by: Richard Gee --- functions.json | 3 --- store-arm64.json | 2 -- store-armhf.json | 1 - 3 files changed, 6 deletions(-) diff --git a/functions.json b/functions.json index 42dcf06..67df60e 100644 --- a/functions.json +++ b/functions.json @@ -11,7 +11,6 @@ "x86_64": "functions/nodeinfo:latest" }, "fprocess": "node main.js", - "network": "func_functions", "repo_url": "https://github.com/openfaas/faas/tree/master/sample-functions/NodeInfo" }, { @@ -22,7 +21,6 @@ "arm64": "functions/alpine:latest-arm64" }, "fprocess": "sha512sum", - "network": "func_functions", "repo_url": "https://github.com/openfaas/faas/tree/master/sample-functions/AlpineFunction" }, { @@ -45,7 +43,6 @@ "armhf": "rgee0/certinfo:armhf", "x86_64": "stefanprodan/certinfo" }, - "network": "func_functions", "repo_url": "https://github.com/stefanprodan/openfaas-certinfo" }, { diff --git a/store-arm64.json b/store-arm64.json index 755b982..abbbbd9 100644 --- a/store-arm64.json +++ b/store-arm64.json @@ -5,7 +5,6 @@ "image": "functions/nodeinfo:arm64", "name": "nodeinfo", "fprocess": "node main.js", - "network": "func_functions", "repo_url": "https://github.com/openfaas/faas/tree/master/sample-functions/NodeInfo" }, { @@ -14,7 +13,6 @@ "image": "functions/alpine:latest-arm64", "name": "sha512sum", "fprocess": "sha512sum", - "network": "func_functions", "repo_url": "https://github.com/openfaas/faas/tree/master/sample-functions/AlpineFunction" } ] diff --git a/store-armhf.json b/store-armhf.json index 6ea6eab..1c4f314 100644 --- a/store-armhf.json +++ b/store-armhf.json @@ -43,7 +43,6 @@ "description": "Returns SSL/TLS certificate information for a given URL", "image": "rgee0/certinfo:armhf", "name": "certinfo", - "network": "func_functions", "repo_url": "https://github.com/stefanprodan/openfaas-certinfo" }, { From a0b2a8f9b2e97d743eeb338729a2723986d71856 Mon Sep 17 00:00:00 2001 From: Martin Dekov Date: Fri, 31 May 2019 06:54:07 -0700 Subject: [PATCH 11/23] Move function values to golang duration Moving function definitions from integers to golang duration Signed-off-by: Martin Dekov --- functions.json | 20 ++++++++++---------- store-armhf.json | 14 +++++++------- store.json | 40 ++++++++++++++++++++-------------------- 3 files changed, 37 insertions(+), 37 deletions(-) diff --git a/functions.json b/functions.json index 67df60e..419c905 100644 --- a/functions.json +++ b/functions.json @@ -60,8 +60,8 @@ }, "environment": { "url_mode": "true", - "read_timeout": "60", - "write_timeout": "60", + "read_timeout": "60s", + "write_timeout": "60s", "write_debug": "false" } }, @@ -75,8 +75,8 @@ "fprocess": "python3 index.py", "repo_url": "https://github.com/faas-and-furious/inception-function", "environment": { - "read_timeout": "60", - "write_timeout": "60" + "read_timeout": "60s", + "write_timeout": "60s" } }, { @@ -172,8 +172,8 @@ "name": "nmap", "repo_url": "https://github.com/openfaas/faas/tree/master/sample-functions/Nmap", "environment": { - "read_timeout": "300", - "write_timeout": "300" + "read_timeout": "300s", + "write_timeout": "300s" } }, { @@ -200,8 +200,8 @@ "com.openfaas.ui.ext": "mp4" }, "environment": { - "read_timeout": "300", - "write_timeout": "300" + "read_timeout": "300s", + "write_timeout": "300s" } }, { @@ -218,8 +218,8 @@ "com.openfaas.ui.ext": "mp3" }, "environment": { - "read_timeout": "60", - "write_timeout": "60" + "read_timeout": "60s", + "write_timeout": "60s" } }, { diff --git a/store-armhf.json b/store-armhf.json index 1c4f314..6ea2a2e 100644 --- a/store-armhf.json +++ b/store-armhf.json @@ -26,7 +26,7 @@ "title": "Manifest Query", "description": "Query an image on the Docker Hub for supported architectures - by Phil Estes", "image": "rgee0/of-mquery:1.2", - "fprocess": "./mquery", + "fprocess": "./mquery", "name": "mquery", "repo_url": "https://github.com/rgee0/mquery/tree/openfaaschanges" }, @@ -37,7 +37,7 @@ "name": "nslookup", "repo_url": "https://github.com/jockdarock/nslookup-arm-faas" }, - { + { "icon": "https://raw.githubusercontent.com/stefanprodan/openfaas-certinfo/master/logo.png", "title": "SSL/TLS cert info", "description": "Returns SSL/TLS certificate information for a given URL", @@ -45,7 +45,7 @@ "name": "certinfo", "repo_url": "https://github.com/stefanprodan/openfaas-certinfo" }, - { + { "icon": "https://ssl.gstatic.com/translate/community/backgrounds/globe.png", "title": "OpenFaaS Text-to-Speech", "description": "Generate an MP3 of text using Google's Text-to-Speech", @@ -55,9 +55,9 @@ "labels": { "com.openfaas.ui.ext": "mp3" }, - "environment": { - "read_timeout": "60", - "write_timeout": "60" + "environment": { + "read_timeout": "60s", + "write_timeout": "60s" } } -] +] \ No newline at end of file diff --git a/store.json b/store.json index 78c3e19..f966400 100644 --- a/store.json +++ b/store.json @@ -12,8 +12,8 @@ }, "environment": { "url_mode": "true", - "read_timeout": "60", - "write_timeout": "60", + "read_timeout": "60s", + "write_timeout": "60s", "write_debug": "false" } }, @@ -24,9 +24,9 @@ "name": "inception", "fprocess": "python3 index.py", "repo_url": "https://github.com/faas-and-furious/inception-function", - "environment": { - "read_timeout": "60", - "write_timeout": "60" + "environment": { + "read_timeout": "60s", + "write_timeout": "60s" } }, { @@ -85,7 +85,7 @@ "envProcess": "python ./handler.py", "name": "sentimentanalysis", "repo_url": "https://github.com/openfaas/faas/tree/master/sample-functions/SentimentAnalysis" - }, + }, { "title": "Figlet", "description": "OpenFaaS Figlet image. This repository comes with the blog post http://jmkhael.io/create-a-serverless-ascii-banner-with-faas/", @@ -146,9 +146,9 @@ "image": "functions/nmap:0.13.0", "name": "nmap", "repo_url": "https://github.com/openfaas/faas/tree/master/sample-functions/Nmap", - "environment": { - "read_timeout": "300", - "write_timeout": "300" + "environment": { + "read_timeout": "300s", + "write_timeout": "300s" } }, { @@ -170,9 +170,9 @@ "labels": { "com.openfaas.ui.ext": "mp4" }, - "environment": { - "read_timeout": "300", - "write_timeout": "300" + "environment": { + "read_timeout": "300s", + "write_timeout": "300s" } }, { @@ -185,9 +185,9 @@ "labels": { "com.openfaas.ui.ext": "mp3" }, - "environment": { - "read_timeout": "60", - "write_timeout": "60" + "environment": { + "read_timeout": "60s", + "write_timeout": "60s" } }, { @@ -196,12 +196,12 @@ "image": "jockdarock/nslookupfaas:master", "name": "nslookup", "repo_url": "https://github.com/jockdarock/nslookup_faas" - }, + }, { "title": "Docker Image Manifest Query", "description": "Query an image on the Docker Hub for supported architectures - by Phil Estes", "image": "rgee0/of-mquery:1.2", - "fprocess": "./mquery", + "fprocess": "./mquery", "name": "mquery", "repo_url": "https://github.com/rgee0/mquery/tree/openfaaschanges" }, @@ -240,8 +240,8 @@ "com.openfaas.ui.ext": "jpg" }, "environment": { - "read_timeout": "60", - "write_timeout": "60", + "read_timeout": "60s", + "write_timeout": "60s", "write_debug": "false" } }, @@ -255,4 +255,4 @@ "com.openfaas.ui.ext": "jpg" } } -] +] \ No newline at end of file From bb0be9098167652b4e6b98aca44fe08ac190bcbe Mon Sep 17 00:00:00 2001 From: Daniel Llewellyn Date: Thu, 17 Jan 2019 16:41:23 +0000 Subject: [PATCH 12/23] Add awesomify function Signed-off-by: Daniel Llewellyn --- store.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/store.json b/store.json index f966400..63f0124 100644 --- a/store.json +++ b/store.json @@ -254,5 +254,18 @@ "labels": { "com.openfaas.ui.ext": "jpg" } + }, + { + "title": "Awesomify", + "description": "Make anyone or anything awesome! Pass in the name of a thing or person either in a POST body or a GET parameter named 'q'. The function will return an OGG/Opus audio file with your awesome thing awesomified. For best results use a singular name for your awesome thing. (SPOILER: The audio file contains the 'Everything is Awesome' track by Teegan and Sara mixed-up with your awesome thing.)", + "image": "diddledan/awesomify:0.1", + "name": "awesomify", + "repo_url": "https://github.com/diddledan/awesomify", + "environment": { + "content_type": "audio/ogg" + }, + "labels": { + "com.openfaas.ui.ext": "ogg" + } } ] \ No newline at end of file From 8861176c878a2ee09854ccfbdee1dbc55a75f131 Mon Sep 17 00:00:00 2001 From: Burton Rheutan Date: Tue, 4 Jun 2019 16:42:37 -0500 Subject: [PATCH 13/23] Add Node.js 10 Express Service template Also update the existing Node.js templates naming and description to use official naming and better explaination of the template Signed-off-by: Burton Rheutan --- templates.json | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/templates.json b/templates.json index 84476f3..f9e7874 100644 --- a/templates.json +++ b/templates.json @@ -139,7 +139,7 @@ "platform": "arm64", "language": "NodeJS", "source": "openfaas-incubator", - "description": "NodeJS 10 Express arm64 template", + "description": "Node.js 10 powered by express arm64 template", "repo": "https://github.com/openfaas-incubator/node10-express-template", "official": "true" }, @@ -148,7 +148,7 @@ "platform": "armhf", "language": "NodeJS", "source": "openfaas-incubator", - "description": "NodeJS 10 Express armhf template", + "description": "Node.js 10 powered by express armhf template", "repo": "https://github.com/openfaas-incubator/node10-express-template", "official": "true" }, @@ -157,7 +157,7 @@ "platform": "x86_64", "language": "NodeJS", "source": "openfaas-incubator", - "description": "NodeJS 10 Express template", + "description": "Node.js 10 powered by express template", "repo": "https://github.com/openfaas-incubator/node10-express-template", "official": "true" }, @@ -220,7 +220,7 @@ "platform": "armhf", "language": "NodeJS", "source": "openfaas-incubator", - "description": "NodeJS 8 Express armhf template", + "description": "Node.js 8 powered by express armhf template", "repo": "https://github.com/openfaas-incubator/node8-express-template", "official": "true" }, @@ -229,7 +229,7 @@ "platform": "x86_64", "language": "NodeJS", "source": "openfaas-incubator", - "description": "NodeJS 8 Express template", + "description": "Node.js 8 powered by express template", "repo": "https://github.com/openfaas-incubator/node8-express-template", "official": "true" }, @@ -385,5 +385,14 @@ "description": "Perl language template based on Alpine image", "repo": "https://github.com/tmiklas/openfaas-perl-templates", "official": "false" + }, + { + "template": "node10-express-service", + "platform": "x86_64", + "language": "NodeJS", + "source": "openfaas-incubator", + "description": "Node.js 10 express.js microservice template", + "repo": "https://github.com/openfaas-incubator/node10-express-service", + "official": "true" } ] From cf9500439d8df59b05a162f5b0e796ce28b49bae Mon Sep 17 00:00:00 2001 From: Alex Ellis Date: Sun, 9 Jun 2019 20:31:52 +0100 Subject: [PATCH 14/23] Publish curl Signed-off-by: Alex Ellis --- functions.json | 31 ++++++++++++++++++++----------- store.json | 48 ++++++++++++++++++++++++++++-------------------- 2 files changed, 48 insertions(+), 31 deletions(-) diff --git a/functions.json b/functions.json index 419c905..cb63883 100644 --- a/functions.json +++ b/functions.json @@ -107,6 +107,15 @@ "com.openfaas.ui.ext": "jpg" } }, + { + "title": "curl", + "description": "Use curl for network diagnostics, pass the full command-line to the function", + "images": { + "x86_64": "alexellis/curl:0.1.1" + }, + "name": "curl", + "repo_url": "https://github.com/alexellis/curl-function" + }, { "title": "SentimentAnalysis", "description": "Python function provides a rating on sentiment positive/negative (polarity -1.0-1.0) and subjectivity to provided to each of the sentences sent.", @@ -117,17 +126,6 @@ "name": "sentimentanalysis", "repo_url": "https://github.com/openfaas/faas/tree/master/sample-functions/SentimentAnalysis" }, - { - "title": "Business Strategy Generator", - "description": "Generates a Business Strategy (using a package from Nisha Kumar, inspired by Simon Wardley)", - "images": { - "x86_64": "functions/business-strategy-generator:0.13.0" - }, - "name": "business-strategy-generator", - "repo_url": "https://github.com/alexellis/strategy_generator", - "readOnlyRootFilesystem": true, - "platform": "x86_64" - }, { "icon": "https://raw.githubusercontent.com/viveksyngh/openfaas-ocr/master/logo/ocr.png", "title": "Tesseract OCR", @@ -311,6 +309,17 @@ "labels": { "com.openfaas.ui.ext": "jpg" } + }, + { + "title": "Business Strategy Generator", + "description": "Generates a Business Strategy (using a package from Nisha Kumar, inspired by Simon Wardley)", + "images": { + "x86_64": "functions/business-strategy-generator:0.13.0" + }, + "name": "business-strategy-generator", + "repo_url": "https://github.com/alexellis/strategy_generator", + "readOnlyRootFilesystem": true, + "platform": "x86_64" } ] } diff --git a/store.json b/store.json index 63f0124..aa10262 100644 --- a/store.json +++ b/store.json @@ -63,21 +63,6 @@ "com.openfaas.ui.ext": "jpg" } }, - { - "title": "Face Detection with Pigo", - "description": "Detect faces in images using the Pigo face detection library. You provide an image URI and the function draws boxes around the detected faces.", - "image": "esimov/pigo-openfaas:0.1", - "name": "face-detect-pigo", - "repo_url": "https://github.com/esimov/pigo-openfaas", - "readOnlyRootFilesystem": true, - "environment": { - "output_mode": "image", - "input_mode": "url" - }, - "labels": { - "com.openfaas.ui.ext": "jpg" - } - }, { "title": "SentimentAnalysis", "description": "Python function provides a rating on sentiment positive/negative (polarity -1.0-1.0) and subjectivity to provided to each of the sentences sent.", @@ -95,11 +80,26 @@ "readOnlyRootFilesystem": true }, { - "title": "Business Strategy Generator", - "description": "Generates a Business Strategy (using a package from Nisha Kumar, inspired by Simon Wardley)", - "image": "functions/business-strategy-generator:0.13.0", - "name": "business-strategy-generator", - "repo_url": "https://github.com/alexellis/strategy_generator", + "title": "Face Detection with Pigo", + "description": "Detect faces in images using the Pigo face detection library. You provide an image URI and the function draws boxes around the detected faces.", + "image": "esimov/pigo-openfaas:0.1", + "name": "face-detect-pigo", + "repo_url": "https://github.com/esimov/pigo-openfaas", + "readOnlyRootFilesystem": true, + "environment": { + "output_mode": "image", + "input_mode": "url" + }, + "labels": { + "com.openfaas.ui.ext": "jpg" + } + }, + { + "title": "curl", + "description": "Use curl for network diagnostics, pass the full command-line to the function", + "image": "alexellis/curl:0.1.1", + "name": "curl", + "repo_url": "https://github.com/alexellis/curl-function", "readOnlyRootFilesystem": true }, { @@ -267,5 +267,13 @@ "labels": { "com.openfaas.ui.ext": "ogg" } + }, + { + "title": "Business Strategy Generator", + "description": "Generates a Business Strategy (using a package from Nisha Kumar, inspired by Simon Wardley)", + "image": "functions/business-strategy-generator:0.13.0", + "name": "business-strategy-generator", + "repo_url": "https://github.com/alexellis/strategy_generator", + "readOnlyRootFilesystem": true } ] \ No newline at end of file From c53f1202853bc895ccf74abd0457ee75f7bdf2a0 Mon Sep 17 00:00:00 2001 From: Richard Gee Date: Fri, 14 Jun 2019 12:46:42 +0100 Subject: [PATCH 15/23] Point youtubedl to working multiarch image Signed-off-by: Richard Gee --- functions.json | 3 ++- store-armhf.json | 15 +++++++++++++++ store.json | 2 +- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/functions.json b/functions.json index cb63883..484c832 100644 --- a/functions.json +++ b/functions.json @@ -190,7 +190,8 @@ "title": "YouTube Video Downloader", "description": "Download YouTube videos as a function", "images": { - "x86_64": "alexellis2/faas-youtubedl" + "armhf": "rgee0/faas-youtubedl", + "x86_64": "rgee0/faas-youtubedl" }, "name": "youtube-dl", "repo_url": "https://github.com/faas-and-furious/youtube-dl", diff --git a/store-armhf.json b/store-armhf.json index 6ea2a2e..e31a50f 100644 --- a/store-armhf.json +++ b/store-armhf.json @@ -59,5 +59,20 @@ "read_timeout": "60s", "write_timeout": "60s" } + }, + { + "icon": "https://www.youtube.com/yt/about/media/images/brand-resources/icons/YouTube_icon_full-color.svg", + "title": "YouTube Video Downloader", + "description": "Download YouTube videos as a function", + "image": "rgee0/faas-youtubedl", + "name": "youtube-dl", + "repo_url": "https://github.com/faas-and-furious/youtube-dl", + "labels": { + "com.openfaas.ui.ext": "mp4" + }, + "environment": { + "read_timeout": "300s", + "write_timeout": "300s" + } } ] \ No newline at end of file diff --git a/store.json b/store.json index aa10262..463d923 100644 --- a/store.json +++ b/store.json @@ -164,7 +164,7 @@ "icon": "https://www.youtube.com/yt/about/media/images/brand-resources/icons/YouTube_icon_full-color.svg", "title": "YouTube Video Downloader", "description": "Download YouTube videos as a function", - "image": "alexellis2/faas-youtubedl", + "image": "rgee0/faas-youtubedl", "name": "youtube-dl", "repo_url": "https://github.com/faas-and-furious/youtube-dl", "labels": { From f65bc3bc7400c0c5e72a153a0314c32b1c8693b2 Mon Sep 17 00:00:00 2001 From: Alex Ellis Date: Sat, 22 Jun 2019 16:50:32 +0100 Subject: [PATCH 16/23] Update colorise to use .jpg Signed-off-by: Alex Ellis --- functions.json | 2 +- store.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/functions.json b/functions.json index 484c832..c7b9ebe 100644 --- a/functions.json +++ b/functions.json @@ -56,7 +56,7 @@ "fprocess": "python -u index.py", "repo_url": "https://github.com/alexellis/repaint-the-past", "labels": { - "com.openfaas.ui.ext": "png" + "com.openfaas.ui.ext": "jpg" }, "environment": { "url_mode": "true", diff --git a/store.json b/store.json index 463d923..e53d0a1 100644 --- a/store.json +++ b/store.json @@ -8,7 +8,7 @@ "fprocess": "python -u index.py", "repo_url": "https://github.com/alexellis/repaint-the-past", "labels": { - "com.openfaas.ui.ext": "png" + "com.openfaas.ui.ext": "jpg" }, "environment": { "url_mode": "true", @@ -276,4 +276,4 @@ "repo_url": "https://github.com/alexellis/strategy_generator", "readOnlyRootFilesystem": true } -] \ No newline at end of file +] From 3ff3cda059042018415975e0bcfa8c663534e81b Mon Sep 17 00:00:00 2001 From: esimov Date: Fri, 19 Jul 2019 15:40:07 +0300 Subject: [PATCH 17/23] Extend faas-store with coherent line drawing functions Signed-off-by: esimov --- store.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/store.json b/store.json index e53d0a1..4950bf0 100644 --- a/store.json +++ b/store.json @@ -275,5 +275,22 @@ "name": "business-strategy-generator", "repo_url": "https://github.com/alexellis/strategy_generator", "readOnlyRootFilesystem": true + }, + { + "title": "Line Drawing Generator from a photograph", + "description": "Automatically generates a sketch like image art based on the provided image", + "image": "esimov/colidr-openfaas:0.1", + "name": "coherent-line-drawing", + "repo_url": "https://github.com/esimov/openfaas-coherent-line-drawing", + "readOnlyRootFilesystem": true, + "environment": { + "input_mode": "url", + "output_mode": "image", + "content_type": "image/jpeg", + "write_timeout": "200s" + }, + "labels": { + "com.openfaas.ui.ext": "jpg" + } } ] From 52afb0ccabc997c0c845d71391e1896729781b75 Mon Sep 17 00:00:00 2001 From: Endre Simo Date: Sun, 21 Jul 2019 22:12:15 +0300 Subject: [PATCH 18/23] Extend faas-store with coherent line drawing function Signed-off-by: Endre Simo --- functions.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/functions.json b/functions.json index c7b9ebe..7c8cc02 100644 --- a/functions.json +++ b/functions.json @@ -321,6 +321,25 @@ "repo_url": "https://github.com/alexellis/strategy_generator", "readOnlyRootFilesystem": true, "platform": "x86_64" + }, + { + "title": "Line Drawing Generator from a photograph", + "description": "Automatically generates a sketch like image art based on the provided image", + "images": { + "x86_64": "esimov/colidr-openfaas:0.1" + }, + "name": "coherent-line-drawing", + "repo_url": "https://github.com/esimov/openfaas-coherent-line-drawing", + "readOnlyRootFilesystem": true, + "environment": { + "input_mode": "url", + "output_mode": "image", + "content_type": "image/jpeg", + "write_timeout": "200s" + }, + "labels": { + "com.openfaas.ui.ext": "jpg" + } } ] } From a0fc922f12438f37b3ca54999c99180a19aef325 Mon Sep 17 00:00:00 2001 From: esimov Date: Sun, 21 Jul 2019 22:20:40 +0300 Subject: [PATCH 19/23] fixing identation issue Signed-off-by: esimov --- functions.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/functions.json b/functions.json index 7c8cc02..af55594 100644 --- a/functions.json +++ b/functions.json @@ -332,14 +332,14 @@ "repo_url": "https://github.com/esimov/openfaas-coherent-line-drawing", "readOnlyRootFilesystem": true, "environment": { - "input_mode": "url", - "output_mode": "image", - "content_type": "image/jpeg", - "write_timeout": "200s" + "input_mode": "url", + "output_mode": "image", + "content_type": "image/jpeg", + "write_timeout": "200s" }, - "labels": { - "com.openfaas.ui.ext": "jpg" - } + "labels": { + "com.openfaas.ui.ext": "jpg" + } } ] } From 0ff9c7af901b97675a26ba4cc3789c1b4019e9b3 Mon Sep 17 00:00:00 2001 From: esimov Date: Mon, 22 Jul 2019 10:56:30 +0300 Subject: [PATCH 20/23] Increase timeout limit Signed-off-by: esimov --- functions.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.json b/functions.json index af55594..9bae599 100644 --- a/functions.json +++ b/functions.json @@ -335,7 +335,7 @@ "input_mode": "url", "output_mode": "image", "content_type": "image/jpeg", - "write_timeout": "200s" + "write_timeout": "300s" }, "labels": { "com.openfaas.ui.ext": "jpg" From a85dd813c3ae3123501d004661b71465ab83a3ef Mon Sep 17 00:00:00 2001 From: Alexis Reigel Date: Sun, 20 Oct 2019 22:02:14 +0200 Subject: [PATCH 21/23] Add Crystal HTTP template Signed-off-by: Alexis Reigel --- templates.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/templates.json b/templates.json index f9e7874..2bd1949 100644 --- a/templates.json +++ b/templates.json @@ -394,5 +394,14 @@ "description": "Node.js 10 express.js microservice template", "repo": "https://github.com/openfaas-incubator/node10-express-service", "official": "true" + }, + { + "template": "crystal-http", + "platform": "x86_64", + "language": "Crystal", + "source": "koffeinfrei", + "description": "Crystal HTTP template", + "repo": "https://github.com/koffeinfrei/crystal-http-template", + "official": "false" } ] From 7a5447927f82b194cec81fc7c02348c5c591b735 Mon Sep 17 00:00:00 2001 From: Pierre Humberdroz Date: Fri, 25 Oct 2019 14:03:22 +0200 Subject: [PATCH 22/23] add my koa js template Signed-off-by: Pierre Humberdroz --- store.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/store.json b/store.json index 4950bf0..2482d97 100644 --- a/store.json +++ b/store.json @@ -292,5 +292,14 @@ "labels": { "com.openfaas.ui.ext": "jpg" } + }, + { + "template": "node12-koa-service", + "platform": "x86_64", + "language": "Node.js", + "source": "phumberdroz", + "description": "A Openfaas Service Node.js template using koa", + "repo": "https://github.com/phumberdroz/openfaas-node12-koa-service", + "official": "false" } ] From 4a6cc2daee008cbb9d60bd28ce2a75131475f6b1 Mon Sep 17 00:00:00 2001 From: Alexis Reigel Date: Mon, 21 Oct 2019 20:31:40 +0200 Subject: [PATCH 23/23] fix typo in crystal http template url Signed-off-by: Alexis Reigel --- templates.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates.json b/templates.json index 2bd1949..7ae9d95 100644 --- a/templates.json +++ b/templates.json @@ -401,7 +401,7 @@ "language": "Crystal", "source": "koffeinfrei", "description": "Crystal HTTP template", - "repo": "https://github.com/koffeinfrei/crystal-http-template", + "repo": "https://github.com/koffeinfrei/crystal-http-template", "official": "false" } ]