Skip to content

Remove usage of `Config::Entry::Configurable#helpers` method

Fabio Pitino requested to merge refactor-ci-config-entry-helpers into master

What does this MR do?

Related to #208898 (closed)

The DSL to define CI config keywords has an helpers method that defines methods for those entries that are passed in as parameters.

We have noticed that it can get confusing to know what helpers to create. Helpers should only be created for entries and not for attributes of an entry. In !25683 (merged) we fixed the usage.

The current MR instead fixed the usability by completely removing the need to specify helpers and by consequence the chance of defining wrong ones. We do this by automatically define helpers for any entry.

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Kamil Trzciński (Back 2025-01-01)

Merge request reports

Loading