You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
1.1 KiB

title: "tmate-enabled Drone runners"
date: 2022-03-22T15:41:06+01:00
draft: false
#### tl;dr
The gist is that a pipeline *can* be (re)started (usually, only failed pipelines
are manually restarted, hoping for a better result as if the error was floating
somewhere around the Ether and not our code most of the times) in *debug* mode.
After a pipeline fails in said debug mode, a `tmate` client connection to a
[`tmate`]( server (as configured in the `drone` server
configuration files -
is open from withing the container that the failing *step* was running in and
connection instructions for `ssh`-ing are displayed.
The error can then be debugged more intimately in the precise environment that made the bug appear.
#### conclusion
Instead of repeating any more of what's already been said, I suggest anybody
interested reads the original
post by <abbr title="one of the authors of Drone CI">Brad</abbr>.