diff --git a/build.sh b/build.sh deleted file mode 100755 index 3b9f5a1..0000000 --- a/build.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/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 - -# secrets - -export OPENFAAS_URL=http://pinky:8082 -pass iol-pass | faas-cli secret create iol-pass -pass iol-user | faas-cli secret create iol-user -pass iol-api-secret | faas-cli secret create iol-api-secret - -pass nombres-user | faas-cli secret create nombres-user -pass nombres-pass | faas-cli secret create nombres-pass - -faas-cli publish -f functions.yml --platforms linux/arm64 --build-arg 'TEST_ENABLED=false' $* -faas-cli deploy -f functions.yml $* diff --git a/functions.yml b/functions.yml deleted file mode 100644 index 7c5beaf..0000000 --- a/functions.yml +++ /dev/null @@ -1,14 +0,0 @@ -version: 1.0 -provider: - name: openfaas - gateway: http://pinky:8082 -functions: - iol: - lang: python3-fastapi - handler: ./iol - image: ralsina/iol:latest - secrets: - - iol-pass - - iol-user - - iol-api-secret -