166 Commits

Author SHA1 Message Date
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
Ivana Yovcheva (VMware)
975cf4be7c Update watchdog version to 0.8.0
This updates watchdog version to latest 0.8.0 in the functions
samples and documentation

Signed-off-by: Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
2018-05-11 14:14:59 +01:00
Alex Ellis (VMware)
bfe239de4d Add pwgen and bump Alpine base image
Alpine Base image goes to 3.7 (latest)

pwgen sample added.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-04-20 15:47:22 +01:00
rgee0
7ab969fdfb Fix apikey-secret README.md
Following the existing README instructions would result in an error
when the user attempted to create the secret.  This small change
remediates the instruction so that the secret is successfully created.

Signed-off-by: rgee0 <richard@technologee.co.uk>
2018-04-16 06:33:46 -07:00
Ivana Yovcheva (VMware)
f936dcd757 Update watchdog version to 0.7.9 in function templates and docs
This updates fwatchdog to latest version (0.7.9) in all templates
in sample-functions and faas version in the documentation

Signed-off-by: Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
2018-04-12 22:36:26 -07:00
Vivek Singh
42edd5f00a Update nodeinfo sample function
Update the NodeInfo sample function to use latest
watchdog version (0.7.7) to support both GET and POST method.

Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>
2018-04-03 08:55:59 +01:00
Alex Ellis
bcc64e6e0f
Typo fix for link
Typo fix.

Fixes #567

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-03-10 10:32:23 +01:00
Burton Rheutan
936beb2166 return err from json unmarshal
Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
2018-03-07 20:12:27 +00:00
Burton Rheutan
26c8671865 updated hubstats to accept repo for pull count
Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
2018-03-07 20:12:27 +00:00
Alex Ellis
d1fb0084b4 Samples: update gitignore file
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-03-05 15:39:34 +00:00
Alex Ellis
1dd8904174 Remove Markdown binary
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-03-05 15:38:42 +00:00
Alex Ellis
4d43861c65 Remove Markdown binary
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-03-05 15:37:55 +00:00
Alex Ellis
ab33d80654 Convert apikeyprotected-secret to apikey-secret with proper Golang template
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-03-05 15:15:35 +00:00
Alex Ellis
56e8c5b211 Remove legacy sample function
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-03-05 14:56:54 +00:00
Alex Ellis
5acb18915d Config tweak for samples
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-03-03 20:36:18 +00:00
Michael Herman
00f9de9d4b updated build script
Signed-off-by: Michael Herman <hermanmu@gmail.com>
2018-03-03 18:54:04 +00:00
Alex Ellis
bcc74f5dc6
Update wrong tag - dev to latest 2018-02-25 11:54:52 +00:00