Commit a6d84f6e 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
parent d704c4f0
...@@ -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 = 2cf79fccd2e2a01c7526c7ac1b5dbaa8 md5sum = f2f24250a57f5c539f6638d4d368d31a
...@@ -47,6 +47,7 @@ ipv6-address = $${slap-network-information:global-ipv6} ...@@ -47,6 +47,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
...@@ -240,3 +241,4 @@ node-quantity = 1 ...@@ -240,3 +241,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": "integer",
"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