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

Add image pruning #1841

Merged
merged 21 commits into from
May 22, 2015
Merged

Add image pruning #1841

merged 21 commits into from
May 22, 2015

Commits on May 20, 2015

  1. UPSTREAM(docker/distribution): add layer unlinking

    Add ability to unlink a layer from a repository.
    Andy Goldstein committed May 20, 2015
    Configuration menu
    Copy the full SHA
    a867802 View commit details
    Browse the repository at this point in the history
  2. UPSTREAM(docker/distribution): add BlobService

    Add Blobs() to Registry.
    Add BlobService with the ability to Delete() a blob.
    Andy Goldstein committed May 20, 2015
    Configuration menu
    Copy the full SHA
    d11c63c View commit details
    Browse the repository at this point in the history
  3. UPSTREAM(docker/distribution): custom routes/auth

    Add support for custom routes and custom auth records per route.
    Andy Goldstein committed May 20, 2015
    Configuration menu
    Copy the full SHA
    aaad20e View commit details
    Browse the repository at this point in the history
  4. UPSTREAM(docker/distribution): manifest deletions

    Implement Delete in the manifestStore.
    Andy Goldstein committed May 20, 2015
    Configuration menu
    Copy the full SHA
    902855e View commit details
    Browse the repository at this point in the history
  5. Add image pruning support

    Andy Goldstein committed May 20, 2015
    Configuration menu
    Copy the full SHA
    9f5fcd7 View commit details
    Browse the repository at this point in the history
  6. Image pruning

    Add annotation to images indicating they're from a registry managed by
    OpenShift. This makes determining if an image is prunable significantly
    easier.
    
    Remove registry URLs pruning configuration, as the above annotation
    makes it no longer needed.
    Andy Goldstein committed May 20, 2015
    Configuration menu
    Copy the full SHA
    c0fc084 View commit details
    Browse the repository at this point in the history
  7. Image pruning

    Have the registry send a response after attempting to delete layers.
    
    Have the pruner process the registry's delete layers response.
    
    Add more test coverage.
    Andy Goldstein committed May 20, 2015
    Configuration menu
    Copy the full SHA
    4203e1c View commit details
    Browse the repository at this point in the history
  8. Image Pruning

    Update layer deletion responses to include per-layer errors.
    Andy Goldstein committed May 20, 2015
    Configuration menu
    Copy the full SHA
    bd9acb8 View commit details
    Browse the repository at this point in the history
  9. Image pruning

    Remove fronting mux router and use route and auth extensions added
    upstream in registry.
    
    Move admin registry handlers into pkg/dockerregistry/server.
    
    Rename --older-than to --keep-younger-than and make it a time.Duration.
    Andy Goldstein committed May 20, 2015
    Configuration menu
    Copy the full SHA
    8daa4a7 View commit details
    Browse the repository at this point in the history
  10. Image pruning

    Fix tests from prior refactoring
    Andy Goldstein committed May 20, 2015
    Configuration menu
    Copy the full SHA
    78c7c08 View commit details
    Browse the repository at this point in the history
  11. Image pruning

    Add TODO about pruning manifests (signatures) from the registry.
    Andy Goldstein committed May 20, 2015
    Configuration menu
    Copy the full SHA
    bbeaa4a View commit details
    Browse the repository at this point in the history
  12. Image Pruning

    Update STI->Source for build strategy.
    Andy Goldstein committed May 20, 2015
    Configuration menu
    Copy the full SHA
    931dd40 View commit details
    Browse the repository at this point in the history
  13. Delegate manifest deletion to original Repository

    Because images are deleted from OpenShift via pruning, when we ask the
    registry to delete a manifest (really just its signatures in storage),
    our repository middleware simply needs to delegate the deletion to the
    original distribution.Repository, as the image will have already been
    removed from etcd by this point in time.
    Andy Goldstein committed May 20, 2015
    Configuration menu
    Copy the full SHA
    9760a72 View commit details
    Browse the repository at this point in the history
  14. wip

    Andy Goldstein committed May 20, 2015
    Configuration menu
    Copy the full SHA
    e3e1e0e View commit details
    Browse the repository at this point in the history
  15. Update pruning tests

    Andy Goldstein committed May 20, 2015
    Configuration menu
    Copy the full SHA
    74dbf1d View commit details
    Browse the repository at this point in the history
  16. Remove summary pruner

    Andy Goldstein committed May 20, 2015
    Configuration menu
    Copy the full SHA
    907d8c6 View commit details
    Browse the repository at this point in the history
  17. Retry stream updates when pruning

    Andy Goldstein committed May 20, 2015
    Configuration menu
    Copy the full SHA
    7d7c066 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2015

  1. add prune images command

    Andy Goldstein committed May 21, 2015
    Configuration menu
    Copy the full SHA
    2cbf0c9 View commit details
    Browse the repository at this point in the history
  2. Add func for pruning an image from a stream

    Andy Goldstein committed May 21, 2015
    Configuration menu
    Copy the full SHA
    7bbd24d View commit details
    Browse the repository at this point in the history
  3. Use client config's CA for registry pruning

    Andy Goldstein committed May 21, 2015
    Configuration menu
    Copy the full SHA
    4d219ff View commit details
    Browse the repository at this point in the history
  4. Support custom CA for registry pruning

    Andy Goldstein committed May 21, 2015
    Configuration menu
    Copy the full SHA
    05d1dae View commit details
    Browse the repository at this point in the history