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:
Gabriela Cervantes 2019-11-21 11:01:01 -06:00
parent 34b28aca01
commit 595606500b

View File

@ -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