ci: break if no errors on build
No wonder why the build has been taking longer... We were building 3 times. We just got at least 2 minutes back of build time thanks to this fix. Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
1 parent
df432fd822
commit
6582fdce97
1 file changed
+2
@@ -113,6 +113,8 @@ function build_rook() {
|
||||
# valid failure
|
||||
exit 1
|
||||
esac
|
||||
# no errors so we break the loop after the first iteration
|
||||
break
|
||||
fi
|
||||
done
|
||||
# validate build
|
||||
|
||||
Reference in new issue
Block a user