Skip to content
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

RQ: reuse same names as before for Docker entrypoints #4574

Merged
merged 1 commit into from
Feb 27, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions bin/docker-entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ create_db() {
exec /app/manage.py database create_tables
}

rq_healthcheck() {
exec /app/manage.py rq healthcheck
}

help() {
echo "Redash Docker."
echo ""
Expand All @@ -54,7 +50,6 @@ help() {
echo "dev_worker -- start a single RQ worker with code reloading"
echo "scheduler -- start an rq-scheduler instance"
echo "dev_scheduler -- start an rq-scheduler instance with code reloading"
echo "rq_healthcheck -- runs a RQ healthcheck that verifies that all local workers are active. Useful for Docker's HEALTHCHECK mechanism."
echo ""
echo "shell -- open shell"
echo "dev_server -- start Flask development server with debugger and auto reload"
Expand Down Expand Up @@ -96,9 +91,9 @@ case "$1" in
shift
dev_worker
;;
rq_healthcheck)
celery_healthcheck)
shift
rq_healthcheck
echo "DEPRECATED: Celery has been replaced with RQ and now performs healthchecks autonomously as part of the 'worker' entrypoint."
;;
dev_server)
export FLASK_DEBUG=1
Expand Down