Homec4science

Compress Harbormaster build logs inline

Authored by epriestley <git@epriestley.com> on Mar 1 2016, 22:53.

Description

Compress Harbormaster build logs inline

Summary:
Ref T5822.

  • After a log is closed, compress it if possible.
  • Provide bin/harbormaster archive-logs to make it easier to change the storage format of logs.

Test Plan:

  • Ran bin/harbormaster archive-logs on a bunch of logs, compressing and decompressing them without issues (same hashes, same decompressed size across multiple iterations).
  • Ran new builds, verified logs were compressed after they closed.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T5822

Differential Revision: https://secure.phabricator.com/D15380

Details

Committed
epriestley <git@epriestley.com>Mar 2 2016, 00:26
Pushed
aubortJan 31 2017, 17:16
Parents
rPH6514237c0e01: Implement an iterator for build log chunks
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH078bf59f59b0: Compress Harbormaster build logs inline (authored by epriestley <git@epriestley.com>).Mar 2 2016, 00:26