Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos
Commits
1ea2a5fe
Commit
1ea2a5fe
authored
Jul 17, 2015
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
1af248c5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
119 additions
and
4 deletions
+119
-4
software/gitlab/README.txt
software/gitlab/README.txt
+9
-0
software/gitlab/instance-gitlab.cfg.in
software/gitlab/instance-gitlab.cfg.in
+18
-0
software/gitlab/instance.cfg.in
software/gitlab/instance.cfg.in
+3
-0
software/gitlab/template/gitlab.yml.in
software/gitlab/template/gitlab.yml.in
+89
-4
No files found.
software/gitlab/README.txt
0 → 100644
View file @
1ea2a5fe
GitLab
======
:abstract: GitLab software release is used to deploy GitLab intances together
with accompanying PostgreSQL and Redis and to request ipv4 frontend.
TODO ...
software/gitlab/instance-gitlab.cfg.in
View file @
1ea2a5fe
...
...
@@ -61,6 +61,16 @@ configuration.default_projects_features.visibility_level= public
configuration.webhook_timeout = 10
# XXX empty ok (gitlab substitutes its own default ?)
# XXX or better explicitly make it 30 (omnibus default) ?
configuration.satellites_timeout =
# 0 means forever (seconds)
configuration.backup_keep_time = 0
# NOTE empty = default gitlab limits
configuration.git_max_size =
configuration.git_timeout =
...
...
@@ -73,6 +83,10 @@ url = http://[${:host}]:${:port}
# current slapuserX
user = {{ pwd.getpwuid(os.getuid())[0] }}
# XXX hack
gitlab-shell = {{ gitlab_shell }}
git = {{ git }}
[publish-instance-info]
recipe = slapos.cookbook:publish
...
...
@@ -112,6 +126,7 @@ bin = ${:home}/bin
etc = ${:home}/etc
var = ${:home}/var
log = ${:var}/log
srv = ${:home}/srv
# slapos startup/service/promies scripts live here:
startup = ${:etc}/run
service = ${:etc}/service
...
...
@@ -125,6 +140,9 @@ log = ${directory:log}/gitlab
var = ${directory:var}/gitlab
tmp = ${:var}/tmp
uploads = ${:var}/uploads
repositories = ${directory:srv}/repositories
satellites = ${directory:srv}/satellites
backup = ${directory:srv}/backup
# gitlab-shell: etc/
...
...
software/gitlab/instance.cfg.in
View file @
1ea2a5fe
...
...
@@ -30,6 +30,9 @@ context =
raw resque_yml_in ${resque.yml.in:target}
raw smtp_settings_rb_in ${smtp_settings.rb.in:target}
# XXX hack - better use ${gitlab-shell-repository:location} directly
raw gitlab_shell ${gitlab-shell-repository:location}
[switch-softwaretype]
recipe = slapos.cookbook:softwaretype
...
...
software/gitlab/template/gitlab.yml.in
View file @
1ea2a5fe
...
...
@@ -2,6 +2,7 @@
# see:
# https://gitlab.com/gitlab-org/gitlab-ce/blob/master/config/gitlab.yml.example
# https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/files/gitlab-cookbooks/gitlab/templates/default/gitlab.yml.erb
# (last updated for v7.13.0.rc2)
production: &base
#
...
...
@@ -51,9 +52,93 @@ production: &base
# repository_downloads_path: ...
## Gravatar
gravatar:
enabled: true
# TODO
# plain_url: ...
# ssl_url: ...
#
# 2. Auth settings
# ==========================
## LDAP disabled
ldap:
enabled: false
## OmniAuth disabled (TODO ?)
omniauth:
enabled: false
#
# 3. Advanced settings
# ==========================
## GitLab Satellites
satellites:
# Relative paths are relative to Rails.root (default: tmp/repo_satellites/)
path: ${gitlab:satellites}
timeout: ${instance-parameter:configuration.satellites_timeout}
## Backup settings
backup:
path: ${gitlab:backup}
keep_time: ${instance-parameter:configuration.backup_keep_time}
upload:
# TODO ?
# connection: ...
# remote_directory: ...
# multipart_chunk_size: ...
## GitLab Shell settings
gitlab_shell:
path: ${gitlab-backend:gitlab-shell}
repos_path: ${gitlab:repositories}
hooks_path: ${gitlab-backend:gitlab-shell}/hooks/
# Git over HTTP is enabled
upload_pack: true
receive_pack: true
# Git over SSH is disabled elsewhere (so we don't care about ssh_port)
#ssh_port: ...
## Git settings
git:
bin_path: ${gitlab-backend:git}
max_size: ${instance-parameter:configuration.git_max_size}
timeout: ${instance-parameter:configuration.git_timeout}
#
# 4. Extra customization
# ==========================
extra:
# google_analytics_id: ...
# piwik_url: ...
# piwik_site_id: ...
# TODO
# <% if @extra_sign_in_text %>
# ## Text under sign-in page (Markdown enabled)
# sign_in_text: |
# <% @extra_sign_in_text.to_s.split("\n").each do |line| %>
# <%= line %>
# <% end %>
# <% end %>
# TODO
# rack_attack:
# git_basic_auth: ...
# # no rack-attack enabled
# rack_attack:
# git_basic_auth:
# TODO
# (for testing on-field maybe)
development:
<<: *base
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment