Shell access to builds
Description
I know it's possible to replicate the docker based CI steps locally, but if that involves a lot of steps or many variables (sometimes secret) it can be a bit complex. I've seen other systems allow you a shell into a build.
The use-case being mainly for debugging failed builds.
Proposal
Next to a failed build, we could have a "retry with shell access". Once a digitalocean instance is provisioned for this (I'm assuming gitlab.com here) it could provide SSH access and keep the instance alive for a maximum amount of time to debug the problem. This could increase the digital ocean resources but it could also stop repeated commits and builds with minor changes, each time meaning a new DO instance is created per commit.
Ideally the environment variables would also be set in this shell.