Version inicial

This commit is contained in:
2022-07-19 11:56:46 -03:00
commit a1c2ca7d06
15 changed files with 571 additions and 0 deletions

15
nombres/deploy.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/sh -x
set -e
# My FAAS is arm64, so need to install this to cross-compile
docker run --rm --privileged \
multiarch/qemu-user-static \
--reset -p yes
# Build and deploy
if [! -d templates]
then
faas-cli template store pull python3-http
fi
faas-cli publish -f nombres.yml --platforms linux/arm64 --build-arg 'TEST_ENABLED=false'
faas-cli deploy -f nombres.yml