Backend: Create interpolation context from component's spec and user-provided input
Problem
Once we have parsed and validated a CI template's header (specification section), we need to create Interpolation::Context from user-provided spec.
Proposal
Add two new classes:
- a
Gitlab::Ci::Component:Specclass that receives the stable Hash produced by thespecsubclasses ofEntry::Root - a
Gitlab::Ci::Component::Withclass that takes user-provided values frominclude:component:with
Those classes will then fabricate an Interpolation::Context object.
Edited by Grzegorz Bizon