|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging-4.19] automation: add default QEMU_TIMEOUT value if not already set
commit cbea75a3cd339d5a28abbd2a0ae08460e4a8e395
Author: Stefano Stabellini <stefano.stabellini@xxxxxxx>
AuthorDate: Thu Aug 15 18:00:34 2024 -0700
Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CommitDate: Mon Nov 11 18:16:35 2024 +0000
automation: add default QEMU_TIMEOUT value if not already set
The expectation is that QEMU_TIMEOUT should be set as a Gitlab CI/CD
variable but if not we should be able to run the pipeline anyway.
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxx>
Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx>
(cherry picked from commit 1e2a5f991f86979b89aa9a60ca3ba8106ee7d987)
---
automation/scripts/qemu-key.exp | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/automation/scripts/qemu-key.exp b/automation/scripts/qemu-key.exp
index 35eb903a31..787f1f08cb 100755
--- a/automation/scripts/qemu-key.exp
+++ b/automation/scripts/qemu-key.exp
@@ -1,6 +1,10 @@
#!/usr/bin/expect -f
-set timeout $env(QEMU_TIMEOUT)
+if {[info exists env(QEMU_TIMEOUT)]} {
+ set timeout $env(QEMU_TIMEOUT)
+} else {
+ set timeout 1500
+}
log_file -a $env(QEMU_LOG)
--
generated by git-patchbot for /home/xen/git/xen.git#staging-4.19
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |