tweaks
This commit is contained in:
parent
c9678a7244
commit
9b69908890
3
build.sh
3
build.sh
|
@ -32,5 +32,8 @@ ssh root@$IP cat /var/lib/faasd/secrets/basic-auth-password | faas-cli login --p
|
||||||
|
|
||||||
# Setup test function
|
# Setup test function
|
||||||
faas-cli store deploy figlet
|
faas-cli store deploy figlet
|
||||||
|
pass iol-user | faas-cli secret create iol-user
|
||||||
|
pass iol-pass | faas-cli secret create iol-pass
|
||||||
|
pass iol-api-secret | faas-cli secret create iol-api-secret
|
||||||
|
|
||||||
echo 'Success!' | faas-cli invoke figlet
|
echo 'Success!' | faas-cli invoke figlet
|
||||||
|
|
4
setup.sh
4
setup.sh
|
@ -4,8 +4,8 @@ set -e
|
||||||
apt update
|
apt update
|
||||||
apt upgrade -y
|
apt upgrade -y
|
||||||
apt install -y git
|
apt install -y git
|
||||||
|
apt clean -y
|
||||||
rm -rf faasd
|
rm -rf faasd
|
||||||
git clone https://github.com/openfaas/faasd
|
git clone https://github.com/openfaas/faasd --depth 1
|
||||||
cd faasd
|
cd faasd
|
||||||
./hack/install.sh
|
./hack/install.sh
|
||||||
|
|
Loading…
Reference in New Issue