Commit Graph

13 Commits

Author SHA1 Message Date
Lucas Roesler
40884c98a9 Initialize the go module and update docker/docker
**What**
- Initialize the go.mod from the existing Gopkg.lock
- Update to a more go module friendly version of docker/docker

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2020-09-13 09:02:38 +01:00
Utsav Anand
372d120c34 Add root user for faas-cli invokation
Adds a new target stage for faas-cli's Docker image having a root user that can be used with
CI/CD environments like Google Cloud Build.
Also add a [Breaking Change] that switches from using `CMD` in the Dockerfile to `ENTRYPOINT`
which allows overriding commands in CI/CD environments.

Signed-off-by: Utsav Anand <utsavanand2@gmail.com>
2020-06-29 16:58:27 +01:00
Lucas Roesler
cb0f7c97eb Add local-install make target
**What**
- Simplify local build and testing by using the local go toolchain to
install. This will include the current git-sha and the dirty state in
the version info

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2019-07-06 12:02:51 +01:00
Radoslav Dimitrov
9e182787c1 Refactor .PHONY
Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com>
2018-12-29 19:49:51 +00:00
Radoslav Dimitrov
f3e0b9cd2d Add consistent ARM64 build image process
Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com>
2018-12-18 13:30:35 +00:00
Ivana Yovcheva (VMware)
441205ee29 Add integration test for templating during CI
This change intends to prevent regression in the new CLI releases.
It makes a build using the CLI and tests how running container
from the function image behaves

Signed-off-by: Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
2018-09-24 08:35:55 +01:00
Alex Ellis (VMware)
fc4b908fff Update armhf build syntax
Updates Makefile

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-08-24 11:54:11 +00:00
Alex Ellis (VMware)
88baa911f0 Add armhf CI option
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-08-21 12:22:22 +01:00
Edward Wilde
e730b6b5f9 Move deploy function params into a specification
Refactors calling the DeployFunction using a struct to collect the
required attributes instead of individual parameters. This should make
it easier to maintain in the future

Resolves: #475

Signed-off-by: Edward Wilde <ewilde@gmail.com>
2018-08-17 10:18:13 +01:00
Minh-Quan TRAN
669f5a3ac3 add build_samples to Makefile, remove go get in travis, mark build stage with as build
Signed-off-by: Minh-Quan TRAN <account@itscaro.me>
2018-01-23 09:50:59 +00:00
Alex Ellis
194830b403 Update test for service->function naming
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-31 11:38:59 +00:00
Nic Jackson
ecc59e3881 Updated Dockerfiles to handle GoFmt for go templates, updated Makefile to add unit test excluding template
Signed-off-by: Nic Jackson <jackson.nic@gmail.com>
2017-10-06 18:56:42 +01:00
Alex Ellis
150d7731f9 Add makefile to run shell scripts
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-13 10:19:23 -07:00