-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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] c725265
1 parent
6065ce8
commit f21a2de
Showing
2 changed files
with
50 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters