Message ID | 20240628043827.3608797-1-Sai.Sathujoda@toshiba-tsip.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | [isar-cip-core] submit_lava.sh: Rectify condition to push results to relevant projects in SQUAD. | expand |
On 28.06.24 06:38, Sai.Sathujoda@toshiba-tsip.com wrote: > From: sai ashrith sathujoda <sai.sathujoda@toshiba-tsip.com> > > This commit makes kernel-panic, initramfs-crash rollback test results available > under swupdate project in CIP SQUAD. > > Signed-off-by: sai ashrith sathujoda <sai.sathujoda@toshiba-tsip.com> > --- > scripts/submit_lava.sh | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/scripts/submit_lava.sh b/scripts/submit_lava.sh > index ee8dd37..4b1b671 100755 > --- a/scripts/submit_lava.sh > +++ b/scripts/submit_lava.sh > @@ -103,12 +103,15 @@ submit_squad_watch_job(){ > return 0 > fi > > - if [ "$TEST" = "swupdate" ]; then > + if [ "$TEST" = "swupdate" ] || [ "$TEST" = "kernel-panic" ] || [ "$TEST" = "initramfs-crash" ]; then > squad_project="swupdate-testing" > elif [ "$TEST" = "secure-boot" ]; then > squad_project="secure-boot-testing" > - else > + elif [ "$TEST" = "IEC" ]; then > squad_project="iec-layer-testing" > + else > + echo "Unable to host results in available CIP Core SQUAD projects" > + return 1 > fi > > local DEVICE=$2 Thanks, applied. Jan
diff --git a/scripts/submit_lava.sh b/scripts/submit_lava.sh index ee8dd37..4b1b671 100755 --- a/scripts/submit_lava.sh +++ b/scripts/submit_lava.sh @@ -103,12 +103,15 @@ submit_squad_watch_job(){ return 0 fi - if [ "$TEST" = "swupdate" ]; then + if [ "$TEST" = "swupdate" ] || [ "$TEST" = "kernel-panic" ] || [ "$TEST" = "initramfs-crash" ]; then squad_project="swupdate-testing" elif [ "$TEST" = "secure-boot" ]; then squad_project="secure-boot-testing" - else + elif [ "$TEST" = "IEC" ]; then squad_project="iec-layer-testing" + else + echo "Unable to host results in available CIP Core SQUAD projects" + return 1 fi local DEVICE=$2