Skip to content
Snippets Groups Projects
Commit 82b06691 authored by Marin Jankovski's avatar Marin Jankovski
Browse files

Log all reconfigure runs to a log file.

parent 2eb98078
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,8 @@
DEST_DIR=<%= install_dir %>
mkdir -p /var/log/gitlab/reconfigure
skip_migrations_file=/etc/gitlab/skip-auto-migrations
main() {
......
CURRENT_PATH = File.expand_path(File.dirname(__FILE__))
TIME = Time.now.to_i
file_cache_path "#{CURRENT_PATH}/cache"
cookbook_path CURRENT_PATH
cache_path "#{CURRENT_PATH}/cache"
verbose_logging false
ssl_verify_mode :verify_peer
......@@ -2,8 +3,9 @@
file_cache_path "#{CURRENT_PATH}/cache"
cookbook_path CURRENT_PATH
cache_path "#{CURRENT_PATH}/cache"
verbose_logging false
ssl_verify_mode :verify_peer
log_location "/var/log/gitlab/reconfigure/#{TIME}.log"
# Omnibus-GitLab only needs to know very little about the system it is running
# on. We want to disable as many Ohai plugins as we can to avoid plugin bugs
# and speed up 'gitlab-ctl reconfigure'.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment