Skip to content

Fix MR pipeline spec for protected branch caching change

What does this MR do and why?

Found in !95971 (comment 1075400163) that this MR changing the default caching mechanism for protected branches to rely on Redis::Cache by default. By this reason, we need to make sure that test files depend on protected branches should use clean_gitlab_redis_cache flag to clean up the caching state, otherwise the test fails false-positively.

Related !95971 (comment 1075400163)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Shinya Maeda

Merge request reports