Commit Graph

151 Commits

Author SHA1 Message Date
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
1dcc887554 Bump figlet version
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-10-09 16:55:36 +01:00
6df48fbac3 Update Alpine base to 3.8
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-09-30 21:20:00 +00:00
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
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
b786104f3a Rename nodeinfo image to match store
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-09-15 14:25:31 +01:00
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
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
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
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
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
73254f798b Add haveibeenpwned to functions Docker prefix
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-08-21 08:26:50 +01:00
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
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
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
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
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
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
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
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
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
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
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
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
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
936beb2166 return err from json unmarshal
Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
2018-03-07 20:12:27 +00:00
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
d1fb0084b4 Samples: update gitignore file
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-03-05 15:39:34 +00:00
1dd8904174 Remove Markdown binary
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-03-05 15:38:42 +00:00
4d43861c65 Remove Markdown binary
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-03-05 15:37:55 +00:00
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
56e8c5b211 Remove legacy sample function
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-03-05 14:56:54 +00:00
5acb18915d Config tweak for samples
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-03-03 20:36:18 +00:00
00f9de9d4b updated build script
Signed-off-by: Michael Herman <hermanmu@gmail.com>
2018-03-03 18:54:04 +00:00
bcc74f5dc6 Update wrong tag - dev to latest 2018-02-25 11:54:52 +00:00
19e7f4639e Complete bump to 0.7.1 watchdog and repo.
Also bumps golang builder version to 1.9.4 for sample functions.

Signed-off-by: John McCabe <john@johnmccabe.net>
2018-02-25 11:54:21 +00:00
4e9d999554 Bump gateway and watchdog tags/versions
This commit bumps the non-arm gateway from 0.7.0 to 0.7.1 and the arm
variants from 0.6.9 to 0.7.0.

It also updates all watchdog versions to the 0.7.1 release.

Signed-off-by: John McCabe <john@johnmccabe.net>
2018-02-25 11:54:21 +00:00
d012c46162 Update README.md 2018-02-23 08:23:29 +00:00
a96bf1de94 Update README.md 2018-02-23 08:22:57 +00:00
bf91f3f0a7 Move samples.yml to default name of stack.yml, upgrade to 0.7.0 in all samples
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-02-06 22:00:24 +00:00
7e7442e8d3 Move Dockerfile to dockerfile
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-02-06 21:42:54 +00:00
1bdd9cb75d Fix armhf sample
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-01-10 21:58:55 +00:00
b3b9273a9c Add figlet example
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-01-10 21:56:46 +00:00
01450bdf17 Add nmap sample
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-30 21:27:20 +00:00
1c2817c834 Delete old shell scripts
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-28 19:17:59 +00:00
05cdbcc04d Remove un-needed shell files
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-28 19:15:29 +00:00
6199c61178 Remove non-async deployment option
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-22 09:14:56 +00:00
5f30c7570f Use builder pattern in ApiKeyProtected-Secrets
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2017-12-16 16:08:52 +00:00
4fb53be0e4 Remove obsolete docker build
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2017-12-16 16:08:52 +00:00
156103e2db Update the sample functions
**What**
- Move the new secrets sample function to ApiKeyProtected-Secrets
- Bring back the original ApiKeyProtected sample function

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2017-12-16 16:08:52 +00:00