Follow-up from "Do not check EE migration folders on FOSS for `require_migration!`"
The following discussion from !45886 (merged) should be addressed:
-
@minac started a discussion: (+1 comment) I can not change all the FOSS specs as the pipeline is failing with the following message;
This job is intentionally failed because there are more than 20 FOSS test files matched, which would take too long to run in this job. To reduce the likelihood of breaking FOSS pipelines, please add [RUN AS-IF-FOSS] to the MR title and restart the pipeline. This would run all as-if-foss jobs in this merge request and remove this failing job from the pipeline.
Implementation plan
-
backend Use require_migration!
helper method instead ofrequire Rails.root.join(...)
pattern in migration specs. -
Open an MR with [RUN AS-IF-FOSS]
in the title to run the pipeline as if it is FOSS.
Edited by Mehmet Emin INAC