From fcca33050ad6ee5c73f37c087175a143ff7e9b75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9A=E7=AB=A0=E6=B5=A9?= Date: Thu, 17 Sep 2026 11:08:23 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E9=80=9A=E7=94=A8=E7=9A=84=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E6=9C=8D=E9=95=9C=E5=83=8F=E5=88=87=E6=8D=A2=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=EF=BC=88=E5=85=88=E6=89=93=E5=9B=9E=E6=BB=9A=E6=A0=87?= =?UTF-8?q?=E7=AD=BE+env=200600=20=E5=A4=87=E4=BB=BD=EF=BC=8C=E8=AF=BB?= =?UTF-8?q?=E5=9B=9E=E6=A0=A1=E9=AA=8C=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/test_switch_image.sh | 66 +++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 deploy/test_switch_image.sh diff --git a/deploy/test_switch_image.sh b/deploy/test_switch_image.sh new file mode 100644 index 0000000..e1ce8de --- /dev/null +++ b/deploy/test_switch_image.sh @@ -0,0 +1,66 @@ +#!/usr/bin/env bash +# Generic test-server image switch: rollback tag first, 0600 runtime.env backup, +# post-edit verification (exactly 1 DOBOTAI_IMAGE line, unchanged line count), +# container recreate, then read-only readback incl. binary literal presence. +# Usage: bash test_switch_image.sh