Skip to content

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

@KoiFresh KoiFresh force-pushed the feat/interactive-job-with-image branch from f6f4369 to e8e4b85 Compare January 17, 2025 17:24
@firecow firecow marked this pull request as draft January 19, 2025 09:32
@KoiFresh KoiFresh force-pushed the feat/interactive-job-with-image branch from e8e4b85 to a744b3c Compare January 27, 2025 08:39
@fschrempf
Copy link

I just had a try with this and it works just fine for me. I tested the decorator and --debug.

@firecow
Copy link
Owner

firecow commented Jun 7, 2025

@KoiFresh Feel free to reopen, if you find time to complete this task

@firecow firecow closed this Jun 7, 2025
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
3 participants