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

stages/ostree.deploy.container: add aleph file #10

Closed

Commits on Oct 25, 2023

  1. Post release version bump

    [skip ci]
    schutzbot committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    5579257 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. stages/ostree.deploy.container: add aleph file

    Similar to the aleph file created for builds of FCOS based on ostree
    commit inputs, this adds an aleph file builds based on container image
    inputs.
    lukewarmtemp committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    c45569a View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

  1. Calls ostree-rs-ext api instead of skopeo to get

    the container image metadata
    lukewarmtemp committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    2d20c73 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2023

  1. Clean up aleph file labels and fix target-imgref name

    Fixes some of the labels in the aleph file. Calling `ostree container
    image metadata` also requires the target image reference to be only
    the container image and tag (ie. without the signature verification
    type and remote).
    lukewarmtemp committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    70a98b1 View commit details
    Browse the repository at this point in the history
  2. Sort aleph keys and improve code efficency

    Apply key sorting when using `json.dump`. Prevent double dict
    query and string buffer creation.
    lukewarmtemp committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    ddfd68b View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. Create separate aleph stage

    Refactor the code in the deploy stage to create a separate aleph
    stage. A new stage prefered as both the org.osbuild.ostree.deploy
    and org.osbuild.ostree.deploy.container stages need an aleph file.
    Aleph files are also a coreos specific feature, which is why a
    separate stage is beneficial.
    lukewarmtemp committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    5129eeb View commit details
    Browse the repository at this point in the history
  2. Create symlink for CoreOS

    Create a symlink between the `.aleph-version.json` and
    `.coreos-aleph-version.json` files to allow for backward compatibility
    with CoreOS.
    lukewarmtemp committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    43f2e10 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2023

  1. Implement autodetect target imgref

    This commit allows the target imgref to be found automatically from
    the deployment root's origin file. If the deployment is not specified
    in the mpp.yaml file, this stage will be able to populate the aleph
    file on the assumption that there is only one deployment.
    lukewarmtemp committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    732dfb3 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2023

  1. Clean up code

    lukewarmtemp committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    e14c1cc View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2023

  1. Refactor origin parsing into separate function

    This commit makes the code more clear by refactoring the part extracts
    the deployment type and imgref from the origin file into a separate
    function. This function was implemented as an ostree tool such that
    other stages can also utilize it. Several other minor changes were also
    made to clean up the code
    lukewarmtemp committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    e56d1d5 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2023

  1. Small fixes

    lukewarmtemp committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    2385cd0 View commit details
    Browse the repository at this point in the history