Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: get interactive shell into jobs running in a container #1460

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

KoiFresh
Copy link

This MR adds the ability to use the # @Interactive decorator also on jobs containing an image tag. Also the job does no longer have to open the shell by itself, instead you'll get a shell instead of executing the script. In the shell the script can be run with /gcl-cmd.

Its also possible to run a job in interactive mode with -i <job name> or --interactive-jobs <job name> to get a shell into a job without modifying the .gitlab-ci.yml, or run with --debug to get a shell into jobs which failed.

Fixes the glob pattern, because the syntax for the local include pattern used by gitlab defers from glob pattern used by globby.

Closes #1032

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow entering the container to debug its state
1 participant