diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-03-13 21:40:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-13 21:40:59 +0100 |
commit | 1f043d69e2b017150bf49d80f01ce20143890344 (patch) | |
tree | 7cccd5e2d3237cc7da1801f0358552ad2d0078f2 /scripts/entrypoint.pl | |
parent | 00a44e83c9b1c37b94e2504a06c981535bb51623 (diff) | |
download | bugzilla-1f043d69e2b017150bf49d80f01ce20143890344.tar.gz bugzilla-1f043d69e2b017150bf49d80f01ce20143890344.tar.xz |
Bug 1441181 - Step 8 - Add jobqueue command to entrypoint
Diffstat (limited to 'scripts/entrypoint.pl')
-rwxr-xr-x | scripts/entrypoint.pl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/entrypoint.pl b/scripts/entrypoint.pl index 23578e257..5c981c5c2 100755 --- a/scripts/entrypoint.pl +++ b/scripts/entrypoint.pl @@ -10,6 +10,7 @@ use Bugzilla::Install::Util qw(install_string); use Bugzilla::Test::Util qw(create_user); use Bugzilla::DaemonControl qw( run_cereal_and_httpd + run_cereal_and_jobqueue assert_httpd assert_database assert_selenium on_finish on_exception ); @@ -89,6 +90,12 @@ sub cmd_httpd { exit $httpd_exit_f->get(); } +sub cmd_jobqueue { + check_data_dir(); + wait_for_db(); + exit run_cereal_and_jobqueue()->get; +} + sub cmd_dev_httpd { my $have_params = -f "/app/data/params"; assert_database->get(); |