# 20230413_allow-rerun-success
- --allow-rerun-success
- works as before
- --allow-rerun-success tag=needs-internet
--allow-rerun-success all
--allow-rerun-success tag=...
-->regex
--allow-rerun-success --foobar
- --allow-rerun-success=1 --allow-rerun-success-tag=needs-internet,allow-rerun-success
- --allow-rerun-success-n=N
--allow-rerun-success tag=... n=.. | regex or manually
cosa run --add-disk 5G --add-disk 1G:mpath --add-disk 2G:serial=foobar,nvme
--allow-rerun-success <opt1>[,<opt2>]
opt = (tag=...|n=...)
--allow-rerun-success=tag=othertag,tag=othertag2,n=5
--allow-rerun-success=tags=othertag,othertag2:n=5
--allow-rerun-success <SELECTOR>:<OPTIONS>
SELECTOR
tag=...,...,...
test=...,...,...
OPTIONS
n=...
allow-single=...
1st try:
- https://github.com/coreos/coreos-assembler/compare/main...nikita-dubrovskii:coreos-assembler:rerun_tagged
- cosa kola run ... allow-rerun-success [* | needs-internet]
#cosa kola run --rerun --basic-qemu-scenarios allow-rerun-success
kola -p qemu-unpriv run --rerun allow-rerun-success --output-dir tmp/kola/nvme-true --qemu-nvme=true basic
Error: unknown flag: --rerun
2nd try:
--- a/mantle/cmd/kola/kola.go
+++ b/mantle/cmd/kola/kola.go
@@ -136,7 +136,7 @@ func init() {
- cmdRun.Flags().BoolVar(&allowRerunSuccess, "allow-rerun-success", false, "Allow ...")
+ cmdRun.Flags().StringArrayVar(&rerunSuccessTags, "allow-rerun-success", nil, "Allow ...")
#cosa kola run --rerun --basic-qemu-scenarios --allow-rerun-success all
+ rc=0