dev: docker-compose TS3/TS6 servers and tsctl smoke test
- dev/docker-compose.yml: TeamSpeak 3.13 and TeamSpeak 6 beta13.1, pinned by digest, REGISTRY override for the Docker Hub mirror. - scripts/it-smoke.sh: tree, server chat and channel chat round-trips on both servers; redeems the one-time ServerAdmin key. - tsctl raw: send an arbitrary command (used to relax anti-flood on the dev servers; later for probing TS6 stream commands). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
This commit is contained in:
1 parent
51a19594d0
commit
ebeec4c2e3
5 files changed
+157
-1
No files matched your search
@@ -14,7 +14,7 @@ use tsclientlib::{
|
||||
ChannelId, ClientId, Connection, DisconnectOptions, MessageHandle, MessageTarget, StreamItem,
|
||||
data,
|
||||
};
|
||||
use tsproto_packets::packets::OutCommand;
|
||||
use tsproto_packets::packets::{Direction, Flags, OutCommand, PacketType};
|
||||
|
||||
use crate::{Action, ChatTarget, ConnectArgs, identity, tree, versions};
|
||||
|
||||
@@ -53,6 +53,10 @@ pub async fn run(args: ConnectArgs) -> Result<()> {
|
||||
Action::Listen { json, expect, timeout } => {
|
||||
listen(&mut con, *json, expect.as_deref(), timeout.map(Duration::from_secs)).await
|
||||
}
|
||||
Action::Raw { command } => {
|
||||
let cmd = OutCommand::new(Direction::C2S, Flags::empty(), PacketType::Command, command);
|
||||
send_and_wait(&mut con, cmd, "command").await.map(|()| println!("ok"))
|
||||
}
|
||||
Action::Repl => repl(&mut con).await,
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user