-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(docker): superset permissions and firefox config #14736
Conversation
Codecov Report
@@ Coverage Diff @@
## master #14736 +/- ##
==========================================
- Coverage 77.54% 77.31% -0.24%
==========================================
Files 959 959
Lines 48696 48696
Branches 5743 5743
==========================================
- Hits 37762 37647 -115
- Misses 10733 10848 +115
Partials 201 201
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
RUN useradd --user-group --no-create-home --no-log-init --shell /bin/bash superset \ | ||
&& mkdir -p ${SUPERSET_HOME} ${PYTHONPATH} \ | ||
RUN useradd --user-group -d ${SUPERSET_HOME} --no-log-init --shell /bin/bash superset \ | ||
&& mkdir -p ${PYTHONPATH} \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this 👍
docker/docker-bootstrap.sh
Outdated
@@ -41,7 +41,7 @@ if [[ "${1}" == "worker" ]]; then | |||
celery worker --app=superset.tasks.celery_app:app -Ofair -l INFO | |||
elif [[ "${1}" == "beat" ]]; then | |||
echo "Starting Celery beat..." | |||
celery beat --app=superset.tasks.celery_app:app --pidfile /tmp/celerybeat.pid -l INFO | |||
celery beat --app=superset.tasks.celery_app:app --pidfile /tmp/celerybeat.pid -l INFO -s /app/superset_home/celerybeat-schedule |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we pick the path to /app/superset_home
from ${SUPERSET_HOME}
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, changed it
* fix(docker): superset permissions and firefox config * fix lint * user SUPERSET_HOME ENV on bootstrap script
* fix(docker): superset permissions and firefox config * fix lint * user SUPERSET_HOME ENV on bootstrap script
"--high-dpi-support=2.0", | ||
"--headless", | ||
] | ||
WEBDRIVER_OPTION_ARGS = ["--headless", "--marionette"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dpgaspar should this just be ["--headless"]
given that the WEBDRIVER_TYPE
is defaulted to firefox
? Or is the comment now wrong.
* fix(docker): superset permissions and firefox config * fix lint * user SUPERSET_HOME ENV on bootstrap script
SUMMARY
This PR fixes/improves the following:
ADDITIONAL INFORMATION