forked from apache/superset
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merging halloween dev branch to master since code freeze is over @lyft/command-center @amalakar @amalakar
- Loading branch information
1 parent
785a1f7
commit d612a01
Showing
12 changed files
with
422 additions
and
136 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -23,3 +23,21 @@ Ensure basic roles and permissions are defined: | |
cmd.run: | ||
- name: /usr/local/bin/service_venv superset init | ||
- cwd: /srv/service/current | ||
|
||
{% if grains.service_instance == 'development' %} | ||
|
||
Ensure load mock admin user: | ||
file.managed: | ||
- name: /etc/starter/post/9-ensure-repos | ||
- makedirs: True | ||
- mode: 755 | ||
- contents: | | ||
#!/bin/bash | ||
/usr/local/bin/service_venv service_venv fabmanager create-admin --app superset --username admin --firstname Superset --lastname Lyft --password password --email [email protected] | ||
Ensure superset examples are loaded: | ||
cmd.run: | ||
- name: /usr/local/bin/service_venv superset load_examples | ||
- cwd: /srv/service/current | ||
|
||
{% endif %} |
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 |
---|---|---|
|
@@ -12,3 +12,5 @@ packaging==16.8 | |
# License: MIT | ||
# Upstream url: http://pypi.python.org/pypi/six/ | ||
six==1.10.0 | ||
|
||
cryptography==1.9 |
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,25 @@ | ||
# | ||
# This file is autogenerated by pip-compile | ||
# To update, run: | ||
# | ||
# control run piptools.compile superset-private | ||
# | ||
appdirs==1.4.3 | ||
asn1crypto==0.23.0 # via cryptography | ||
certifi==2017.7.27.1 | ||
cffi==1.9.1 # via cryptography | ||
cryptography==1.9 | ||
enum34==1.1.6 # via cryptography | ||
idna==2.5 | ||
ipaddress==1.0.18 # via cryptography | ||
ndg-httpsclient==0.4.2 | ||
packaging==16.8 | ||
pyasn1==0.2.2 | ||
pycparser==2.17 # via cffi | ||
pyopenssl==16.2.0 | ||
pyparsing==2.1.10 # via packaging | ||
six==1.10.0 | ||
|
||
# The following packages are considered to be unsafe in a requirements file: | ||
pip==9.0.1 | ||
setuptools==36.6.0 |
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,125 @@ | ||
# piptools: python3 | ||
|
||
# Note that lyft-python in base also requires >= some version and your repo | ||
# must always require == a version greater than lyft-python base. | ||
# If your repo doesn't meet that requirement your tests will fail. | ||
|
||
|
||
# Dispatching system for parties to subscribe to events | ||
# Supports per-endpoint timing in flask | ||
# License: MIT | ||
# Upstream url: https://pypi.python.org/pypi/blinker | ||
blinker==1.4 | ||
|
||
# AWS client library | ||
# License: MIT | ||
# Upstream url: https://github.com/boto/boto/ | ||
boto==2.47.0 | ||
|
||
# The modular source code checker: pep8, pyflakes and co | ||
# License: MIT | ||
# Upstream url: http://bitbucket.org/tarek/flake8 | ||
flake8==3.3.0 | ||
|
||
# Coroutine-based network library | ||
# License: MIT | ||
# Upstream url: http://www.gevent.org/ | ||
gevent==1.2.1 | ||
|
||
# Lightweight in-process concurrent programming | ||
# License: MIT | ||
# Upstream url: https://github.com/python-greenlet/greenlet | ||
greenlet==0.4.12 | ||
|
||
# WSGI HTTP Server for UNIX | ||
# License: MIT | ||
# Upstream url: https://github.com/benoitc/gunicorn | ||
gunicorn==19.7.1 | ||
|
||
## A Python source code analyzer. Used to enforce Python 3 compatibility. | ||
# License: GPL | ||
# Upstream url: https://github.com/PyCQA/pylint | ||
-e git+git://github.com/lyft/pylint@lyft_pylint#egg=pylint | ||
|
||
# Testing library | ||
# License: MIT | ||
# Upstream url: https://github.com/pytest-dev/pytest | ||
pytest==3.1.1 | ||
|
||
# Thin-wrapper around the mock package for easier use with py.test | ||
# License: MIT | ||
# Upstream url: https://github.com/pytest-dev/pytest-mock/ | ||
pytest-mock==1.1 | ||
|
||
# A flake8 plugin that helps you write tidier imports. | ||
# License: ISCL | ||
# Upstream url: https://pypi.python.org/pypi/flake8-tidy-imports | ||
flake8-tidy-imports==1.0.6 | ||
|
||
# Flask service framework | ||
# License: BSD | ||
# Upstream url: http://github.com/mitsuhiko/flask/ | ||
Flask==0.12.2 | ||
|
||
# Scripting support for Flask | ||
# License: BSD | ||
# Upstream url: http://github.com/techniq/flask-script | ||
Flask-Script==2.0.5 | ||
|
||
# A Python library of common idioms used in Lyft microservices | ||
# License: N/A | ||
# Upstream url: https://github.com/lyft/python-lyft-stdlib/ | ||
lyft-stdlib==113.0.0 | ||
|
||
# A Python library of request client and helper modules for Lyft | ||
# License: N/A | ||
# Upstream url: https://github.com/lyft/python-lyft-requests | ||
lyft-requests==0.16.0 | ||
|
||
## Uncomment the following for mongo support | ||
#mongoengine==0.8.7 | ||
#flask-mongoengine==0.7.1 | ||
#pymongo==2.7.2 | ||
#lyft-mongo==1.0.4 | ||
|
||
# Sanctioned DynamoDB ODM, uncomment for dynamo support | ||
# A pythonic interface to Amazon's DynamoDB | ||
# License: MIT | ||
# Upstream url: https://github.com/jlafon/PynamoDB | ||
#pynamodb==3.2.0 | ||
|
||
# Code coverage plugin for py.test | ||
# License: MIT | ||
# Upstream url: https://github.com/pytest-dev/pytest-cov | ||
pytest-cov==2.5.1 | ||
|
||
# YAML parser and emitter for Python | ||
# License: MIT | ||
# Upstream url: http://pyyaml.org/wiki/PyYAML | ||
PyYAML==3.12 | ||
|
||
# A wrapper around gunicorn to handle graceful restarts correctly | ||
# License: BSD | ||
# Upstream url: https://github.com/lyft/rainbow-saddle | ||
rainbow-saddle>=0.4.0 | ||
|
||
# A simple statsd client. | ||
# License: MIT | ||
# Upstream url: https://github.com/jsocol/pystatsd | ||
statsd==3.2.1 | ||
|
||
# Type Hints for Python | ||
# License: PSF | ||
# Upstream url: https://github.com/python/typing | ||
typing==3.6.1 | ||
|
||
# Superset Dependencies | ||
wtforms==2.1 | ||
amqp==1.4.9 | ||
anyjson==0.3.3 | ||
psycopg2 # Postgres driver | ||
sqlalchemy-redshift # Redshift driver | ||
pyhive # Presto driver | ||
|
||
# Superset github module | ||
superset==0.20.4 |
Oops, something went wrong.