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 new build-cimage command #3128

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 30, 2022

  1. Add new build-cimage command

    This is a big step towards coreos#2685
    
    I know there's a lot going on with the pipeline, and I don't
    want to conflict with all that work - but at the same time,
    in my opinion we are just too dependent on complex Jenkins flows
    and our bespoke "meta.json in S3".
    
    The core of CoreOS *is a container image* now.  This new command
    adds an opinionated flow where one can do:
    
    ```
    $ cosa init
    $ cosa build-cimage quay.io/cgwalters/ostest
    ```
    
    And *that's it* - we do proper change detection, reading and
    writing from the remote container image.  We don't do silly things
    like storing an `.ociarchive` in S3 when we have native registries
    available.
    
    Later, we can build on this and rework our disk images to
    derive from that container image, as coreos#2685 calls for.
    
    Also in the near term future, I think we can rework `cmd-build`
    such that it reuses this flow, but outputs to an `.ociarchive` instead.
    However, this code is going to need a bit more work to run in
    supermin.
    cgwalters committed Nov 30, 2022
    Configuration menu
    Copy the full SHA
    cc3b97c View commit details
    Browse the repository at this point in the history