Skip to content
Snippets Groups Projects
Unverified Commit c17570d3 authored by bogdanvlviv's avatar bogdanvlviv
Browse files

Update scripts/prepare_build.sh

parent 209e656e
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -27,11 +27,9 @@ fi
cp config/database.yml.$GITLAB_DATABASE config/database.yml
 
if [ "$GITLAB_DATABASE" = 'postgresql' ]; then
sed -i 's/# host:.*/host: postgres/g' config/database.yml
sed -i 's/localhost/postgres/g' config/database.yml
else # Assume it's mysql
sed -i 's/username:.*/username: root/g' config/database.yml
sed -i 's/password:.*/password:/g' config/database.yml
sed -i 's/# host:.*/host: mysql/g' config/database.yml
sed -i 's/localhost/mysql/g' config/database.yml
fi
 
cp config/resque.yml.example config/resque.yml
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment