Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2012-06-15 08:15:28 +0400
committerrandx <dmitriy.zaporozhets@gmail.com>2012-06-15 08:15:28 +0400
commit5bbf3ccf0559ac4d8528f48721a2816fa0c72985 (patch)
tree904be11f0f74f5e6c5852940c0d6ce20838df6ff /config/database.yml.example
parent6ff99fe9457fcfe831fbe3d3a1ef477d9a327330 (diff)
Cucumber:
* Profile * Browse code * Sceleton for main features * Wiki * Commits
Diffstat (limited to 'config/database.yml.example')
-rw-r--r--config/database.yml.example29
1 files changed, 20 insertions, 9 deletions
diff --git a/config/database.yml.example b/config/database.yml.example
index 379469f79c5..5b5c3f0b80b 100644
--- a/config/database.yml.example
+++ b/config/database.yml.example
@@ -1,32 +1,43 @@
-development:
+#
+# PRODUCTION
+#
+production:
adapter: mysql2
encoding: utf8
reconnect: false
- database: gitlabhq_development
+ database: gitlabhq_production
pool: 5
username: root
password: "secure password"
# socket: /tmp/mysql.sock
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
+
+#
+# Development specific
+#
+#
+development:
adapter: mysql2
encoding: utf8
reconnect: false
- database: gitlabhq_test
+ database: gitlabhq_development
pool: 5
username: root
password: "secure password"
# socket: /tmp/mysql.sock
-production:
+# Warning: The database defined as "test" will be erased and
+# re-generated from your development database when you run "rake".
+# Do not set this db to the same as development or production.
+test: &test
adapter: mysql2
encoding: utf8
reconnect: false
- database: gitlabhq_production
+ database: gitlabhq_test
pool: 5
username: root
password: "secure password"
# socket: /tmp/mysql.sock
+
+cucumber:
+ <<: *test