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
Nicolas Wavrant
slapos
Commits
d02d958f
Commit
d02d958f
authored
Nov 09, 2018
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5: do not calculate sha256sum of repozo backups
parent
865518f1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
1 deletion
+20
-1
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+6
-0
stack/erp5/buildout.hash.cfg
stack/erp5/buildout.hash.cfg
+5
-1
stack/erp5/instance-zeo.cfg.in
stack/erp5/instance-zeo.cfg.in
+9
-0
No files found.
stack/erp5/buildout.cfg
View file @
d02d958f
...
...
@@ -221,6 +221,11 @@ link-binary =
< = download-base
url = ${:_profile_base_location_}/template/run-zelenium-test.py.in
[template-backup-identity-script-no-log-hash]
< = download-base
filename = backup_identity_script_no_log_hash.py.in
url = ${:_profile_base_location_}/template/${:filename}
[template]
recipe = slapos.recipe.template:jinja2
# XXX: "template.cfg" is hardcoded in instanciation recipe
...
...
@@ -293,6 +298,7 @@ context =
key egg_interpreter eggs:interpreter
key stunnel_location stunnel:location
key template_apache_conf template-apache-backend-conf:target
key template_backup_identity_script_no_log_hash template-backup-identity-script-no-log-hash:target
key template_balancer template-balancer:target
key template_erp5 template-erp5:target
key template_haproxy_cfg template-haproxy-cfg:target
...
...
stack/erp5/buildout.hash.cfg
View file @
d02d958f
...
...
@@ -78,7 +78,7 @@ md5sum = 83e69244728a0d323f535dd3e8b734b6
[template-zeo]
filename = instance-zeo.cfg.in
md5sum =
47b2759adcdf784359d2e015ef3fae5
5
md5sum =
7159d1da18507c7c104bdfc3bbc9bf4
5
[template-zope]
filename = instance-zope.cfg.in
...
...
@@ -91,3 +91,7 @@ md5sum = 461b39677d47b3410a4ca0e396110b96
[template-haproxy-cfg]
filename = haproxy.cfg.in
md5sum = 13f1f731ec941f4ba941d6fa8834a5cc
[template-backup-identity-script-no-log-hash]
filename = template/backup_identity_script_no_log_hash.py.in
md5sum = 79bad5a9187ec1e39498c1a0285e60c4
stack/erp5/instance-zeo.cfg.in
View file @
d02d958f
...
...
@@ -112,6 +112,15 @@ mode = 644
template = {{ 'inline:{{ "${directory:zodb}/**\\n${directory:log}\\n" }}' }}
rendered = ${directory:srv}/exporter.exclude
[{{ section("resiliency-identity-signature-script")}}]
# Generate identity script used by webrunner to check data integrity
# It excludes repozo files as they already include a hash function
# used to check backups when rebuilding the datafs
recipe = slapos.recipe.template
url = {{ template_backup_identity_script_no_log_hash }}
output = ${directory:srv}/.backup_identity_script
mode = 755
[{{ section("resiliency-after-import-script") }}]
# Generate after import script used by importer instance of webrunner
recipe = collective.recipe.template
...
...
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