mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-29 16:57:18 +00:00
obs: Check for broken packages
We need to check for broken packages at the obs-wait script. Fixes #492 Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
parent
0b3f5c7570
commit
37bce87661
@ -46,6 +46,10 @@ wait_finish_building() {
|
||||
osc pr
|
||||
exit 1
|
||||
fi
|
||||
if echo "${out}" | grep '<details>broken</details>'; then
|
||||
echo "Project ${project} has broken packages"
|
||||
exit 1
|
||||
fi
|
||||
if echo "${out}" | grep 'code="blocked"'; then
|
||||
echo "Project ${project} has blocked packages, waiting"
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user