summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-02-28 16:28:48 +0100
committerGitHub <noreply@github.com>2018-02-28 16:28:48 +0100
commite8e96b070dc391879348eab74b6fef82ef269a0f (patch)
tree3ca6c2d0051f935b1fe982a5a2d0edeac76540bb /scripts
parent828eed60025b20f5908b195d135c3f4cab59ef7d (diff)
downloadbugzilla-e8e96b070dc391879348eab74b6fef82ef269a0f.tar.gz
bugzilla-e8e96b070dc391879348eab74b6fef82ef269a0f.tar.xz
Bug 1403344 - Add command to docker container for schema / data migrations
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/entrypoint.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/entrypoint.pl b/scripts/entrypoint.pl
index 83576d559..947c5521e 100755
--- a/scripts/entrypoint.pl
+++ b/scripts/entrypoint.pl
@@ -105,6 +105,12 @@ sub cmd_dev_httpd {
httpd();
}
+sub cmd_checksetup {
+ check_data_dir();
+ wait_for_db();
+ run( 'perl', 'checksetup.pl', '--no-template', '--no-permissions' );
+}
+
sub cmd_load_test_data {
wait_for_db();