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

Hub: support image_type being an array for backwards compatibility #107

Merged
merged 1 commit into from
Sep 2, 2022

Commits on Sep 2, 2022

  1. Hub: support image_type being an array for backwards compatibility

    The support for specifying multiple `image_types` for a single compose
    has been removed by [1]. This turned out to be problematic, because e.g.
    Pungi uses the array type when triggering image builds via osbuild.
    
    Bring back the support for specifying the `image_type` as an array, but
    restrict it to a single item. This will cover the Pungi use-case, since
    it is always passing a single `image_type` in the array. The array is
    then converted to a string in the Hub plugin and passed as such to the
    Builder plugin.
    
    Extend unit tests covering the introduced compatibility layer.
    
    [1] osbuild@c725265
    thozza committed Sep 2, 2022
    Configuration menu
    Copy the full SHA
    715a1d1 View commit details
    Browse the repository at this point in the history