From eb9db947bdd0509427a41c421f8b3bd62f53642f Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Tue, 3 Sep 2024 12:17:02 -0300 Subject: [PATCH] Cambio a rocky --- deploy.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/deploy.sh b/deploy.sh index 6ccad91..3128209 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,30 +1,30 @@ #!/bin/sh -x set -e export OPENFAAS_URL=http://pinky:8082 -pass faas.ralsina.me | faas-cli login -u admin --password-stdin +#pass faas.ralsina.me | faas-cli login -u admin --password-stdin -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 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 deploy -f functions.yml $* +#faas-cli deploy -f functions.yml $* export FAASO_SERVER=http://rocky:8888/admin pass faaso-rocky | faaso login pass nombres-user | faaso secret -a historico user pass nombres-pass | faaso secret -a historico pass -echo "192.168.0.98" | faaso secret -a historico dbhost +echo "192.168.2.108" | faaso secret -a historico dbhost faaso build busqueda faaso scale busqueda 0 faaso scale busqueda 1 pass nombres-user | faaso secret -a busqueda user pass nombres-pass | faaso secret -a busqueda pass -echo "192.168.0.98" | faaso secret -a busqueda dbhost +echo "192.168.2.108" | faaso secret -a busqueda dbhost faaso build historico faaso scale historico 0 faaso scale historico 1 -rsync -rav nombres.ralsina.me/* ralsina@pinky:/data/websites/nombres.ralsina.me/ +rsync -rav nombres.ralsina.me/* ralsina@rocky:/data/stacks/web/websites/nombres.ralsina.me/ faaso build tapas faaso scale tapas 0