1246 Commits

Author SHA1 Message Date
Keiran Smith
79e5487ed2 Add affix to derek maintainers
Signed-off-by: Keiran Smith <contact@keiran.scot>
2018-06-19 22:37:06 +01:00
Alex Ellis (VMware)
25aa95534c Bump gateway version to 0.8.3
New gateway version includes updated queue-worker interface.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-06-18 20:11:50 +01:00
Alex Ellis (VMware)
9d0800837a Bump queue-worker in compose file
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-06-18 20:10:46 +01:00
Alex Ellis (VMware)
223c561706 Vendor new queue-worker version
Introduces 0.4.6 of queue-worker - see upstream repo for changes.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-06-18 20:10:46 +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
Alex Ellis (VMware)
7b40854cfb Bump faas-swarm to latest
Includes fixes for secrets path, tested on Swarm.

Secrets now mounted at /var/openfaas/secrets/

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-06-16 17:52:09 -07:00
Lucas Roesler
6676d1b807 Trim tailing slash from service name before proxy
**What**
- When determining the service name of the function, remove any trailing
slashes, the slashes are not allowed in service names for either Swarm
or K8S, so this can only be a left over from the url path

**Why**
- This was preventing service resolution, and hence failed functions,
    when the function was called with a trailing slash

Fixes #714

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2018-06-16 16:05:09 -07:00
Burton Rheutan
1f6e174454 Update armhf queue-worker version
Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
2018-06-16 16:02:47 -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
Robbie Page
c8f958c429 add K8s post to community.md
Signed-off-by: Robbie Page <rob@rorpage.com>
2018-06-12 09:56:31 -07:00
Alex Ellis
ff20fd2b9d
Add SF events 2018-06-09 11:15:48 -07:00
Burton Rheutan
46c02697c5 Remove PWD link in readme
This update removes the PWD button from the readme
Play-with-Docker was unreliable for automatic deployment causing
confusion with users attempting to get started quickly

Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
2018-06-05 20:03:50 -07:00
Alex Ellis (VMware)
ac9f0df5e5 Comment out secrets for gateway
If needed, create the secrets and then uncomment.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-06-04 21:25:15 -07:00
Eric Stoekl
0bb05480a3 Remove sample functions for swarm
Break out sample functions into new stack.yml
Update instructions in Testdrive.md

Signed-off-by: Eric Stoekl <ems5311@gmail.com>
2018-06-04 19:58:10 -07:00
Edward Wilde
4fa9d89743 docs: add link to documentation source repo
Signed-off-by: Edward Wilde <ewilde@gmail.com>
2018-05-30 16:01:06 -07:00
Alex Ellis (VMware)
d988818715 Mention Python3 for testing
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-05-30 10:14:13 -07:00
Alex Ellis (VMware)
b07c7c2c48 Add Python / flask / gevent example.
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-05-30 10:13:25 -07:00
Alex Ellis (VMware)
6f8f86967a Add notes for perf testing
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-05-30 09:20:30 -07:00
Alex Ellis (VMware)
2ec98a0e13 Fix ack_wait timeout for armhf
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-05-28 15:22:18 -07:00
Alex Ellis (VMware)
3ee7c99701 Fix typo on ack_wait
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-05-28 15:21:42 -07:00
Tarun Mangukiya
ab2aa14c48 Added Blog post in community.md
Added our experience with serverless computing and speeding up Iconscout with OpenFaaS

Signed-off-by: Tarun Mangukiya <tarunmangukiya@hotmail.com>
2018-05-25 07:41:41 +01:00
John McCabe
0eb8826411 Add Alexs' Docker London talk
Signed-off-by: John McCabe <john@johnmccabe.net>
2018-05-24 11:39:08 +01:00
Alex Ellis (VMware)
8133414183 Read secrets from variable path
This change enables secrets to be read from any mount on disk
rather than hard-coding a certain location which suits Swarm or
K8s. The default value if not specified will look in the Swarm
location of /run/secrets/

README.md (docs) updated and set to off by default.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-05-23 11:42:42 +01:00
Alex Ellis (VMware)
a38931ce69 Enable basic auth on gateway
Fixes https://github.com/openfaas/faas/issues/687 allowing the
gateway to handle the responsibility of basic auth for when it is
in use.

To enable set basic_auth env-var to true and then mount two
secrets or plaintext files under /var/secrets/

basic_auth_user, basic_auth_password

Tested with faas-cli list/deploy and with Safari browser.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-05-23 11:42:42 +01:00
Keiran Smith
8008a51b0b Add Ruby Microservice Blog post and swift template
Signed-off-by: Keiran Smith <contact@keiran.scot>
2018-05-23 10:02:54 +01:00
Alex Ellis (VMware)
73355120b0 Bump armhf version and timeout
Needed to level with x86_64. Tested by BurtonR

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-05-22 14:19:51 +01:00
Alex Ellis (VMware)
0e0fde27dc Bump arm gateway go version
Moving minor version to 1.9.6

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-05-21 15:39:54 +01:00
Alex Ellis (VMware)
ef8b38e104 Move to 0.8.1 of gateway
Makes health and info endpoints available, see release notes.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-05-20 19:11:41 +01:00
Alex Ellis (VMware)
4123270235 Add health and info endpoints
Fixes issue 689 by enabling /healthz and /system/info, see
swagger for more details.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-05-20 19:11:21 +01:00
Alex Ellis (VMware)
fa3ae74f37 Bump swagger version to 0.8.0
Version needed increasing to reflect current schema

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-05-17 10:57:47 +01:00
Alex Ellis (VMware)
b71a8a812b Update swagger definition for envVars
EnvVars are incorrectly marked as arrays and this is causing some
confusion. Made a fix with Ivana reviewing and tested in Swagger
UI. https://github.com/openfaas/faas-netes/issues/204

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-05-17 10:55:41 +01:00
Alex Ellis
a24302ef46
FaaS-Swarm updated to 0.2.6
FaaS-Swarm updates:
- Support varied private repository tag names
- Move to start-first update strategy

Signed-off-by: Alex Ellis (VMware) alexellis2@gmail.com
2018-05-11 14:16:09 +01: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
8c32a08ffd
Add Charlie to Derek file 2018-05-01 15:40:27 +02:00
Eric Stoekl
ee4f4f75be Add upcoming events to community.md
Signed-off-by: Eric Stoekl <ems5311@gmail.com>
2018-05-01 06:22:50 +01:00
John Callaway
27b6faa1cb Add my username to DEREK.yml
Adding my github username to DEREK.yml
so that I can help triage UI issues

Signed-off-by: ovation22 <john@1north.com>
Signed-off-by: John Callaway <john@1north.com>
2018-04-28 09:35:52 +01:00
Ivana Yovcheva (VMware)
3732276c0d Update gateway version to 0.8.0
This updates the gateway version to the latest 0.8.0 and faas
version in markdown docs

Signed-off-by: Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
2018-04-28 09:35:17 +01:00
Rillian Grant
829262e493 Add message for when JavaScript is disabled
- Added padding to the "You need JavaScript page"
 - Added padding to the "You need JavaScript page" - Added info about the CLI tthe "You need JavaScript" page
 - Added a message for people who don't have JavaScript enabled

Signed-off-by: Rillian Grant <rillian.grant@hotmail.com>
2018-04-26 12:48:22 +01:00
ovation22
3c7e222ab2 Add blankslate to gateway UI
Adds a more informative screen when a function is not selected
or when there are no functions to select from.

Provides a button to deploy a new function
and more information on how to deploy using
faas-cli.

Signed-off-by: ovation22 <john@1north.com>
2018-04-25 17:55:33 +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
Stefan Prodan
20d589f99f Fix Docker Registry push
Pipe the Docker registry password so that docker login doesn't block

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2018-04-16 06:29:38 -07:00
Alex Ellis (VMware)
cb2e3c3251 Add new source file to Dockerfile
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-04-14 17:48:28 -07:00
Alex Ellis (VMware)
08a080dcb2 Print version flag on every run
Moves handler code into separate file but retains same
package.

Changes watchdog to print version on start-up so that we can
grab this from logs. Version flag is also present for getting
additional information if needed from a user's published
container without running their function.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-04-14 17:48:28 -07:00
Vivek Singh
c258637d6d Added -version flag to watchdog
This changes introduces a new flag -version to watchdog which will
display version and SHA of last git commit.

Version and SHA are injected at build time and passed as a
build-args for Dockerfile.

Fixes: #632

Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>
2018-04-14 17:19:53 -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
77dc4ae06a Added new blog to community.md file
New blog from Marcus Smallman on writing OpenFaas serverless function in
go has been added to community.md file

Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>
2018-04-12 06:44:38 -07:00
Alex Ellis (VMware)
811bbe6031 Apply gofmt
Previous PR from Simon or Ken broke build due to missing gofmt
in the PR. This PR applies it to resolve the build issue.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-04-11 20:46:20 -07:00
Alex Ellis (VMware)
cb15c11061 Fix CI push behaviour
CI was using a test of ! -s which appeared to give a false positive
and try to push when it shouldn't. I changed it to -z which checks
for an empty string instead.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-04-11 20:33:46 -07:00