[packages/gitlab-ce] package secrets.yml

glen glen at pld-linux.org
Mon Aug 29 23:17:51 CEST 2016


commit cc64ce983ebf3b8769001df6db9b9c2b42c9604c
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Aug 29 23:39:35 2016 +0300

    package secrets.yml

 gitlab-ce.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gitlab-ce.spec b/gitlab-ce.spec
index b0cd82c..634afba 100644
--- a/gitlab-ce.spec
+++ b/gitlab-ce.spec
@@ -17,7 +17,7 @@
 Summary:	A Web interface to create projects and repositories, manage access and do code reviews
 Name:		gitlab-ce
 Version:	8.11.2
-Release:	0.64
+Release:	0.65
 License:	MIT
 Group:		Applications/WWW
 # md5 deliberately omitted until this package is useful
@@ -138,6 +138,7 @@ chmod a-x vendor/bundle/ruby/gems/unicorn-*/bin/unicorn*
 # remove secrets, log and cache that assets compile initialized
 rm .gitlab_shell_secret
 rm config/secrets.yml
+touch config/secrets.yml
 rm log/production.log
 rm -r tmp/cache/*
 
@@ -197,7 +198,7 @@ move_symlink() {
 }
 
 # Install config files
-for f in gitlab.yml unicorn.rb database.yml; do
+for f in gitlab.yml unicorn.rb database.yml secrets.yml; do
 	move_symlink %{homedir}/config/$f %{_sysconfdir}/gitlab/$f
 done
 
@@ -280,6 +281,7 @@ fi
 %doc LICENSE
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gitlab/database.yml
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gitlab/gitlab.yml
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gitlab/secrets.yml
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gitlab/unicorn.rb
 %config(noreplace) %verify(not md5 mtime size) %attr(640,%{uname},%{gname}) %{_sysconfdir}/gitlab/schema.rb
 %config(noreplace) %verify(not md5 mtime size) %attr(640,%{uname},%{gname}) %{_sysconfdir}/gitlab/.gitconfig
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gitlab-ce.git/commitdiff/5ce23bfad84ef429a91c4a8a1376f27f32d53e98



More information about the pld-cvs-commit mailing list