We have an "init" stage in our pipeline that calculates target infras dynamically based on requirements stored in Git. The stage is set as a "deploy" type because it needs to understand the service and environment, but the infra definition variable is not used. Users are required to select an infra definition, which causes confusion since it's not actually needed. We cannot use custom stage as we can pull service-related variables in it, We want to avoid hard-coding or creating dummy infra definitions.
Created by Brijesh Jagani
·