Jared Davis and GitHub
b1c0fa4200
Create fission environment for go version 1.14 ( #1570 )
2020-04-12 23:02:06 +08:00
Ta-Ching Chen and GitHub
2d543f77c9
Add Go 1.13 support and upgrade Go 1.12 version ( #1507 )
2020-01-27 20:07:39 +08:00
Ta-Ching Chen and GitHub
f6c43af82b
Fix go-server failed to load plugin ( #1469 )
...
The 3rd party package version used by the go server
may be different from the one in the user's source code
and will cause plugin version mismatched. Hence, we
should never import any external packages except the
Fission or built-in packages.
This PR replaces all 3rd-party packages with built-in packages.
2019-12-19 02:54:31 +08:00
Ta-Ching Chen and GitHub
31d3e27560
Support custom private go vendor ( #1346 )
2019-10-10 01:44:44 +08:00
Emil Nikolov and Ta-Ching Chen
abea4299df
Fix wrong go environment error log for specializeHandlerV2 ( #1294 )
2019-08-30 13:37:32 +08:00
Ta-Ching Chen and GitHub
ad517eed94
Fix go 1.9.2 & 1.11.4 shows "go mod not found" ( #1276 )
2019-08-20 10:12:48 +08:00
Ta-Ching Chen and GitHub
04b36a028e
Enable go module support for go environment ( #1152 )
2019-07-10 14:00:29 +08:00
Ta-Ching Chen and GitHub
eaddf8922e
Reuse go docker build cache ( #1218 )
2019-07-06 09:30:27 +08:00
Erwin van Eyk and Vishal
9a586de671
Add links to examples for each Fission environment ( #1090 )
2019-04-25 20:36:14 +05:30
Ta-Ching Chen and GitHub
a6ed38b4f1
Bump base image version of Go environment to 1.11.4 ( #1026 )
2019-03-19 18:29:19 +08:00
Jon Carl and Vishal
45a06cb161
use zap for logging ( #1112 )
...
Use zap for logging
2019-03-14 21:11:15 +05:30
Ta-Ching Chen and GitHub
835f5dc499
Fix go env panic when failed at loading plugin ( #1031 )
...
Fix go env panic when failed at loading plugin to make it easier for troubleshooting.
2018-12-27 00:14:22 +08:00
Ta-Ching Chen and GitHub
b7ca113ee0
Add go environment vendor directory support ( #781 )
...
* Add go environment vendor directory support
* Use symbolink instead of copying files to gopath
* Add go vendor example package & test
2018-07-13 13:16:22 +08:00
Ta-Ching Chen and GitHub
6cffe7b727
Fix go env panic “plugin: not implemented” ( #784 )
2018-07-06 12:24:46 +08:00
John Gallagher and Soam Vasani
e5a663d54a
Convert go-env Dockerfile into a multi-stage build ( #683 )
...
Converting to a multi-stage build reduces the size of the final image from ~750MB to ~15MB.
2018-06-26 13:21:36 -07:00
Soam Vasani and GitHub
06e9c49bb4
Go: Set image to right version, update example readme ( #497 )
2018-02-15 20:39:25 -08:00
Ta-Ching Chen and Soam Vasani
e90fc20f0a
Improve release script ( #494 )
...
* Add step for releasing environment builder image
* Strip $GOPATH from strack trace
2018-02-12 15:42:23 -08:00
Soam Vasani and GitHub
b2e7171e90
Go builder for single file functions ( #492 )
...
Add support to go builder for building a single file (otherwise even a single file needs to be archived in a .zip)
2018-02-08 18:55:49 -08:00
Ta-Ching Chen and GitHub
eccbc58190
Add readiness probe to go env ( #461 )
2018-01-30 21:36:13 +08:00
Soam Vasani and GitHub
2c2c000d78
Golang v2 environment -- runtime and builder ( #427 )
...
v2 environment for Go; includes runtime and builder.
2017-12-06 23:03:05 -06:00
Soam Vasani and GitHub
23a10691b0
Specify full golang version in Dockerfiles and build helper script ( #227 )
...
Addresses #222 .
Plugins and the binaries loading them need to be built with the exact
same go version.
Also update README instructions.
2017-06-09 15:36:09 -07:00
Soam Vasani and GitHub
c3971eea39
Go build helper script ( #163 )
...
Create a docker container and a script to call it, to help people build go plugins for use with fission.
2017-03-27 23:26:59 -07:00
Valentin Tjoncke and Soam Vasani
a489c641cf
Golang runtime ( #125 )
...
Minimal golang runtime.
Functions are built as Go plugins, and the plugin is uploaded to fission.
See `environments/go/README.md` for instructions and `examples/go` for a usage example.
For now, we're re-using the 'code' field of the function to store the binary plugin. With v2 environments, this will be stored separately as a binary package.
2017-03-21 17:13:29 -07:00