105 Commits

Author SHA1 Message Date
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
Alex Ellis
360de12c36 Bump HubStats sample to 0.6.0
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-08-22 17:55:41 +01:00
Alex Ellis
ea49d5e5f9 Merge pull request #124 from rgee0/updateSamples3
New armhf and updated sample function Dockerfiles
2017-08-14 20:57:30 +01:00
Alex Ellis
5f8d31fe0a Mention CLI instructions 2017-08-14 16:22:01 +01:00
Alex Ellis
fa498d3211 Bump version 2017-08-14 16:15:50 +01:00
rgee0
1cd7ce2449 New and updated sample function Dockerfiles & deleted NodeBaseFunction
Signed-off-by: rgee0 <richard@technologee.co.uk>
2017-08-13 21:47:40 +01:00
Alex
c0cc48b844 Move NodeInfo to 0.6.0 watchdog. Produce ARMHF binaries too 2017-08-08 09:23:55 +01:00
Alex Ellis
e1849a8f49 Update watchdog version 2017-07-12 17:11:04 +01:00
Alex Ellis
1edee09711 Add image name to README 2017-07-04 09:29:10 +00:00
Alex Ellis
32ac150832 Add sample scraping/automation example via Phantomjs
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-07-03 19:06:52 +01:00
Alex Ellis
7c32a20294 Move AlpineFunction to 0.5.6 2017-05-30 17:30:00 +01:00
Alex Ellis
0b649102ee Create README.md 2017-05-05 14:17:20 +01:00
Alex Ellis
48ffa56a02 Update to golang.exe 2017-05-05 14:14:05 +01:00
Alex Ellis
ac7adf1aac Create README.md 2017-05-04 19:44:27 +01:00
Alex Ellis
c05aee101c FaaS does Cobol :-) 2017-05-04 17:47:22 +01:00
Alex Ellis
657f88cb6e Correct identation error in sample. 2017-05-03 21:26:58 +01:00
Austin Frey
edf62ab150 updated sentiment analysis function to handle multiple sentences and fix decoding issue
Added MakerShift to community.md

Update community.md

commented reload(sys)
2017-05-03 21:24:23 +01:00
Alex Ellis
eebed36931 Update README.md 2017-04-30 10:52:42 +01:00
Alex Ellis
af14d07d3d Add sample function links. 2017-04-30 10:51:14 +01:00
Alex Ellis
ac9f2fad32 Add healthcheck to markdown for ARMHF 2017-04-30 09:11:34 +00:00
Alex Ellis
5fd4e54860 Compose for ARM + MarkdownRender 2017-04-27 20:27:35 +00:00
Alex Ellis
1eaf13c6c8 Windows port - spike (#66)
* Add Windows Dockerfile.win
* Create appveyor.yml
* Create build.ps1
* Port Golang example to Windows
2017-04-27 09:12:15 +01:00