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 System.Containers.Tasks and CreateNewImage #21

Closed
wants to merge 9 commits into from

Commits on Jul 13, 2022

  1. Rebase e2e for easy revert

    Configuration for temp storage
    
    TransientTestFolder
    
    Layer.FromDirectory
    
    Validate Descriptor against schema
    
    Schemas from https://github.com/opencontainers/image-spec/tree/67d2d5658fe0476ab9bf414cec164077ebff3920/schema
    
    WIP: get an image manifest from a registry
    
    Pull image metadata and construct an image that's just a container for the JSON metadata
    
    Successfully upload blob
    
    Try uploading manifest after layer
    
    Fails with 400 `blob unknown to registry`
    
    Try to mount layer + config blobs
    
    Horrible try/catch, must remove ASAP
    
    Push overall manifest
    
    Add the layer to be pushed in test
    
    Switch to Put (which should inherently finalize)
    
    Update config on layer add
    
    Extract UploadBlob
    
    Generalize UploadBlob stream type
    
    Always upload config as blob
    
    What, should it be Linux?
    
    Switch to EnsureSuccessStatusCode
    
    Reparse JSON to get a consistent object type
    
    This is the recommended way to flatten things that
    
    * came from JSON and were parsed into a JsonObject
    * came from a real object and were serialized into JSON
    
    Into equivalent objects, per dotnet/runtime#64472 (comment).
    
    Extract GetClient
    
    Extract BlobAlreadyUploaded
    
    Check for blobs on image upload too
    
    Try to upload missing layers
    
    Remove redundant layer push in test
    
    Remove redundant mount of config
    
    SetEntrypoint
    
    Start local registry as part of test
    
    Still hardcoded bits but cleans up and tests the container
    
    Create and build project to pack
    
    Delete only if exists
    
    Install 6.0 SDK too
    
    Slash directions! ✊🏻
    
    Capture stdout
    
    Make other tests more good
    
    Log more
    
    Correct app name
    
    Extract DockerRegistryManager and set it as AssemblyInit/Cleanup
    rainersigwald authored and benvillalobos committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    e33b2be View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    48ad02a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    95e03d6 View commit details
    Browse the repository at this point in the history
  4. Add shell of the logic

    benvillalobos committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    b343351 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9d14d86 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6612162 View commit details
    Browse the repository at this point in the history
  7. Add basic test

    benvillalobos committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    bf61af7 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2022

  1. Add EntrypointArgs

    benvillalobos committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    1919691 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    848128c View commit details
    Browse the repository at this point in the history