Install configuration file for ActionCable

Starting with GitLab 14.5, ActionCable is mandatory, and cable.yml is a
required configuration file.

Signed-off-by: Balasankar C <balasankarc@debian.org>
This commit is contained in:
Balasankar C 2022-07-24 19:05:13 +05:30 committed by Balasankar 'Balu' C
parent b8ba1236e7
commit 506a08384a
No known key found for this signature in database
GPG key ID: B77D2E2E23735427
4 changed files with 18 additions and 1 deletions

View file

@ -6,7 +6,7 @@ and listens on tcp port 6379. So gitlab package in debian is configured to use
tcp sockets. gitlab developers recommend using unix sockets. You can change to
using unix sockets by changing the following configuration files.
/etc/redis/redis.conf and /etc/gitlab/resque.yml
/etc/redis/redis.conf, /etc/gitlab/resque.yml, and /etc/gitlab/cable.yml
2. wiki backend: debian package uses gollum-rugged_adapter whereas gitlab
upstream still use gollum-grit_adapter. grit is no longer maintained and grit

7
debian/changelog vendored
View file

@ -1,3 +1,10 @@
gitlab (15.0.4+ds1-2) UNRELEASED; urgency=medium
[ Balasankar C]
* Install ActionCable configuration file (Closes: #1015303)
-- Balasankar C <balasankarc@debian.org> Sun, 24 Jul 2022 19:12:07 +0530
gitlab (15.0.4+ds1-1) experimental; urgency=medium
[ Antoine Le Gonidec ]

9
debian/conf/cable.yml vendored Normal file
View file

@ -0,0 +1,9 @@
production:
adapter: redis
url: redis://localhost:6379
development:
adapter: redis
url: redis://localhost:6379
test:
adapter: redis
url: redis://localhost:6379

View file

@ -3,6 +3,7 @@ debian/conf/puma.rb etc/gitlab
debian/conf/database.yml etc/gitlab
debian/conf/gitlab.yml.example usr/lib/gitlab/templates
debian/conf/resque.yml etc/gitlab
debian/conf/cable.yml etc/gitlab
debian/conf/gitlab-debian.conf.example usr/lib/gitlab/templates
debian/conf/*.target lib/systemd/system
debian/conf/smtp_settings.rb etc/gitlab/initializers