From 01b68cbdc96554bd9e4a1997ce83884e6f4d0928 Mon Sep 17 00:00:00 2001 From: bunnie Date: Sun, 9 Oct 2022 14:18:57 +0800 Subject: [PATCH] fix development roll-out process for picking a restore kernel --- tools/restore.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/restore.py b/tools/restore.py index f86b6b113..d0de8d569 100644 --- a/tools/restore.py +++ b/tools/restore.py @@ -639,10 +639,12 @@ def main(): # this list should visit kernels in order from newest to oldest. URL_LIST = [ 'https://ci.betrusted.io/releases/v0.9.9/', - 'https://ci.betrusted.io/latest-ci/', # prefer stable, but fallback to latest-ci if the kernels are too old 'https://ci.betrusted.io/releases/v0.9.8/', 'https://ci.betrusted.io/releases/v0.9.7/' ] + if backup_version == 0x10001: + # insert bleeding-edge build for pre-release testing + URL_LIST.insert(0, 'https://ci.betrusted.io/latest-ci/') attempt = 0 while attempt < len(URL_LIST):