182 Commits

Author SHA1 Message Date
Kyle Brennan
28e53aaf4b Updates for readability
Simplified language and reduced long running lines.

Signed-off-by: Kyle Brennan <kylos101@gmail.com>
2020-03-29 20:26:23 +01:00
Kyle Brennan
c3c1d0c2fe Add hey sample function
Use it to do load testing and observe scaling.

Signed-off-by: Kyle Brennan <kylos101@gmail.com>
2020-03-29 20:26:23 +01:00
Alex Ellis (OpenFaaS Ltd)
33ac99efd6 Set header properly
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2020-03-02 20:43:03 +00:00
Alex Ellis (OpenFaaS Ltd)
cd55a1b9fc Update to MB
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2020-03-02 20:35:21 +00:00
Alex Ellis (OpenFaaS Ltd)
52a42afbf6 Update nodeinfo with content-type
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2020-03-02 20:31:50 +00:00
Alex Ellis (OpenFaaS Ltd)
8d0996ad39 Add nodeinfo-http - a faster nodeinfo
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2020-03-01 11:12:54 +00:00
Thomas Schmidt
67598e58c5 Update projects to use Go 1.13
Fixes #1442

Signed-off-by: Thomas Schmidt <thomaschmidt@gmail.com>
2020-02-22 19:01:49 +00:00
Alex Ellis (OpenFaaS Ltd)
b45e2a52a4 Bump alpine to 3.11
There's a new release which appears to have no apparent down-
sides or breakages.

https://www.alpinelinux.org/posts/Alpine-3.11.2-released.html

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2019-12-27 10:08:02 +00:00
Alex Ellis
74bb257823 Update deprecated "faas" to "openfaas" in provider field
Needed due to CLI updates.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2019-12-01 08:48:27 +00:00
scott.eppler
4ac782e5a4 Update WebhookStash sample-function to run as non-root user
Signed-off-by: scott.eppler <scott.eppler@coda.global>
2019-10-15 10:43:34 +01:00
scott.eppler
e4da7de692 Update WebhookStash sample-function to use new approach
I used AlpineFunction as the example to follow as suggested by
    @alexellis

Signed-off-by: scott.eppler <scott.eppler@coda.global>
2019-10-15 10:43:34 +01:00
scott.eppler
57c98dc0be Update MarkdownRender sample-function to run as non-root user
Signed-off-by: scott.eppler <scott.eppler@coda.global>
2019-10-15 10:43:34 +01:00
scott.eppler
fbcec74fd4 Update MarkdownRender sample-function to use new approach
I used AlpineFunction as the example to follow as suggested by
    @alexellis

Signed-off-by: scott.eppler <scott.eppler@coda.global>
2019-10-15 10:43:34 +01:00
scott.eppler
932d4449cb Update nmap sample-function to run as non-root user
Signed-off-by: scott.eppler <scott.eppler@coda.global>
2019-10-15 10:43:34 +01:00
scott.eppler
929dfb172a Update nmap sample-function to use new approach
I used AlpineFunction as the example to follow as suggested by @alexellis

Signed-off-by: scott.eppler <scott.eppler@coda.global>
2019-10-15 10:43:34 +01:00
Alex Ellis (OpenFaaS Ltd)
d272bfb781 Fix adduser/addgroup
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2019-08-22 15:48:23 +01:00
Alex Ellis (OpenFaaS Ltd)
cdfa01208d Bump versions
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2019-08-22 15:48:23 +01:00
Pau Rosello
2b37a0133a Non root user and fwatchdow standarization
AlpineFunction additional Dockerfiles
Fix Coffe, node nonroot user and change workdir
DnCore nonroot and updated to 2.1, new README
Fix golang user and watchdog
Java user and watchdog fix
Watchdog and user for node image
Fix python user and watchdog
Fix R username and watchdog
Captainsintent user and fwatchdog
ChangeColorIntent change username, fwatchdog and directory
CHelloWorld remove tmp, disabled lock, fwatchdog and user
DockerHubStats user, fwatchdog and dependencies
Change figlet to use base alpine image
Improve figlet ARM
Set base image GIF-Maker
MarkDownRender change base image
NodeInfo change base image
PhantomJS user and fwatchdog
Resize Image
SentimentAnalysis user and watchdog
WebhookStach change root image
Replace user faas with app
Upgrade alpine to latest version
Revert vendor folders
Upgrade alpine:3.9
2019-07-11 22:17:57 +01:00
Alex Ellis
0fab7fbe8b Update figlet and api-secret sample
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-06-25 21:25:38 +01:00
Alex Ellis
ab4d95c4d8 Update figlet's watchdog
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-06-25 21:22:26 +01:00
Alex Ellis
6799f61f12 Update nodeinfo/alpinefunction to latest mulit-stage
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-06-25 21:19:48 +01:00
Carlos Panato
8fe40406fa redirect to another sample
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2019-06-06 18:55:43 +01:00
Carlos Panato
86b37acae7 update dockerfile to add user
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2019-06-06 18:55:43 +01:00
Alex Ellis
e903f0ef73 Update sentiment-analysis to non-root user
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-04-23 19:03:17 +01:00
Alex Ellis
8ef52ce806 Update Dockerfiles to latest watchdog
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-04-22 10:28:22 +01:00
Kay
348b2b5105 corrected typo in example function list in readme
Signed-off-by: Kay <kay.hansge@interdigital.com>
2019-02-14 18:38:41 +00:00
Alex Ellis (VMware)
6ee07a7ba9 Update gateway URL to default for helloc example
- this caused confusion for a user who had logged in for
"127.0.0.1", but not for "localhost" then saw an error when
deploying and trying to access "localhost" for which there
was no credential available.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-27 21:29:03 +00:00
Ron Rivera
33800a20d8 Update watchdog to 0.9.14 for sample functions
We need to update the watchdog version for sample functions to 0.9.14
including all references in markdown files.

Signed-off-by: Ron Rivera <roncrivera@gmail.com>
2019-01-13 08:40:07 +00:00
Alex Ellis (VMware)
bc4079f722 Update alpinefunction to latest watchdog
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-10 14:51:42 +00:00
Martin Dekov (VMware)
ade5f32513 Bump files to use alpine:3.8
Bump Dockerfiles and mentions of alpine 3.7 to be now
3.8

Signed-off-by: Martin Dekov (VMware) <mdekov@vmware.com>
2018-11-16 20:27:05 +00:00
Alex Ellis (VMware)
63e948fce1 Add sample function
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-10-25 12:57:02 +01:00
Radoslav Dimitrov
204c0d7f9a Bump the watchdog version to 0.9.6
Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com>
2018-10-19 08:45:05 +01:00
Alex Ellis (VMware)
1dcc887554 Bump figlet version
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-10-09 16:55:36 +01:00
Alex Ellis (VMware)
6df48fbac3 Update Alpine base to 3.8
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-09-30 21:20:00 +00:00
Alex Ellis (VMware)
f6230e9e83 Update sample functions
- the path was converted to lowercase which meant the samples
would not build, this fixes that error.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-09-19 21:20:15 +01:00
Martin Dekov (VMware)
4d73e21906 Bump watchdog to 0.9.4
Bumping the watchdog to 0.9.4 in
mentioned places

Signed-off-by: Martin Dekov (VMware) <mdekov@vmware.com>
2018-09-19 21:04:53 +01:00
Alex Ellis (VMware)
b786104f3a Rename nodeinfo image to match store
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-09-15 14:25:31 +01:00
Radoslav Dimitrov
c062e4dbde Sample-functions: Get watchdog using curl instead of ADD - arm64
Convert all sample-functions to use curl to get the watchdog as
it can be cached by Docker. Issue #841

Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com>
2018-09-06 15:03:10 +01:00
Radoslav Dimitrov
c28747890c Sample-functions: Get watchdog using curl instead of ADD - armhf
Convert all sample-functions to use curl to get the watchdog as
it can be cached by Docker. Issue #841

Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com>
2018-09-06 15:03:10 +01:00
Radoslav Dimitrov
cdbd25c0fb Sample-functions: Get watchdog using curl instead of ADD - amd64
Convert all sample-functions to use curl to get the watchdog as
it can be cached by Docker. Issue #841

Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com>
2018-09-06 15:03:10 +01:00
Alex Ellis (VMware)
a99ad5708b Move watchdog to latest version in samples
Moves to 0.9.0

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-08-30 11:20:52 +01:00
Edward Wilde
b564243f32 Update alpine function to enable patch support
Relates to: #815"

Signed-off-by: Edward Wilde <ewilde@gmail.com>
2018-08-30 11:09:26 +01:00
Alex Ellis (VMware)
73254f798b Add haveibeenpwned to functions Docker prefix
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-08-21 08:26:50 +01:00
Alex Ellis (VMware)
44ceb8da22 Add haveibeenpwned sample function
Idea from Matthew Holt, using the haveibeenpwned API to query
whether a password has been found in a data-breach.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-08-13 10:20:13 +01:00
Edward Wilde
be907d220c Adds annotation attribute to CreateFunctionRequest
1. Add new annotation attributes which may be used
by the back-end for making scheduling or routing decisions.

2. Updated tests/README.md to give clearer instructions on creating and
tearing down the stack required to run the integration tests

3. Update ci.sh
 * Fail as soon as an error is encountered
 * Allow script to run locally in development environment, test if repos
are already cloned etc..
 * Deploy ./stack.yml used by existing integration tests

Signed-off-by: Edward Wilde <ewilde@gmail.com>
2018-07-20 19:51:17 +01:00
Alex Ellis (VMware)
f23d90d441 Remove braces for Python sample
Suggested by community member in an un-merged PR.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-07-10 21:14:45 +01:00
Alex Ellis (VMware)
9618bc3f7c Remove brace from Python sample
Suggsted in #756

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-07-10 21:07:36 +01:00
Lucas Roesler
41bda568a7 Update secret docs and sample-functions
**What**
- Update the documentation about secret management to note the changed
file location
- Remove the documentation on secret rotation, because this will not
currently work
- Update apikey-secret and ApiKeyProtected-Secrets to read secret values
from both the old and the new locations

**Why**
- Recent updates to faas-swarm and faas-netes changed the mount location
of secrets.  These changes update the docs to reflect this change.

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2018-06-17 05:00:52 -07:00
Sean Smith
2292aab829 Update to golang 1.9.7
Issue #660 has been open for a while to update to 1.9.6, this
performs the update to the latest in the 1.9 release (1.9.7)

Signed-off-by: Sean Smith <sean@wwsean08.com>
2018-06-16 08:37:11 -07:00
Ivana Yovcheva (VMware)
7f6295c9cf Update alpine version to 3.7
This updates alpine version to 3.7 in sample-functions, gateway
and some markdown docas.

Signed-off-by: Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
2018-05-11 14:14:59 +01:00