Skip to content

Fix to CIPLAT-441

Carlos Yu requested to merge carlosy1/gitlab:CIPLAT-441 into master

What does this MR do and why?

Fix the issue described in CIPLAT-441 by adding a to_string conversion to the rule variables in gitlab-ci.yml at the seed step of the pipeline. Also added related tests to verify the correctness.

How to set up and validate locally

I added an additional case inside seed_spec.rb to verify the correct parsing of rule variables when they are not string inside the gitlab-ci.yml file. The test would fail under the initial code but would pass with this fix.

MR acceptance checklist

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

Merge request reports