forked from apache/superset
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set superset as submodule pointing to 0.20.4 tag (#30)
also: * adding initial `superset_config.py` * add dep on mysqlclient * set up some related confidant service entries, but keys don't seem to flow, should the service be called `superset-legacy-iad` or something else ? <img width="535" alt="screen shot 2017-11-02 at 12 11 14 am" src="https://user-images.githubusercontent.com/487433/32313932-77835694-bf62-11e7-9a9b-1071617f1c66.png"> @hughhhh @amalakar NOT PASSING TESTS
- Loading branch information
1 parent
09db56b
commit 16a5bcf
Showing
14 changed files
with
107 additions
and
63 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "superset"] | ||
path = upstream | ||
url = https://github.com/lyft/incubator-superset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
FROM lyft/opsbase:caeebb8308bdb84831261a75530a010fbee2478d | ||
ARG IAM_ROLE | ||
COPY . /code/superset-private | ||
RUN cd /code/superset-private && git submodule update --init --recursive | ||
COPY ops /code/superset-private/ops | ||
COPY requirements.* piptools_requirements.* /code/superset-private/ | ||
COPY manifest.yaml /code/superset-private/manifest.yaml | ||
RUN SERVICE_NAME=superset CODE_ROOT=/code/superset-private /code/ops/base/build_service.sh | ||
COPY . /code/superset-private |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export BANDIT_ENFORCED=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import os | ||
|
||
ROW_LIMIT = 5000 | ||
SUPERSET_WORKERS = 4 | ||
|
||
# Your App secret key | ||
SECRET_KEY = os.getenv("CREDENTIALS_SUPERSET_SECRET_KEY") or "NOSECRET!" | ||
|
||
# The SQLAlchemy connection string to your database backend | ||
# This connection defines the path to the database that stores your | ||
# superset metadata (slices, connections, tables, dashboards, ...). | ||
# Note that the connection information to connect to the datasources | ||
# you want to explore are managed directly in the web UI | ||
if os.getenv("APPLICATION_ENV") == 'production': | ||
SQLALCHEMY_DATABASE_URI = 'mysql://{user}:{password}@{host}:5432/{database}'.format( | ||
user=os.getenv("CREDENTIALS_SUPERSET_USERNAME"), | ||
password=os.getenv("CREDENTIALS_SUPERSET_PASSWORD"), | ||
host=os.getenv("CREDENTIALS_INCENTIVES_HOST"), | ||
database=os.getenv("CREDENTIALS_SUPERSET_DATABASE")) | ||
|
||
# Flask-WTF flag for CSRF | ||
CSRF_ENABLED = True | ||
|
||
# Set this API key to enable Mapbox visualizations | ||
MAPBOX_API_KEY = os.getenv("CREDENTIALS_MAPBOX_API_KEY") | ||
ENABLE_PROXY_FIX = True |