Skip to content

Commit 2161fc4

Browse files
authored
Merge pull request saltstack-formulas#12 from EvaSDK/gitlab-10-1-support
Gitlab 10.1 support
2 parents 308ebce + 6c0716c commit 2161fc4

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

gitlab/files/gitaly-config.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,8 @@ dir = "{{ gitaly_dir_content }}/ruby"
4242
[gitlab-shell]
4343
# The directory where gitlab-shell is installed
4444
dir = "{{ root_dir }}/gitlab-shell"
45+
46+
# # You can adjust the concurrency of each RPC endpoint
47+
# [[concurrency]]
48+
# rpc = "/gitaly.RepositoryService/GarbageCollect"
49+
# max_per_repo = 1

gitlab/files/gitlab-gitlab.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ production: &base
107107
# This happens when the commit is pushed or merged into the default branch of a project.
108108
# When not specified the default issue_closing_pattern as specified below will be used.
109109
# Tip: you can test your closing pattern at http://rubular.com.
110-
# issue_closing_pattern: '((?:[Cc]los(?:e[sd]?|ing)|[Ff]ix(?:e[sd]|ing)?|[Rr]esolv(?:e[sd]?|ing))(:?) +(?:(?:issues? +)?%{issue_ref}(?:(?:, *| +and +)?)|([A-Z][A-Z0-9_]+-\d+))+)'
110+
# issue_closing_pattern: '((?:[Cc]los(?:e[sd]?|ing)|[Ff]ix(?:e[sd]|ing)?|[Rr]esolv(?:e[sd]?|ing)|[Ii]mplement(?:s|ed|ing)?)(:?) +(?:(?:issues? +)?%{issue_ref}(?:(?:, *| +and +)?)|([A-Z][A-Z0-9_]+-\d+))+)'
111111

112112
## Default project features settings
113113
default_projects_features:
@@ -182,6 +182,7 @@ production: &base
182182
host: example.com
183183
port: 80 # Set to 443 if you serve the pages with HTTPS
184184
https: false # Set to true if you serve the pages with HTTPS
185+
artifacts_server: true
185186
# external_http: ["1.1.1.1:80", "[2001::1]:80"] # If defined, enables custom domain support in GitLab Pages
186187
# external_https: ["1.1.1.1:443", "[2001::1]:443"] # If defined, enables custom domain and certificate support in GitLab Pages
187188

@@ -516,6 +517,8 @@ production: &base
516517

517518
# Gitaly settings
518519
gitaly:
520+
# Path to the directory containing Gitaly client executables.
521+
client_path: {{ root_dir }}/gitaly
519522
# Default Gitaly authentication token. Can be overriden per storage. Can
520523
# be left blank when Gitaly is running locally on a Unix socket, which
521524
# is the normal way to deploy Gitaly.
@@ -536,11 +539,6 @@ production: &base
536539
path: {{ repositories }}
537540
gitaly_address: unix:{{ sockets_dir }}/private/gitaly.socket # TCP connections are supported too (e.g. tcp://host:port)
538541
# gitaly_token: 'special token' # Optional: override global gitaly.token for this storage.
539-
failure_count_threshold: 10 # number of failures before stopping attempts
540-
failure_wait_time: 30 # Seconds after an access failure before allowing access again
541-
failure_reset_time: 1800 # Time in seconds to expire failures
542-
storage_timeout: 30 # Time in seconds to wait before aborting a storage access attempt
543-
544542

545543
## Backup settings
546544
backup:
@@ -594,12 +592,6 @@ production: &base
594592
# Use the default values unless you really know what you are doing
595593
git:
596594
bin_path: /usr/bin/git
597-
# The next value is the maximum memory size grit can use
598-
# Given in number of bytes per git object (e.g. a commit)
599-
# This value can be increased if you have very large commits
600-
max_size: 20971520 # 20.megabytes
601-
# Git timeout to read a commit, in seconds
602-
timeout: 10
603595

604596
## Webpack settings
605597
# If enabled, this will tell rails to serve frontend assets from the webpack-dev-server running

0 commit comments

Comments
 (0)