126 Commits

Author SHA1 Message Date
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
John McCabe
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
John McCabe
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
Alex Ellis
d012c46162
Update README.md 2018-02-23 08:23:29 +00:00
Alex Ellis
a96bf1de94
Update README.md 2018-02-23 08:22:57 +00:00
Alex Ellis
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
Alex Ellis
7e7442e8d3 Move Dockerfile to dockerfile
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-02-06 21:42:54 +00:00
Alex Ellis
1bdd9cb75d Fix armhf sample
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-01-10 21:58:55 +00:00
Alex Ellis
b3b9273a9c Add figlet example
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-01-10 21:56:46 +00:00
Alex Ellis
01450bdf17 Add nmap sample
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-30 21:27:20 +00:00
Alex Ellis
1c2817c834 Delete old shell scripts
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-28 19:17:59 +00:00
Alex Ellis
05cdbcc04d Remove un-needed shell files
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-28 19:15:29 +00:00
Alex Ellis
6199c61178 Remove non-async deployment option
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-22 09:14:56 +00:00
Lucas Roesler
5f30c7570f Use builder pattern in ApiKeyProtected-Secrets
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2017-12-16 16:08:52 +00:00
Lucas Roesler
4fb53be0e4 Remove obsolete docker build
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2017-12-16 16:08:52 +00:00
Lucas Roesler
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
Lucas Roesler
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
Lucas Roesler
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
Alex Ellis
39f5119e49 Add NATS for armhf
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-09 12:42:46 +00:00
Alex Ellis
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
Liz Rice
f62309f388 Add healthcheck to DockerHubStats sample function
Signed-off-by: Liz Rice <liz@lizrice.com>
2017-11-09 10:41:10 +00:00
Alex Ellis
1f04764481 Port NodeInfo to ARM64
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-21 13:02:22 +02:00
Alex Ellis
a7de20c29d Add sample, stack and port to ARM64
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-21 13:02:22 +02:00
Alex Ellis
bc3f6d1351 Delete build.sh 2017-10-15 23:00:48 +01:00
Alex Ellis
958de00f71 Update README.md 2017-10-15 23:00:08 +01:00
Grant Sheehan
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
Alex Ellis
9bd10a6649 rename catservice
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-08 09:10:12 +01:00
John McCabe
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
Alex Ellis
950077d2f4 Build the easy way 2017-09-27 11:00:21 +01:00
Alex Ellis
d2204b55bf Sample YML
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-27 10:29:01 +01:00
Alex Ellis
c66972325d Add timeouts
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-25 11:22:59 +01:00
Alex Ellis
0048d50064 Makefile for shell scripts
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-13 10:31:33 -07:00
Alex Ellis
9a64a53076 Add gitignore
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-13 10:30:21 -07:00
Alex Ellis
b9be8293a8 Fix querystring passing
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-09 09:42:57 +01:00
Alex Ellis
1adc3c8450 Update README.md 2017-09-06 18:53:48 +01:00
Alex Ellis
0ddd923f03 Update README.md 2017-09-06 18:48:52 +01:00
Alex Ellis
d5b927a95f gif-maker sample
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-06 17:58:24 +01:00
Alex Ellis
0d1962de1e Add GCC/C example.
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-06 15:23:15 +01:00
Chanyub
c6739d52ff add R example on list
Signed-off-by: Chanyub Park <mrchypark@gmail.com>
2017-09-02 20:14:08 +01:00
Chanyub Park
fdb67e3d93 add R sample function and readme
Signed-off-by: Chanyub Park <mrchypark@gmail.com>
2017-08-31 16:18:55 +01:00
Alex Ellis
77f63be084 Make more concise 2017-08-23 19:48:38 +01:00