Skip to content

Add a flag to `gitlab-runner exec` to specify the CI/CD config file

What does this MR do?

Add a flag to gitlab-runner exec to specify the CI/CD config file (.gitlab-ci.yml by default), similar to what's available in the GitLab Pipeline configuration panel.

Why was this MR needed?

Right now there is no way to run gitlab-runner exec on a project using a CI configuration file that's not called .gitlab-ci.yml.

What's the best way to test this MR?

gitlab-runner exec docker job-name --cicd-config-file ./path/to/config.yml

What are the relevant issue numbers?

Merge request reports