• Fabio Pitino's avatar
    Capture pipeline creation warnings and errors · 864c9d5a
    Fabio Pitino authored
    - Allow Ci::Config::Entry::Node to capture warnings and
      return warnings for all its descendants.
    - Bubble creation warnings up to YamlProcessor and make
      it handle warnings by returning them as part of the
      ValidationError.
    - Add YamlProcessor#error! helper to consistently report
      errors and warnings for post-syntax validations.
    - Make Ci::CreatePipelineService aware of any creation
      warnings and new creation errors by appending them to
      the pipeline object being created.
    864c9d5a
yaml_processor_spec.rb 97.4 KB