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

Push to branch #121

Merged
merged 2 commits into from
Mar 12, 2021
Merged

Push to branch #121

merged 2 commits into from
Mar 12, 2021

Commits on Mar 4, 2021

  1. Add PushSpec to image update automation type

    Signed-off-by: Michael Bridgen <[email protected]>
    squaremo committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    97c7510 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2021

  1. Implement .spec.push.branch most simply

    This adapts the controller so that it will honour the
    `.spec.push.branch` field.
    
    The behaviour _without_ that field is to check out the branch given in
    `.spec.checkout.branch`, commit, and push to the origin.
    
    With `.spec.push.branch` present, it will try to check out that
    branch; if it doesn't exist, it'll create it, starting from
    `.spec.checkout.branch`. Either way it'll commit to that branch and
    push to the origin.
    
    The effect is that all automation will happen on the "push" branch,
    and (most likely) not be applied into the cluster until merged into
    whichever branch is synced. When the push branch is deleted, it'll be
    created anew; otherwise, commits will pile up there as more changes
    are made.
    
    Signed-off-by: Michael Bridgen <[email protected]>
    squaremo committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    f90846b View commit details
    Browse the repository at this point in the history