From d284b480ec1f67d6f0c54163527d9e83fa5913e2 Mon Sep 17 00:00:00 2001 From: amanujaya Date: Tue, 19 Jan 2021 11:00:08 +0530 Subject: [PATCH] file configuration chages --- config/app-template.yaml | 2 +- scripts/deploy.sh | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config/app-template.yaml b/config/app-template.yaml index cc2da0e..31182b2 100644 --- a/config/app-template.yaml +++ b/config/app-template.yaml @@ -6,7 +6,7 @@ automatic_scaling: max_instances: 2 max_concurrent_requests: 40 -entrypoint: gunicorn -b :\$PORT -w 4 "superset.app:create_app()" +entrypoint: gunicorn -b :\$PORT -w 4 \"superset.app:create_app()\" vpc_access_connector: name: \"projects/${PROJECT_ID}/locations/${REGION}/connectors/superset-connector\" diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 13d546c..145de69 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -5,7 +5,7 @@ run() { tar -zxf *.tar.gz cd dist tar -zxvf apache*.tar.gz - cd apache* + cd apache-superset-0.37.2 cp ../../requirements.txt . cat ../../requirements-db.txt >> requirements.txt cp ../../../config/app.yaml . @@ -14,4 +14,5 @@ run() { } rm -rf .staging && mkdir .staging -(cd .staging && run) \ No newline at end of file +chmod 0777 -R . +(cd .staging && run)