mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-08 16:06:47 +00:00
Test e2e
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
parent
7ab69b5317
commit
e77d05ec94
@ -7,6 +7,7 @@ go:
|
||||
script:
|
||||
- make dist
|
||||
- make prepare-test
|
||||
- make test-e2e
|
||||
|
||||
deploy:
|
||||
provider: releases
|
||||
|
10
Makefile
10
Makefile
@ -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
|
Loading…
x
Reference in New Issue
Block a user