mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-27 15:57:09 +00:00
obs: Failed when we have unresolvable packages
We need to fail when we have unresolvable packages as they are not build correctly. Fixes #820 Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
parent
34b28aca01
commit
595606500b
@ -50,6 +50,10 @@ wait_finish_building() {
|
||||
echo "Project ${project} has blocked packages, waiting"
|
||||
continue
|
||||
fi
|
||||
if echo "${out}" | grep 'code="unresolvable"'; then
|
||||
echo "Project ${project} has unresolvable packages"
|
||||
exit 1
|
||||
fi
|
||||
if echo "${out}" | grep 'state="building"'; then
|
||||
echo "Project ${project} is still building, waiting"
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user