From 94ea99983ccdc9d91a63f59077c31f0189c2be65 Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Thu, 1 Jun 2023 19:31:38 -0300 Subject: [PATCH] Support passing --filter or whatever --- build.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/build.sh b/build.sh index 1f18834..6e20310 100755 --- a/build.sh +++ b/build.sh @@ -6,10 +6,5 @@ docker run --rm --privileged \ multiarch/qemu-user-static \ --reset -p yes -# Build and deploy -if [ ! -d template ] -then - faas-cli template store pull python3-flask -fi -faas-cli publish -f functions.yml --platforms linux/arm64 --build-arg 'TEST_ENABLED=false' -faas-cli deploy -f functions.yml +faas-cli publish -f functions.yml --platforms linux/arm64 --build-arg 'TEST_ENABLED=false' $* +faas-cli deploy -f functions.yml $*