From f9412b3842fd5a1d399cdf8b7a94e901b8efe78b Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski Date: Fri, 31 Jul 2015 16:10:48 +0200 Subject: Randomize test database --- CHANGELOG | 1 + script/prepare_build.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index b545f1e..05c5e2b 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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 -- cgit v1.2.1