mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-30 06:52:03 +01:00
ci-automation: Break test cycle properly
Create a tapfile and break out of the loop.
This commit is contained in:
parent
27ba532c14
commit
6c77ebde54
@ -13,7 +13,12 @@ set -euo pipefail
|
|||||||
source ci-automation/vendor_test.sh
|
source ci-automation/vendor_test.sh
|
||||||
|
|
||||||
if [ "$*" != "" ] && [ "$*" != "*" ] && [ "$*" != "cl.update.payload" ]; then
|
if [ "$*" != "" ] && [ "$*" != "*" ] && [ "$*" != "cl.update.payload" ]; then
|
||||||
echo "Only cl.update.payload is supported, got '$*'"
|
echo "1..1" > "${CIA_TAPFILE}"
|
||||||
|
echo "not ok - all qemu update tests" >> "${CIA_TAPFILE}"
|
||||||
|
echo " ---" >> "${CIA_TAPFILE}"
|
||||||
|
echo " ERROR: Only cl.update.payload is supported, got '$*'." | tee -a "${CIA_TAPFILE}"
|
||||||
|
echo " ..." >> "${CIA_TAPFILE}"
|
||||||
|
break_retest_cycle
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user