Stream Tower deploy script through bash
This commit is contained in:
@@ -130,6 +130,15 @@ def test_tower_deploy_build_uses_remote_env_ai_setting_by_default() -> None:
|
||||
assert 'docker build --build-arg GEOINTEL_INSTALL_AI="$GEOINTEL_INSTALL_AI"' in script
|
||||
|
||||
|
||||
def test_powershell_tower_deploy_streams_remote_script_to_bash() -> None:
|
||||
powershell = (ROOT / "scripts" / "deploy_tower.ps1").read_text(encoding="utf-8")
|
||||
|
||||
assert "bash -s" in powershell
|
||||
assert "$remoteScript | ssh" in powershell
|
||||
assert "REMOTE_PATH='$RemotePath'" in powershell
|
||||
assert "DEPLOY_GEOINTEL_INSTALL_AI='$InstallAi'" in powershell
|
||||
|
||||
|
||||
def test_live_migration_smoke_supports_dockerman_native_container() -> None:
|
||||
script = (ROOT / "scripts" / "live_migration_smoke.sh").read_text(encoding="utf-8")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user