Conditionally skip container test when using older osbuild version
Introduced in https://github.com/osbuild/osbuild-composer/pull/3336
This commit is contained in:
parent
3686223a40
commit
2c23894e2a
2 changed files with 18 additions and 0 deletions
|
|
@ -141,6 +141,11 @@ else
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if ! nvrGreaterOrEqual "osbuild" "83"; then
|
||||
echo "INFO: osbuild version is older. Exiting test here"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Check that the local name was set in the names array
|
||||
FEDORA_NAME_EXISTS=$(jq -e --arg name "${FEDORA_LOCAL_NAME}" 'any(."container-images"[].Names[] | select(. != null and . == $name); .)' <<< "${INFO}")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue