fix(deploy): 修正云执行器套接字与凭据挂载契约
build / build (push) Successful in 1m19s

This commit is contained in:
姚章浩
2026-10-30 20:37:18 +08:00
parent 06c2db19fc
commit 468ae64918
6 changed files with 118 additions and 10 deletions
+16
View File
@@ -0,0 +1,16 @@
package deployment_test
import (
"os/exec"
"testing"
)
// Exercise the real shell scripts with isolated fake Docker/SSH commands.
// This checks deployment argv contracts, not live cloud connectivity.
func TestDeploymentScripts(t *testing.T) {
cmd := exec.Command("python3", "test_deployment.py")
out, err := cmd.CombinedOutput()
if err != nil {
t.Fatalf("deployment contract: %v\n%s", err, out)
}
}