Commit Graph

129 Commits

Author SHA1 Message Date
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
35f0e9e657 Clean up docs and refactor createhandler
**What**
- Add a description for the secret key to the api swagger spec.
- Remove optional examples from the secret management guide.
- Update the ApiKeyProtected README to point at the new guide.
- Refactor the `makeSpec` function to accept the already assembled secrets
array because this should be easier to unit test.

Signed-off-by: Lucas Roesler <lucas.roesler@gmail.com>
2017-12-16 16:08:52 +00:00
0fef825fb4 Add support to specify secrets in services
**What**
- During function creation, accept an array of strings defining swarm secrets
that are required for the service
- Update docs
- Add new guide on using the secrets capability
- Add new sample function to highlight using environment variables
- Update `ApiKeyProtected` sample function to utilize the new secrets
capabilities

**Why**
- This allows secrets to remain encrypted at rest instead of being unencrypted
in environment variables and yaml files.

Fixes #285

Signed-off-by: Lucas Roesler <lucas.roesler@gmail.com>
2017-12-16 16:08:52 +00:00
39f5119e49 Add NATS for armhf
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-09 12:42:46 +00:00
a077dd7627 Bump samples/versions - reduce image sizes through multi-stage builds
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-09 11:20:40 +00:00
f62309f388 Add healthcheck to DockerHubStats sample function
Signed-off-by: Liz Rice <liz@lizrice.com>
2017-11-09 10:41:10 +00:00
1f04764481 Port NodeInfo to ARM64
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-21 13:02:22 +02:00
a7de20c29d Add sample, stack and port to ARM64
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-21 13:02:22 +02:00
bc3f6d1351 Delete build.sh 2017-10-15 23:00:48 +01:00
958de00f71 Update README.md 2017-10-15 23:00:08 +01:00
6dc9ffbfce Convert function names to lowercase
Converts the function names in samples.yml to lowercase

Signed-off-by: Grant Sheehan <gsheehan@gmail.com>
2017-10-15 09:54:25 +01:00
9bd10a6649 rename catservice
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-08 09:10:12 +01:00
89878f0c8a Migrate from alexellis org to openfaas
Note, not all `alexellis/github` references should be changed, there are
a number of repos which are not part of the openfaas org, this commit
excludes those.

Signed-off-by: John McCabe <john@johnmccabe.net>
2017-10-04 09:18:06 +01:00
950077d2f4 Build the easy way 2017-09-27 11:00:21 +01:00
d2204b55bf Sample YML
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-27 10:29:01 +01:00
c66972325d Add timeouts
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-25 11:22:59 +01:00
0048d50064 Makefile for shell scripts
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-13 10:31:33 -07:00
9a64a53076 Add gitignore
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-13 10:30:21 -07:00
b9be8293a8 Fix querystring passing
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-09 09:42:57 +01:00
1adc3c8450 Update README.md 2017-09-06 18:53:48 +01:00
0ddd923f03 Update README.md 2017-09-06 18:48:52 +01:00
d5b927a95f gif-maker sample
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-06 17:58:24 +01:00
0d1962de1e Add GCC/C example.
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-06 15:23:15 +01:00