Add file extensions `*.{html,xml}` to ensure they are compressed.
`*.xml` files can be quite large on log server and this ensures
that log files are compressed on Nexus have a smaller foot print.
Issue: RELENG-2072
Change-Id: I64bcf7f75f45ba22d0fca50d5df55fa156193580
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
os.chdir(dir)
compress_types = [
+ '**/*.html',
'**/*.log',
'**/*.txt',
+ '**/*.xml',
]
paths = []
for _type in compress_types:
--- /dev/null
+---
+fixes:
+ - |
+ Add file extensions `.html` and `.xml` to ensure they are compressed.
+ `.xml` files pushed to the log server can be quite large, so the fix
+ ensures that the logs uploaded to Nexus have a smaller foot print.