]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1403344 - Add command to docker container for schema / data migrations
authorDylan William Hardison <dylan@hardison.net>
Wed, 28 Feb 2018 15:28:48 +0000 (10:28 -0500)
committerGitHub <noreply@github.com>
Wed, 28 Feb 2018 15:28:48 +0000 (10:28 -0500)
Dockerfile
scripts/entrypoint.pl

index 5f4072a18c9e17ed106a2fb9f501360a66a7e57f..6ebdc1946448bf906face7cc364a04adbbff4f09 100644 (file)
@@ -1,5 +1,6 @@
 FROM mozillabteam/bmo-slim:20171228.1
 
+
 ARG CI
 ARG CIRCLE_SHA1
 ARG CIRCLE_BUILD_URL
index 83576d559902a30486213baa22fe004cf9b26ff1..947c5521e14ae636b1f17536022eec53a56d9756 100755 (executable)
@@ -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();