mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-20 16:51:18 -08:00
ssh/tailssh, tstest/natlab/vmtest: expand Tailscale SSH test coverage
Add Docker integration tests for TCP and Unix forwarding, pty size, resize and modes, session env, envknobs, x11 rejection, session teardown, SessionDuration, policy changes and RuleExpires on active sessions, Shutdown, host keys and utmp, and run every integrationtest test in the Dockerfile. Extend the vmtest SSH tests to use real OpenSSH clients across the tailnet for pty, sftp/scp, agent and port forwarding, AcceptEnv, ControlMaster, large transfers, banners, user mapping, revocation, check mode (via a new testcontrol handler), recording, and the tailscale ssh CLI. Fix make sshintegrationtest, which only ever tested one image and always exited 0, and trigger the workflow on go.mod changes and a schedule. Updates #13038 Updates tailscale/corp#50380 Signed-off-by: Brad Fitzpatrick <[email protected]> Change-Id: Ie4fffad7e9298b6b77c3ec3a6ae81fd784d182ce
This commit is contained in:
1 parent
262640ff4e
commit
05abd5d73e
11 files changed
+3968
-96
No files matched your search
@@ -7,11 +7,23 @@ concurrency:
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
paths:
|
||||
- "ssh/**"
|
||||
- "tempfork/gliderlabs/ssh/**"
|
||||
- ".github/workflows/ssh-integrationtest"
|
||||
# gliderssh and x/crypto/ssh bumps.
|
||||
- "go.mod"
|
||||
- "go.sum"
|
||||
- "Makefile"
|
||||
- ".github/workflows/ssh-integrationtest.yml"
|
||||
schedule:
|
||||
# Changes outside ssh/** (ipn/ipnlocal, util/osuser, envknob,
|
||||
# cmd/tailscaled) can break Tailscale SSH without triggering the
|
||||
# pull_request paths above, so also run on main daily around
|
||||
# midnight UK time (cron is UTC; 00:13 GMT, 01:13 BST), so results
|
||||
# are ready the next morning. Off the hour to avoid GitHub's :00
|
||||
# cron backlog.
|
||||
- cron: "13 0 * * *"
|
||||
jobs:
|
||||
ssh-integrationtest:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in new issue
Block a user