build_inf_debian: ensure pods are up before build 58/9658/1
authorJackie Huang <jackie.huang@windriver.com>
Wed, 16 Nov 2022 07:11:36 +0000 (15:11 +0800)
committerJackie Huang <jackie.huang@windriver.com>
Wed, 16 Nov 2022 07:11:36 +0000 (15:11 +0800)
Issue-ID: INF-281

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I9b37a3280697912d01ac59637b3a6ed95c1836b8

scripts/build_inf_debian/build_inf_debian.sh

index 12561cd..401f5c2 100755 (executable)
@@ -339,6 +339,10 @@ build_image () {
 
     stx control status
 
+    # wait for all the pods running
+    sleep 600
+    stx control status
+
     RUN_CMD="stx build prepare"
     run_cmd "Build prepare"