Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis (OpenFaaS Ltd) 2020-01-03 18:02:28 +00:00
parent 7ab69b5317
commit e77d05ec94
2 changed files with 11 additions and 0 deletions

View File

@ -7,6 +7,7 @@ go:
script:
- make dist
- make prepare-test
- make test-e2e
deploy:
provider: releases

View File

@ -28,3 +28,13 @@ prepare-test:
sudo systemctl status containerd --no-pager
sudo systemctl status faas-containerd --no-pager
sudo systemctl status faasd --no-pager
curl -SLfs https://cli.openfaas.com | sudo sh
.PHONY: test-e2e
test-e2e:
sudo cat $(HOME)/go/src/github.com/alexellis/faasd/basic-auth-password | faas-cli login --password-stdin
faas-cli store deploy figlet
faas-cli list -v
uname | faas-cli invoke figlet
faas-cli delete figlet
faas-cli list -v