diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-02-28 16:28:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-28 16:28:48 +0100 |
commit | e8e96b070dc391879348eab74b6fef82ef269a0f (patch) | |
tree | 3ca6c2d0051f935b1fe982a5a2d0edeac76540bb | |
parent | 828eed60025b20f5908b195d135c3f4cab59ef7d (diff) | |
download | bugzilla-e8e96b070dc391879348eab74b6fef82ef269a0f.tar.gz bugzilla-e8e96b070dc391879348eab74b6fef82ef269a0f.tar.xz |
Bug 1403344 - Add command to docker container for schema / data migrations
-rw-r--r-- | Dockerfile | 1 | ||||
-rwxr-xr-x | scripts/entrypoint.pl | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile index 5f4072a18..6ebdc1946 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM mozillabteam/bmo-slim:20171228.1 + ARG CI ARG CIRCLE_SHA1 ARG CIRCLE_BUILD_URL 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(); |