[18.0] GitLab Runner deprecated features to remove.
This epic keeps track of deprecation and removal for %"18.0". ## Deprecation and code removal process For each deprecated part that we plan to remove in %"18.0", we should: 1. Create a deprecation issue, with milestone set to %"18.0" and epic set to &amp;13319. 2. Add a comment to a deprecated code part: ```golang // DEPRECATED // TODO: Remove in 18.0. For more details read <link to the issue> ``` 3. Add the deprecated change with links to related issues and MRs in the list below (please use the template attached at the end). 4. **Before %"18.0"** add a deprecation message in Runner's Changelog. 5. **Before %"18.0"** add a deprecation message in release blog post. At %18.0 release we should go through the whole list and finally remove all deprecated parts of code. [Deprecation and removal handbook guidance](https://about.gitlab.com/handbook/marketing/blog/release-posts/#deprecations) ## List of planned removals | Feature / Capability to remove | Deprecation issue link | Removal or Breaking Change Introduction Milestone | Notes | |--------------------------------|------------------------|-------------------|-------------------------------| | Runner registration token: Support for registration tokens and server-side runner configuration in POST /api/v4/runners endpoint | gitlab-org/gitlab#379743+s | ~~18.0~~ 20.0| | Runner registration token: Support for registration tokens and server-side runner configurations in `gitlab-runner register` command | gitlab-org/gitlab#380872+s | 17.0 | removed in 17.0 | | | Runner registration token: runnerRegistration Token in GitLab Runner Helm Chart | gitlab-org/gitlab#381111+s | 17.0 | Removed in 17.0 | | Runner registration token: runner-registration-token in GitLab Runner Operator | gitlab-org/gitlab#382077+s | 17.0 | Removed in 17.0 | | Runner registration token: support for resetting runner registration token through REST API endpoints | gitlab-org/gitlab#383341+s | ~~18.0~~ 20.0 | | Runner registration token: support for resetting runner registration token through GraphQL endpoints | gitlab-org/gitlab#505703+s | ~~18.0~~ 20.0| | Remove runnerPlatforms and runnerSetup GraphQL queries | gitlab-org/gitlab#387937+s | 18.0 | | ~~REST API:make RunnerDetails return "" for version, revision, platform, architecture~~ | gitlab-org/gitlab#458095+s | | Remove deprecated ciRunnerUsage.ciUsedMinutes field | gitlab-org/gitlab#497367+s | 18.0 | | ~~Reduce number of supported alpine versions to just latest~~ | ~~gitlab-org/gitlab-runner#38369+s~~ | ~~18.0~~ | | | | allowed_pull_policies bypass: pull policies not properly filtered on Kubernetes and docker executors | gitlab-org/gitlab#516107+s | 18.0 | | ~~Remove hard coded credentials from git remote reference~~ | ~~gitlab-org/gitlab#518709+s~~ | ~~18.0~~ | ~~The implementation issue is titled [Breaking change - change default for runner feature flag `FF_GIT_URLS_WITHOUT_TOKENS` to true.](https://gitlab.com/gitlab-org/gitlab-runner/-/issues/38301)~~ Is not a breaking change anymore with gitlab-org/gitlab-runner!5430 | | Make `gitlab-runner-helper-images` an optional dependency of `gitlab-runner` package | gitlab-org/gitlab#517765+s | 18.0 | Deprecation epic for %"17.0" can be found at &amp;9526.
epic