Skip to content

Expose $CI_MERGE_REQUEST_MODIFIED_PATHS in CI config

drew stachon requested to merge ci-var-mr-modified-paths into master

What does this MR do?

This MR adds a CI variable to expose a comma-separated list of merge_request.modified_paths

The Verify:Testing team wants to use this variable for configuration to run changes-relevant tests first in CI.

Screenshots

The added context to create_pipeline_service/rules_spec.rb is the most illustrative way to present this usage.

Does this MR meet the acceptance criteria?

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 drew stachon

Merge request reports