summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikdiet <mikdiet@gmail.com>2014-05-30 14:30:17 +0300
committerMikdiet <mikdiet@gmail.com>2014-06-17 11:21:49 +0300
commit94266f1f664dfb4cf430ffd4fadbf251c38b985a (patch)
treeb0059facbaedf7ae2535f20f97000e60bc1b4839
parente44e2316c3e223955847859492f6f9bd7974e50e (diff)
downloadgitlab-ce-94266f1f664dfb4cf430ffd4fadbf251c38b985a.tar.gz
teatro setup
create teatro db before setup force teatro setup config for teatro teatro setup rename gitlab.yml.teatro -> gitlab.teatro.yml
-rw-r--r--.teatro.yml8
-rw-r--r--config/gitlab.teatro.yml86
2 files changed, 94 insertions, 0 deletions
diff --git a/.teatro.yml b/.teatro.yml
new file mode 100644
index 00000000000..30054361981
--- /dev/null
+++ b/.teatro.yml
@@ -0,0 +1,8 @@
+stage:
+ before:
+ - cp config/gitlab.teatro.yml config/gitlab.yml
+ - mkdir /apps/gitlab-satellites
+ - mkdir /apps/repositories
+
+ database:
+ - RAILS_ENV=development force=yes bundle exec rake db:create gitlab:setup \ No newline at end of file
diff --git a/config/gitlab.teatro.yml b/config/gitlab.teatro.yml
new file mode 100644
index 00000000000..f0656400beb
--- /dev/null
+++ b/config/gitlab.teatro.yml
@@ -0,0 +1,86 @@
+
+production: &base
+ gitlab:
+ host: localhost
+ port: 80
+ https: false
+
+ user: root
+
+ email_from: example@example.com
+
+ support_email: support@example.com
+
+ default_projects_features:
+ issues: true
+ merge_requests: true
+ wiki: true
+ wall: false
+ snippets: false
+ visibility_level: "private" # can be "private" | "internal" | "public"
+
+ issues_tracker:
+
+ gravatar:
+ enabled: true # Use user avatar image from Gravatar.com (default: true)
+
+ ldap:
+ enabled: false
+ host: '_your_ldap_server'
+ port: 636
+ uid: 'sAMAccountName'
+ method: 'ssl' # "tls" or "ssl" or "plain"
+ bind_dn: '_the_full_dn_of_the_user_you_will_bind_with'
+ password: '_the_password_of_the_bind_user'
+ allow_username_or_email_login: true
+
+ base: ''
+
+ user_filter: ''
+
+ omniauth:
+ enabled: false
+
+ satellites:
+ # Relative paths are relative to Rails.root (default: tmp/repo_satellites/)
+ path: /apps/gitlab-satellites/
+
+ backup:
+ path: "tmp/backups" # Relative paths are relative to Rails.root (default: tmp/backups/)
+
+ gitlab_shell:
+ path: /apps/gitlab-shell/
+
+ # REPOS_PATH MUST NOT BE A SYMLINK!!!
+ repos_path: /apps/repositories/
+ hooks_path: /apps/gitlab-shell/hooks/
+
+ upload_pack: true
+ receive_pack: true
+
+ git:
+ bin_path: /usr/bin/git
+ max_size: 5242880 # 5.megabytes
+ timeout: 10
+
+ extra:
+
+development:
+ <<: *base
+
+test:
+ <<: *base
+ gravatar:
+ enabled: true
+ gitlab:
+ host: localhost
+ port: 80
+ issues_tracker:
+ redmine:
+ title: "Redmine"
+ project_url: "http://redmine/projects/:issues_tracker_id"
+ issues_url: "http://redmine/:project_id/:issues_tracker_id/:id"
+ new_issue_url: "http://redmine/projects/:issues_tracker_id/issues/new"
+
+staging:
+ <<: *base