HomePhorge

Compress Harbormaster build logs inline

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

Provenance
epriestleyAuthored on Mar 1 2016, 1:53 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP6514237c0e01: Implement an iterator for build log chunks
Branches
Unknown
Tags
Unknown

Event Timeline