1376 Commits

Author SHA1 Message Date
Richard Gee
0f5ca96bbe Add build-args to Dockerfile.armhf
When the /system/info endpoint was expanded to include information about the gateway a number of build-args were added to the main Dockerfile.  These changes were not mirrored in Dockerfile.armhf, which resulted in nil attributes and an ugly error when running `faas version` against an armhf gateway.

This change carries the changes made to Dockerfile through to Dockerfile.armhf.  As well as the build-args which fix the identified issue the license check has also been added at the latest release 0.2.3, as a armhf build has been made available.  Further changes are to introduce the app user and moving the binary location from /root/ to /home/app/

Signed-off-by: Richard Gee <richard@technologee.co.uk>
2019-01-20 10:00:02 +00:00
Martin Dekov (VMware)
d17a42ce15 Add article from ineat-conseil
Adding blog post about Serverless on Raspberry PI with
Docker Swarm and OpenFaaS by Mathias Deremer in the
Blog posts and write-ups 2019

Signed-off-by: Martin Dekov (VMware) <mdekov@vmware.com>
2019-01-19 11:03:31 +00:00
Burton Rheutan
988c855163 Gateway UI - validate manual input
This change validates manual input to the gateway UI when deploying
new functions. This is to prevent poor user experience when attempting
to deploy a function manually from the UI.

The validation check on the function name is the same pattern that
is used in the CLI to ensure that when the deploy button is pressed,
the function will not fail validation.

Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
2019-01-19 11:00:59 +00:00
Daniel Llewellyn
414c1e76fe Add diddledan's medium post to community.md
Signed-off-by: Daniel Llewellyn <daniel@bowlhat.net>
2019-01-17 19:33:34 +00:00
Radoslav Dimitrov
325d1d4132 Refactor .PHONY
Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com>
2019-01-16 09:09:41 +00:00
Radoslav Dimitrov
28c385f546 Rename publish-armhf.sh to publish-arm.sh
The publish script is now common for both ARMHF and ARM64

Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com>
2019-01-16 09:09:41 +00:00
Radoslav Dimitrov
41b452849c Add a consistent ARM64 image build process
Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com>
2019-01-16 09:09:41 +00:00
Ron Rivera
33800a20d8 Update watchdog to 0.9.14 for sample functions
We need to update the watchdog version for sample functions to 0.9.14
including all references in markdown files.

Signed-off-by: Ron Rivera <roncrivera@gmail.com>
2019-01-13 08:40:07 +00:00
Alex Ellis (VMware)
526d35e934 Redirect troubleshooting page to docs
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-12 20:50:22 +00:00
Bart Smykla
954b68308e Bumped version of faas-swarm to 0.6.1
I changed the version of image to current one,
which implements secret management endpoint
from 0.5.0 to 0.6.1 in docker-compose.yml (x86_64)

Version of openfaas/gateway was also increased to 0.9.14

Signed-off-by: Bart Smykla <bsmykla@vmware.com>
2019-01-11 11:44:01 +00:00
Edward Wilde
0cf01b51ff adds docker nl event and paris cncf
Signed-off-by: Edward Wilde <ewilde@gmail.com>
2019-01-10 21:33:23 +00:00
Alex Ellis (VMware)
2708439d02 Add enterprisetimes.co.uk article
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-10 15:18:44 +00:00
Alex Ellis (VMware)
3d6d8ef05e Add blog post on OpenFaaS & KinD
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-10 15:16:16 +00:00
Alex Ellis (VMware)
bc4079f722 Update alpinefunction to latest watchdog
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-10 14:51:42 +00:00
Alex Ellis
3aa76a9e93 Add blog post from John to 2019
- closes: #1009

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-01-09 22:06:41 +00:00
Alex Ellis (VMware)
88c46dbe41 Update video list
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-07 18:02:08 +00:00
Alex Ellis (VMware)
b316e02dc8 Add article from IT Business Edge
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-05 22:11:59 +00:00
Alex Ellis (VMware)
a65df4795b Update swagger for missing secret definitions
- added secret definition and removed types used previously

Remove structs for secrets

- after discussion on PR the core contributors decided we just
want simple CRUD with the Secret type.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-04 16:51:01 +00:00
Andrew Cornies
b206cb829a Updated secret types based on PR feedback:
- SecretInfo type
- ListSecretsResponse
- Move Annotations to SecretInfo
- update swagger api docs

Signed-off-by: Andrew Cornies <acornies@gmail.com>
2019-01-04 16:51:01 +00:00
Andrew Cornies
b49dded3b3 Updates from PR comments:
- moved Vagrantfile to contrib dir
- gave secret request type more thought

Signed-off-by: Andrew Cornies <acornies@gmail.com>
2019-01-04 16:51:01 +00:00
Andrew Cornies
a9238f5631 Secrets iteration:
- added delete http verb to system/secrets
- added secrets request type
- added vagrant env provisioned by existing deploy_stack.sh

Signed-off-by: Andrew Cornies <acornies@gmail.com>
2019-01-04 16:51:01 +00:00
Andrew Cornies
d2ef8b9207 Initial support for secrets in gw:
- added SecretHandler type
- added discussed system/secret endpoint with appropriate http verbs

Signed-off-by: Andrew Cornies <acornies@gmail.com>
2019-01-04 16:51:01 +00:00
Mike Chiu
1261aadebe Fix fwatchdog timer memory leak issue
Use timer.AfterFunc to make sure goroutine could be gc.

Signed-off-by: Mike Chiu <mike.chiu@pentium.network>
2019-01-02 22:46:03 +00:00
Thomas Shaw
cfac88b001 Add blog post about running bash functions as a service
Signed-off-by: Thomas Shaw <tshaw@riotgames.com>
2019-01-02 18:23:05 +00:00
Alex Ellis (VMware)
b71ec77c5b Compress lines in community file
- moves blogs / events into same line

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-02 17:49:36 +00:00
Alex Ellis (VMware)
9cda76de45 Add 2019 to ToC for community file
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-02 17:48:52 +00:00
Burton Rheutan
22406446c0 Adding more blogs and a 2019 event found via Twitter
Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
2019-01-02 17:18:25 +00:00
Burton Rheutan
1eb95b6047 Add tracing your functions blog post
Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
2019-01-01 19:40:23 +00:00
John McCabe
6d56606e7b Add Serverless Architecture Conf April 2019 talk
Signed-off-by: John McCabe <john@johnmccabe.net>
2018-12-30 20:49:20 +00:00
Lucas Roesler
c9befd78e7 Bump gorilla mux to 1.6.2
**What**
- Update the gopkg.toml

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2018-12-29 19:34:21 +00:00
Gede Wahyu
09736be293 When firing, newReplicas should be greater than currentReplicas
Signed-off-by: Gede Wahyu <tokekbesi@gmail.com>
2018-12-29 19:31:04 +00:00
Gede Wahyu
3bdb194e71 Round up value of newReplicas
Signed-off-by: Gede Wahyu <tokekbesi@gmail.com>
2018-12-29 19:31:04 +00:00
Gede Wahyu
191629151e Remove the differentiation between currentReplicas==1 and not
Signed-off-by: Gede Wahyu <tokekbesi@gmail.com>
2018-12-29 19:31:04 +00:00
Gede Wahyu
81db6514f7 Fix TestInitialScale expectation
Signed-off-by: Gede Wahyu <tokekbesi@gmail.com>
2018-12-29 19:31:04 +00:00
Gede Wahyu
058d1e481a Test scaled up from 1
Signed-off-by: Gede Wahyu <tokekbesi@gmail.com>
2018-12-29 19:31:04 +00:00
Alex Ellis
ea40055c60 Enable basic auth for armhf stack
- basic auth is now optional for armhf - finishes work of #999

Happy Holidays

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-12-25 11:35:53 +00:00
Richard Gee
a02e2d2aa2 Consolidate deploy_stack.sh files
Currently there are multiple deploy_stack.sh files and the user has to select the version appropriate to the target architecture so that the correct images are deployed.  Further, the armhf deploy script lacks the basic auth by default scripting that is in the x86_64 version.

This change adds a case/select to deploy_stack.sh that will determine the hardware architecture and select the appropriate docker-compose file.

The deploy_stack.armhf.sh is also changed, rather than deleted, so that existing references are still valid.

Signed-off-by: Richard Gee <richard@technologee.co.uk>
2018-12-25 11:25:18 +00:00
Lucas Roesler
334288b130 Undo early return in updateData callback
**What**
- Revert to original if-block structure to reduce the size of the diff

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2018-12-19 21:10:41 +00:00
Lucas Roesler
cb367096ae Refresh function image during ui update loop
**What**
- Update the function image value during the `refreshData`

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2018-12-19 21:10:41 +00:00
TPei
0ae105164f add link to blog describing how to write serverless crystal functions
Signed-off-by: TPei <t.s.peikert@gmail.com>
2018-12-11 07:44:59 -08:00
Alex Ellis (VMware)
fe424b974f Move perf page to docs
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-12-06 14:20:53 +00:00
Burton Rheutan
a51d42c983 Download vendor cdn files for gateway
This change set downloads the CDN resources for the gateway
and bundles them with the other static resources for the UI.

This is needed for situations where a user does not have access
to the CDN either because of firewall rules or network policy.

The files and versions remain the same, only now loaded locally
with directory paths matching the CDN paths.

Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
2018-12-05 20:20:15 +00:00
Radoslav Dimitrov
350907aacd Update gateway to golang:1.10.4
Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com>
2018-12-05 19:59:18 +00:00
Alex Ellis (VMware)
6ef5ef73cc Update arm64 build of gateway
- adds version folder - tested on Rock64

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-12-04 11:15:38 +00:00
Lucas Roesler
830159bda3 Bump the faas-swarm version in the compose yml
**What**
- Update the fass-swarm version to 0.5.0

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2018-11-29 10:58:22 +00:00
marcus-smallman
d22af7cf74 Add csharp mongodb template to community file
Signed-off-by: marcus-smallman <marcussmallman@live.co.uk>
2018-11-29 10:48:39 +00:00
Ivana Yovcheva (VMware)
b1d1fe21e0 Add OpenFest and IstaCon events in November
A talk on IstaCon, Sofia, workshop on OpenFest, Sofia, and a
lightning talk during the same event are added to the events list

Signed-off-by: Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
2018-11-26 16:37:05 +00:00
Alex Ellis
891ea8bda3
Add 2x micro-tutorials
Added two micro-tutorials

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-11-24 17:49:21 +00:00
Alex Ellis (VMware)
495cf9e7af Add CODEOWNERS
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-11-22 17:50:13 +01:00
Alex Ellis
fb1adb0d5d
Add pr_description_required
Add pr_description_required to default YAML file for Derek.

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-11-22 13:32:28 +01:00