5 ms·
Deprecated `exec` command is hell to use Curious what makes it hell to use? Unfortunatelly there is still no way to run CI file locally which is major turn
by DogLover_ 7y ago
Deprecated `exec` command is hell to use
Curious what makes it hell to use?
Unfortunatelly there is still no way to run CI file locally which is major turn down
I don't think thats correct. As you mention there is `exec`. Do you know of better alternatives?
- 0xEFF 7y agoMy use case is to develop jobs quickly, locally. exec is a PITA because it doesn't replicate the same environment jobs actually run in and it doesn't have the same functionality as a "normal" runner so it ends up causing more problems than the alternative of simply not using it at all. As I mentioned above, exec is no longer maintained and has missing features.
- majkinetor 7y agoOne example that comes to mind is codefresh.io. It allows local run of the pipeline (and even debug via breakpoints) and only requires docker to be installed locally. I currently use task system with Gitlab to make any job in 1-3 lines. Then I can easily replicate build locally. The task engine is either installed on runner's host itself or run inside docker container.
- jl-gitlab 7y agoWe are looking to add breakpoints in an upcoming release, building on our interactive web terminals feature. If you're interested in providing feedback the public issue is https://gitlab.com/gitlab-org/gitlab/issues/39527 https://gitlab.com/gitlab-org/gitlab/issues/39527.