Compare commits

...

4 Commits

Author SHA1 Message Date
9b69908890 tweaks 2024-04-08 12:53:07 -03:00
c9678a7244 whatever 2023-07-18 10:40:02 -03:00
2be86e238f Fix readme 2022-12-14 10:29:28 -03:00
a50214f468 Do not start this automatically 2022-07-21 18:27:22 -03:00
4 changed files with 7 additions and 3 deletions

View File

@ -20,7 +20,7 @@ by the VM sandbox.
Assuming you have ignite and faas-cli installed:
* replace `id_rsa.pub` with yours
* run setup.sh
* run build.sh
You will end up with:

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

0
down Normal file
View File

5
setup.sh Normal file → Executable file
View File

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