Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stage_executor: re-use all the layers from cache for squashed case and commit as late as possible. #3674

Merged
merged 1 commit into from
Dec 16, 2021

Commits on Dec 15, 2021

  1. stage_executor: re-use all possible layers from cache for squashed bu…

    …ilds
    
    Re-use all the layers from cache for squashed case and commit as late as possible
    
    Current implementation of marking for re-use of cache `commits` on every
    `stage` when used with `--squashed` however we should try to re-use as
    many layers are possible if `--layers` is specified and `commit` only on
    `last instruction` of `last stage` to perform final squash.
    
    Also treat all other layers as if they are being written for regular
    build and write them cache.
    
    Signed-off-by: Aditya Rajan <arajan@redhat.com>
    flouthoc committed Dec 15, 2021
    Configuration menu
    Copy the full SHA
    a74add5 View commit details
    Browse the repository at this point in the history