Commit Graph

27 Commits

Author SHA1 Message Date
67598e58c5 Update projects to use Go 1.13
Fixes #1442

Signed-off-by: Thomas Schmidt <thomaschmidt@gmail.com>
2020-02-22 19:01:49 +00:00
80b6976c10 Update Golang versions to 1.12
Tested with local Docker build for each component.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2019-12-27 17:53:19 +00:00
cdfa01208d Bump versions
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2019-08-22 15:48:23 +01:00
634ec22c8d Add RED metrics
- this PR adds metrics via Prometheus for instrumentation and
to move towards using HPAv2 / custom metrics in Kubernetes.

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-04-04 09:05:17 +01:00
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
cb2e3c3251 Add new source file to Dockerfile
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-04-14 17:48:28 -07:00
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
bbbb4b536a Bump watchdog to 1.9.4
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-04-03 17:55:44 +01:00
a841e3d7f3 Fix bug reading default value for combine_output
The default should be set to true so we maintain backwards.
compatibility.
readconfig.go was altered due to bug reading default value. This was
tested by adding unit tests to readconfig_test.go for positive and
negative scenarios.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-03-22 11:23:49 +00:00
70e9a83e87 Allow override of HTTP port via env-var
HTTP port can now be overriden through use of "port" environmental
variable.

Prefer messaging "want" over "wanted" in error messages, this is more
idiomatic Golang.

Move away from Go ARMv6 (RPi Zero) and give ARMv7 as a minimum
version for release binaries.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-03-17 20:18:09 +00:00
00bb13cccd Bump go version to 1.8.5
Signed-off-by: John McCabe <john@johnmccabe.net>
2017-11-09 11:48:53 +00:00
1b9affabb4 make build fail when need to run gofmt & remove docker pull in travis
use golang 1.8.3 for gateway

Signed-off-by: Minh-Quan TRAN <account@itscaro.me>
2017-10-09 08:42:30 +01:00
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
b32a4e3509 Support arm64 for watchdog release
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-21 15:40:56 +01:00
f6c14a70ec Add gofmt to watchdog
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-13 08:32:37 -07:00
cbfcbbb880 Strip binaries to half of size
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-04 13:45:07 +01:00
c67dd6fc9d Comment out fast-fork Dockerfile change
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-02 20:12:10 +01:00
1a78ec9234 Make dockerfile multi-arch
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-02 20:12:10 +01:00
c0cc48b844 Move NodeInfo to 0.6.0 watchdog. Produce ARMHF binaries too 2017-08-08 09:23:55 +01:00
2618156414 Revert Prometheus version 2017-04-16 17:01:22 -05:00
04be17ce49 Add marshall_request to watchdog for passing header to functions 2017-03-31 20:40:25 +01:00
361a31ac97 Push Go to 1.7.5 2017-03-27 17:56:33 +01:00
2275382e76 Add travis and fix Dockerfile for test files 2017-01-24 20:22:28 +00:00
1bff66e583 Rename dockerfile 2017-01-03 23:59:21 +00:00
bdfdd5ad45 Moving out the cat service as an example. 2017-01-03 23:31:55 +00:00
a3cb54ab87 Static binary 2016-12-22 13:28:30 +00:00
8fe7cb691d Initial 2016-12-22 13:08:32 +00:00