Page MenuHomePhabricator

[keyserver] Cache Webpack builds in Docker build
ClosedPublic

Authored by ashoat on Jun 1 2022, 1:32 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Sep 18, 5:03 PM
Unknown Object (File)
Wed, Sep 18, 5:02 PM
Unknown Object (File)
Wed, Sep 18, 5:02 PM
Unknown Object (File)
Mon, Sep 16, 5:06 PM
Unknown Object (File)
Sat, Sep 14, 12:47 AM
Unknown Object (File)
Fri, Sep 13, 11:46 AM
Unknown Object (File)
Sun, Sep 1, 2:31 AM
Unknown Object (File)
Sun, Sep 1, 2:31 AM

Details

Summary

I'm iterating on files in the keyserver directory, and every time I rebuild the Docker image the Webpack builds get re-run, even though none of the files they depend on have changed.

This diff makes sure that the Webpack builds only get rerun if one of the files they depend on changes.

Depends on D4174

Test Plan

I observed that the Webpack builds stopped appearing on every Docker build after this diff

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage