Commit 449e6c6b authored by Jérome Perrin's avatar Jérome Perrin

software/erp5testnode: new keep-log-days option

Allow to configure the number of days to keep logs

( needs a new slapos.cookbook release )
parent 25583607
...@@ -18,4 +18,4 @@ md5sum = 307663d73ef3ef94b02567ecd322252e ...@@ -18,4 +18,4 @@ md5sum = 307663d73ef3ef94b02567ecd322252e
[template-default] [template-default]
filename = instance-default.cfg filename = instance-default.cfg
md5sum = 494761d7e66db212f21c0c975ae9a78b md5sum = 08101bc7c3a31e67e2d3ba106e42892d
...@@ -48,6 +48,7 @@ ipv6-address = $${slap-network-information:global-ipv6} ...@@ -48,6 +48,7 @@ ipv6-address = $${slap-network-information:global-ipv6}
test-suite-master-url = $${slap-parameter:test-suite-master-url} test-suite-master-url = $${slap-parameter:test-suite-master-url}
instance-dict = $${slap-parameter:instance-dict} instance-dict = $${slap-parameter:instance-dict}
software-path-list = $${slap-parameter:software-path-list} software-path-list = $${slap-parameter:software-path-list}
keep-log-days = $${slap-parameter:keep-log-days}
git-binary = ${git:location}/bin/git git-binary = ${git:location}/bin/git
slapos-binary = ${buildout:bin-directory}/slapos slapos-binary = ${buildout:bin-directory}/slapos
testnode = ${buildout:bin-directory}/testnode testnode = ${buildout:bin-directory}/testnode
...@@ -241,3 +242,4 @@ node-quantity = 1 ...@@ -241,3 +242,4 @@ node-quantity = 1
test-suite-master-url = test-suite-master-url =
instance-dict = instance-dict =
software-path-list = ["https://lab.nexedi.com/nexedi/slapos/raw/2063375310edea5991786083803e8bca9069ae17/software/seleniumrunner/software.cfg"] software-path-list = ["https://lab.nexedi.com/nexedi/slapos/raw/2063375310edea5991786083803e8bca9069ae17/software/seleniumrunner/software.cfg"]
keep-log-days = 15
\ No newline at end of file
...@@ -17,6 +17,12 @@ ...@@ -17,6 +17,12 @@
"title": "Task Distribution URL", "title": "Task Distribution URL",
"description": "Url for the task distributor master on portal_task_distribution", "description": "Url for the task distributor master on portal_task_distribution",
"type": "string" "type": "string"
},
"keep-log-days": {
"title": "Retention of test logs",
"description": "Number of days to keep logs and snapshots",
"type": "number",
"default": 15
} }
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment