Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
omnibus-heptapod
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
heptapod
omnibus-heptapod
Commits
82b06691
Commit
82b06691
authored
9 years ago
by
Marin Jankovski
Browse files
Options
Downloads
Patches
Plain Diff
Log all reconfigure runs to a log file.
parent
2eb98078
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/templates/package-scripts/preinst.erb
+2
-0
2 additions, 0 deletions
config/templates/package-scripts/preinst.erb
files/gitlab-cookbooks/solo.rb
+2
-0
2 additions, 0 deletions
files/gitlab-cookbooks/solo.rb
with
4 additions
and
0 deletions
config/templates/package-scripts/preinst.erb
+
2
−
0
View file @
82b06691
...
...
@@ -3,6 +3,8 @@
DEST_DIR=
<%=
install_dir
%>
mkdir -p /var/log/gitlab/reconfigure
skip_migrations_file=/etc/gitlab/skip-auto-migrations
main() {
...
...
This diff is collapsed.
Click to expand it.
files/gitlab-cookbooks/solo.rb
+
2
−
0
View file @
82b06691
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'.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment