summaryrefslogtreecommitdiffstats
path: root/scripts/entrypoint.pl
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-04-01 16:52:36 +0200
committerDylan William Hardison <dylan@hardison.net>2018-04-01 16:52:36 +0200
commitab229b9a828b77f8a3b9ce215f0dfed4c84d4ae5 (patch)
tree483da9c8b66f4444bb8a410e3d599c7484ad721e /scripts/entrypoint.pl
parentdaa2d6b1c40354ecce0e48e6c5ee686efe642c4b (diff)
parent2f8b999750cc700faf03c6aee1c53d1fc4df767f (diff)
downloadbugzilla-ab229b9a828b77f8a3b9ce215f0dfed4c84d4ae5.tar.gz
bugzilla-ab229b9a828b77f8a3b9ce215f0dfed4c84d4ae5.tar.xz
Merge branch 'master' into unstable
Diffstat (limited to 'scripts/entrypoint.pl')
-rwxr-xr-xscripts/entrypoint.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/entrypoint.pl b/scripts/entrypoint.pl
index d5612dd85..350dcac8e 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,13 @@ sub cmd_httpd {
exit $httpd_exit_f->get();
}
+sub cmd_jobqueue {
+ my (@args) = @_;
+ check_data_dir();
+ wait_for_db();
+ exit run_cereal_and_jobqueue(@args)->get;
+}
+
sub cmd_dev_httpd {
my $have_params = -f "/app/data/params";
assert_database->get();