[arch-commits] Commit in gitlab/trunk (PKGBUILD gitlab.install)

Anatol Pomozov anatolik at archlinux.org
Tue May 26 09:05:11 UTC 2020


    Date: Tuesday, May 26, 2020 @ 09:05:10
  Author: anatolik
Revision: 635015

Install database.yml config file

Postrgres is the only option for gitlab now. Let's install a config file
for this database to /etc.

Modified:
  gitlab/trunk/PKGBUILD
  gitlab/trunk/gitlab.install

----------------+
 PKGBUILD       |    2 +-
 gitlab.install |    3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-26 08:43:03 UTC (rev 635014)
+++ PKGBUILD	2020-05-26 09:05:10 UTC (rev 635015)
@@ -165,7 +165,7 @@
   sed -i "s|require_relative '../lib|require '${_datadir}/lib|" config/application.rb
 
   # Install config files
-  for config_file in application.rb gitlab.yml puma.rb resque.yml; do
+  for config_file in application.rb gitlab.yml database.yml puma.rb resque.yml; do
     mv "config/${config_file}" "${pkgdir}${_etcdir}/"
     [[ -f "${pkgdir}${_datadir}/config/${config_file}" ]] && rm "${pkgdir}${_datadir}/config/${config_file}"
     ln -fs "${_etcdir}/${config_file}" "${pkgdir}${_datadir}/config/"

Modified: gitlab.install
===================================================================
--- gitlab.install	2020-05-26 08:43:03 UTC (rev 635014)
+++ gitlab.install	2020-05-26 09:05:10 UTC (rev 635015)
@@ -1,9 +1,8 @@
 post_install() {
     echo "Configure your /etc/webapps/gitlab/gitlab.yml"
-    echo "Set up your redis to run on /var/run/redis/redis.sock or configure gitlab to use redis TCP"
+    echo "Set up your redis to run on /run/redis/redis.sock or configure gitlab to use redis TCP"
     echo "Put a secret bytestring to /etc/webapps/gitlab/secret"
     echo "Copy /usr/share/doc/gitlab/secrets.yml.example to /etc/webapps/gitlab/secrets.yml and configure it"
-    echo "Copy a database example config from /usr/share/doc/gitlab/ to /etc/webapps/gitlab/database.yml and configure it"
     echo "Setup the database:"
     echo "# su - gitlab -s /bin/sh -c \"cd '/usr/share/webapps/gitlab'; EXECJS_RUNTIME=Disabled bundle exec rake gitlab:setup RAILS_ENV=production\""
     echo "Finally run the following commands to check your installation:"



More information about the arch-commits mailing list