Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
Register now
Use Job Router feature flag from runner config instead of env variable directly
We currently directly use the job router feature flag value from the set environment variables (via `os.Getenv`) which bypasses the usual feature flags configuration mechanisms - in this case that's the runner config. I've raised this limitation initially in https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/5945#note_3115818355. The difficulty here is that the runner config is not yet parsed when we create the GitLab client (which we do differently when job router is enabled).
issue