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

Implement annotation-based rebase hints #960

Merged
merged 10 commits into from
Aug 16, 2021
Merged

Commits on Aug 12, 2021

  1. Implement annotation-based rebase hints

    `crane rebase` now inspects the original image for annotations to
    identify its old base and new base images. If those are found, and
    --old_base and --new_base flags aren't specified, those will be used.
    
    If the --rebased flag is not passed, the rebased image will be the
    tagged with the original image reference; if it was originally specified
    by digest, the rebased image will be tagged with :rebased (instead of
    stripping the digest and pushing to :latest)
    
    `crane rebase` now prints the full pushed image reference, instead of
    just the digest (aiding embedding in other bash pipelines), and adds
    annotations to aid future rebasings.
    
    This also adds a bash test that covers the rebase case for detected base
    image information.
    imjasonh committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    b27d11c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c78a56e View commit details
    Browse the repository at this point in the history
  3. remove debug logging

    imjasonh committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    4558c7b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a852db5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    903d63d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c520cdc View commit details
    Browse the repository at this point in the history
  7. review feedback

    imjasonh committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    edda558 View commit details
    Browse the repository at this point in the history
  8. update codegen

    imjasonh committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    6cbf4fe View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b8903af View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2021

  1. update rebase.md docs

    imjasonh committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    2a77755 View commit details
    Browse the repository at this point in the history