diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-07-31 16:10:48 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-08-03 11:50:18 +0200 |
commit | f9412b3842fd5a1d399cdf8b7a94e901b8efe78b (patch) | |
tree | 1b59a1ca189613046d6d1501987ae236fc6748f4 | |
parent | dc51460c34b185ec85cb27c69767878eeb02779a (diff) | |
download | gitlab-ci-f9412b3842fd5a1d399cdf8b7a94e901b8efe78b.tar.gz |
Randomize test database
-rw-r--r-- | CHANGELOG | 1 | ||||
-rwxr-xr-x | script/prepare_build.sh | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -2,6 +2,7 @@ v7.14.0 (unreleased) - Truncate commit messages after subject line in table - Adjust CI config to support Docker executors - Added Application Settings + - Randomize test database for CI tests v7.13.1 - Fix: user could steal specific runner diff --git a/script/prepare_build.sh b/script/prepare_build.sh index 836e11f..864a683 100755 --- a/script/prepare_build.sh +++ b/script/prepare_build.sh @@ -18,4 +18,5 @@ else cp config/database.yml.mysql config/database.yml sed -i "s/username\:.*$/username\: runner/" config/database.yml sed -i "s/password\:.*$/password\: 'password'/" config/database.yml + sed -i "s/gitlab_ci_test/gitlab_ci_test_$((RANDOM/5000))/" config/database.yml fi |