1648 Commits

Author SHA1 Message Date
Alex Ellis (OpenFaaS Ltd)
cdfa01208d Bump versions
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2019-08-22 15:48:23 +01:00
Niklas Lochschmidt
2b92ee6e7b Fix api docs for logging endpoint
- Corrects indentation for the /system/logs endpoint (summary,...)
- Fixes schema validation for LogEntry

Signed-off-by: Niklas Lochschmidt <nlochschmidt@gmail.com>
2019-08-21 09:17:59 +01:00
Alex Ellis
14677e0b9a Update alpine shipping versions
Alpine 3.10 is now availabe and is no-harm update.

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-08-21 07:40:51 +01:00
Qolzam
f85da7b4bb Add blog post by Amir Movahedi
Signed-off-by: Qolzam <amir.gholzam@live.com>
2019-08-17 06:33:08 +01:00
Alex Ellis (OpenFaaS Ltd)
ba41f49fca Add blog post by Dwipam Katariya
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2019-08-16 08:22:23 +01:00
Alex Ellis
e2321fb631 Update contact email
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-08-12 09:01:29 +01:00
Alex Ellis
b2cf676763 Tweak formatting
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-08-11 21:08:55 +01:00
Alex Ellis
ba4b624c76 Update leave sentence via @burtonr
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-08-11 21:08:55 +01:00
Alex Ellis
a1b68a7c10 Soften voice for "not following process"
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-08-11 21:08:55 +01:00
Alex Ellis
f97ca6065b Define Project Lead, thanks @LucasRoesler
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-08-11 21:08:55 +01:00
Alex Ellis
5257528390 Add note on attendance
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-08-11 21:08:55 +01:00
Alex Ellis
5db74f5e56 Add suggestions from @stefanprodan
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-08-11 21:08:55 +01:00
Alex Ellis
5c6a21a945 Update ROADMAP and Slack join
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-08-11 21:08:55 +01:00
Alex Ellis
2a3e8724a7 Update Governance and Team structure
Updated verbiage from "contributors" to "team" for members and
core. Added project sponsor OpenFaaS Ltd, trademark and additional
perks / benefits for members.

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-08-11 21:08:55 +01:00
Alex Ellis (OpenFaaS Ltd)
ac0fcc5f71 Update YouTube link
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2019-08-08 12:58:16 +01:00
Andreas Muttscheller
20cdb6aeab Add blog post by Andreas Muttscheller
Signed-off-by: Andreas Muttscheller <andreas.muttscheller@codecentric.de>
2019-08-07 23:06:43 +01:00
Alex Ellis
75ac106d48 Remove bronze sponsor Serverlessnomad
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-08-06 17:58:20 +01:00
Alex Ellis (OpenFaaS Ltd)
df97efafae Migrate away from requests package for Function structs
The function deployment and status structs have been moved away
into the faas-provider package.

Tested with a build, running tests, and CI.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2019-08-05 12:58:30 +01:00
Alex Ellis
8767514527 Bump armhf versions
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-07-31 11:54:56 +01:00
Vivek Singh
20a0432fd6 Update armhf and arm64 images
Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>
2019-07-31 11:14:02 +01:00
Christian Sakshaug
334808bed6 Added blog post from karthik @ upnxtblog
Signed-off-by: Christian Sakshaug <christian@dx.no>
2019-07-31 11:13:33 +01:00
Alex Ellis
73106565d7 Add logs support for Swarm by bumping versions
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-07-31 11:12:31 +01:00
Lucas Santos
2689e75626 Add Serverless Week as community event
Signed-off-by: Lucas Santos <lhs.santoss@gmail.com>
2019-07-24 21:32:58 +01:00
Alex Ellis
4adfb5f44d Update slack message
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-07-21 15:37:38 +01:00
Alex Ellis
7b8d79768f Update .DEREK.yml
messages -> custom_messages (renaming)

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-07-21 15:35:44 +01:00
Alex Ellis
aa5868991b
Sort the maintainers list 2019-07-21 15:33:40 +01:00
Alex Ellis
873cc3fc37 Add Slack message for Derek
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-07-21 15:27:09 +01:00
Alex Ellis
a156f26443 Create tag suffix using modified arch value
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-07-21 09:13:43 +01:00
Alex Ellis
c0ed8ac3f3 Add support for ARM64
This patch also removes the need for a separate ARM64 Dockerfile.
It has been tested on an Odroid-C2.

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-07-20 10:43:35 +01:00
Alex Ellis
d3b3130586 Collapse Dockerfile.armhf into Dockerfile
This change which has been tested on armhf and x86_64 removes
the need for a separate Dockerfile for armhf.

CGO_ENABLED and GOARM etc are now passed as ARGs via build.sh.

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-07-20 10:43:35 +01:00
Ivana Yovcheva (VMware)
2420b387b5 Add architecture to /system/info endpoint
With this change /system/info endpoint is going to give
information about the platform architecture it is running on
(arm64, armhf, x86_64)

Signed-off-by: Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
2019-07-17 10:05:11 +01:00
Burton Rheutan
cb21af4825 Add Alex The New Stack interview
Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
2019-07-12 14:30:03 +01:00
Lucas Roesler
a259d1256c Document goleak usage
**What**
- Expand the Contribution guide so to describe using `goleak` in unit
tests.  This package provides a simple method for detecting goroutine
leaks in tests. This will help ensure that we write safe code.

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2019-07-11 22:20:22 +01:00
Pau Rosello
2b37a0133a Non root user and fwatchdow standarization
AlpineFunction additional Dockerfiles
Fix Coffe, node nonroot user and change workdir
DnCore nonroot and updated to 2.1, new README
Fix golang user and watchdog
Java user and watchdog fix
Watchdog and user for node image
Fix python user and watchdog
Fix R username and watchdog
Captainsintent user and fwatchdog
ChangeColorIntent change username, fwatchdog and directory
CHelloWorld remove tmp, disabled lock, fwatchdog and user
DockerHubStats user, fwatchdog and dependencies
Change figlet to use base alpine image
Improve figlet ARM
Set base image GIF-Maker
MarkDownRender change base image
NodeInfo change base image
PhantomJS user and fwatchdog
Resize Image
SentimentAnalysis user and watchdog
WebhookStach change root image
Replace user faas with app
Upgrade alpine to latest version
Revert vendor folders
Upgrade alpine:3.9
2019-07-11 22:17:57 +01:00
haozibi
e8b3818300 chore: add log for easy debug
Signed-off-by: haozibi <haozibi@foxmail.com>
2019-07-11 10:25:17 +01:00
Alex Ellis
481482279c Consolidate listen / timeout messages
This brings of-watchdog and the classic watchdog into sync.

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-07-11 10:12:48 +01:00
Alex Ellis
c15da33165 Add sponsorshop breakdown and insiders program
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-07-10 11:43:38 +01:00
Alex Ellis
4413407a6b Add Form3Tech
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-07-10 11:36:13 +01:00
Burton Rheutan
b572e77471 Add event and writeup to community
Add event for Chicago Kubernetes meetup
Add writeup for On-Premises Serverless Computing

Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
2019-07-09 22:24:39 +01:00
gabrielsson
75a8468d2f Fix async-function doc broken link in swagger
The documentation for async-function pointed to
the old faas/guide and should be to docs.openfaas.com

Signed-off-by: gabrielsson <max.gabrielsson@gmail.com>
2019-07-08 19:45:15 +01:00
Lucas Roesler
4c12c2e2f8 Add tests for loading the logs provider value from the env
**What**
- Ensure that we are loading the log provider url correctly, including
fallback to the function provider, when the value is set

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2019-07-06 10:42:46 +01:00
Lucas Roesler
d8a5952cfe Upgrade faas-provider to 0.9.2
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2019-07-06 10:42:46 +01:00
Lucas Roesler
6868d8a3ce Document the new logs endpoint and env variable
**What**
- Document the new logs handler url env variable in the gateway readme
- Document the logs handler in the swagger docs
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2019-07-06 10:42:46 +01:00
Lucas Roesler
74d08126b3 Handle unexpected statuscodes from the log provider
**What**
- Use NotImplemented when we get a 404 from the log provider.  When we
get a 200, process the log request, as normal.  For all other status
codes, return a sever error with a message stating that the
response was unexpected.  The message will contain the original status
code to assist with debugging

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2019-07-06 10:42:46 +01:00
Lucas Roesler
02ccccbe60 Remove duplicated code to remove hop headers
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2019-07-06 10:42:46 +01:00
Lucas Roesler
c28175c4f6 Fix missing imports and tests
**What**
- Fix missing imports since my ide forgot to add the "time" package
- Update the tests to accept the handler timeout duration

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2019-07-06 10:42:46 +01:00
Lucas Roesler
6df51a3516 Use context timeout to cancel the log request
**What**
- Pass the writetimeout to the logs handler to set the context timeout
of the log stream.

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2019-07-06 10:42:46 +01:00
Lucas Roesler
db6628d1a5 Remove Hyjacker log handler
**What**
- Remove the hyjacker based logs handler implementation because it is
not needed

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2019-07-06 10:42:46 +01:00
Lucas Roesler
e07a61fd0c Reimplemnt the logs proxy without hijacking
**What**
- Create an alternative proxy implementation using CloseNotifier and
Flusher

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2019-07-06 10:42:46 +01:00
Lucas Roesler
00c734a136 Verify not goroutine leaks in the log proxy
**What**
- Add test to verify that the log proxy shutsdown correctly when the
client cancels
- Add test to verify that the log proxy shutsdown correctly when the
logs provider closes the connection

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2019-07-06 10:42:46 +01:00