An error occurred fetching the project authors.
  1. 04 Nov, 2020 1 commit
  2. 08 Oct, 2020 1 commit
  3. 16 Sep, 2020 1 commit
  4. 02 Sep, 2020 1 commit
  5. 24 Aug, 2020 1 commit
    • Fabio Pitino's avatar
      Extract Gitlab::Ci::Lint class · 8f043c04
      Fabio Pitino authored
      Provide an abstraction for the CI Lint feature that can
      use either a static validation via the Gitlab::Ci::YamlProcessor
      or via a simulation using Ci::CreatePipelineService.
      
      The resulting object is mode agnostic making it easy to serialize
      or visualize it in the UI.
      8f043c04
  6. 12 Aug, 2020 1 commit
    • Fabio Pitino's avatar
      Make CreatePipelineService to run in dry-run mode · bac1b6b8
      Fabio Pitino authored
      This allows a pipeline creation to fully run while skipping
      the persistence steps. In the end it returns a non-persisted
      pipeline with all its errors and warnings.
      
      This feature is useful to allow CI Lint to use the actual
      pipeline creation and display all errors rather than using
      only YamlProcessor.
      bac1b6b8
  7. 06 Aug, 2020 1 commit
  8. 10 Jul, 2020 1 commit
    • 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
  9. 10 Jan, 2020 1 commit
  10. 12 Dec, 2019 2 commits
    • drew cimino's avatar
      Class method YamlProcessor.new_with_validation_errors · dbe5af5a
      drew cimino authored
      - Moved new structured validations messaging logic into a class method
        wrapping .new to prevent needing to process the YAML twice.
      - Should also make it easier for the application to switch over to
        using structured error messaging by directly using this class methid
        instead of a regular YamlProcessor.new
      dbe5af5a
    • drew cimino's avatar
      Ci::YamlProcessor#validation_errors method for structured output · 4eb665dd
      drew cimino authored
      - Added a new method to return a list of errors instead of a single
        error string.
      - Added simple join of structured error messages in Ci::LintsController
      - Repeats some processing, but to avoid this would require refactoring
        exception raising and rescuing out of the entire class and all of its
        invocations across the application.
      - Existing echnical debt issue addresses the overall problem:
        https://gitlab.com/gitlab-org/gitlab/issues/30066
      4eb665dd
  11. 07 Jan, 2019 1 commit
  12. 26 Sep, 2018 1 commit
    • gfyoung's avatar
      Enable even more frozen string in app/controllers · 12ee2753
      gfyoung authored
      Enables frozen string for some vestigial files as
      well as the following:
      
      * app/controllers/projects/**/*.rb
      * app/controllers/sherlock/**/*.rb
      * app/controllers/snippets/**/*.rb
      * app/controllers/users/**/*.rb
      
      Partially addresses #47424.
      12ee2753
  13. 26 Mar, 2018 4 commits