Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
slapos
Commits
e3c50cf8
Commit
e3c50cf8
authored
Dec 09, 2016
by
iv
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitlab: add instance parameter to change backup frequency
parent
81bbbcea
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
software/gitlab/instance-gitlab.cfg.in
software/gitlab/instance-gitlab.cfg.in
+4
-2
software/gitlab/software.cfg
software/gitlab/software.cfg
+1
-1
No files found.
software/gitlab/instance-gitlab.cfg.in
View file @
e3c50cf8
...
...
@@ -65,6 +65,8 @@ configuration.nginx_worker_processes = {{ multiprocessing.cpu_count() }}
# gitlab non-native parameters
configuration.icp_license =
# cron frequency for gitlab backup (default: every 4h)
configuration.backup_frequency = 0 */4 * * *
...
...
@@ -841,8 +843,8 @@ command = ${logrotate:wrapper}
[cron-entry-gitlab-backup]
<= cron-entry
# run backup script
every four hours
frequency =
0 */4 * * *
# run backup script
on a regular basis (given as instance parameter)
frequency =
${instance-parameter:configuration.backup_frequency}
command = {{ gitlab_backup_pull }}
# 6. on-reinstantiate actions
...
...
software/gitlab/software.cfg
View file @
e3c50cf8
...
...
@@ -301,7 +301,7 @@ md5sum = 176939a6428a7aca4767a36421b0af2b
[instance-gitlab.cfg.in]
<= download-file
md5sum =
cbe19d8aef2ebb05cee7c986f3c06108
md5sum =
bad57d3eaa39f08e004fc3ae8681bbd0
[macrolib.cfg.in]
<= download-file
...
...
iv
@iv
mentioned in commit
81bbbcea
·
Dec 15, 2016
mentioned in commit
81bbbcea
mentioned in commit 81bbbceab99217fa38b207e0c40301b96239e42c
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment