firecow / gitlab-ci-local

Tired of pushing to test your .gitlab-ci.yml?
MIT License
2.38k stars 135 forks source link

Automatically enter container if build failed #587

Open Flowdalic opened 2 years ago

Flowdalic commented 2 years ago

It would be great if gitlab-ci-local would automatically enter the container if a build failed, to allow for a post-mortem analysis.

firecow commented 2 years ago

Yeah, or brings up a dialog (Y/n) to docker exec -it into it. Also, there could be multiple jobs (containers) failing, so a picker would also be needed.

There is a similar feature request, that would properly get you a long way.

https://github.com/firecow/gitlab-ci-local/issues/207