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

WIP: Git checkout cache #1141

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Commits on Apr 13, 2024

  1. git-checkout: move configs earlier

    One can end up in detached head upon checking out a tag already. Thus
    move config to remove detached head warning earlier, before any git
    commands are executed.
    
    Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@chainguard.dev>
    xnox committed Apr 13, 2024
    Configuration menu
    Copy the full SHA
    9fdf456 View commit details
    Browse the repository at this point in the history
  2. git-checkout: add caching layer

    Initialize a bare repository in melange cache and fetch all potential
    desired objects into it.
    
    Then continue git clone as before.
    
    This means that any package rebuilds will be quicker
    w.r.t. git-checkout pipeline action.
    
    Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@chainguard.dev>
    xnox committed Apr 13, 2024
    Configuration menu
    Copy the full SHA
    9bf3470 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2024

  1. wip

    xnox committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    5686ab0 View commit details
    Browse the repository at this point in the history