This commit is contained in:
Roberto Alsina 2024-04-08 12:53:07 -03:00
parent c9678a7244
commit 9b69908890
2 changed files with 5 additions and 2 deletions

View File

@ -32,5 +32,8 @@ ssh root@$IP cat /var/lib/faasd/secrets/basic-auth-password | faas-cli login --p
# Setup test function
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

View File

@ -4,8 +4,8 @@ set -e
apt update
apt upgrade -y
apt install -y git
apt clean -y
rm -rf faasd
git clone https://github.com/openfaas/faasd
git clone https://github.com/openfaas/faasd --depth 1
cd faasd
./hack/install.sh