fix(deploy): 校验云执行器授权配置与稳定启动
build / build (push) Successful in 1m21s

This commit is contained in:
姚章浩
2026-10-31 04:26:54 +08:00
parent 286f1fb375
commit a50cd73423
5 changed files with 163 additions and 4 deletions
+8
View File
@@ -7,6 +7,14 @@ import (
// Exercise the real shell scripts with isolated fake Docker/SSH commands.
// This checks deployment argv contracts, not live cloud connectivity.
func TestReleaseExecutorAuthorization(t *testing.T) {
cmd := exec.Command("python3", "test_release_executor.py")
out, err := cmd.CombinedOutput()
if err != nil {
t.Fatalf("executor authorization contract: %v\n%s", err, out)
}
}
func TestDeploymentScripts(t *testing.T) {
cmd := exec.Command("python3", "test_deployment.py")
out, err := cmd.CombinedOutput()