Skip to content

Migrate errors form for autodeops settings

Diana Zubova requested to merge dz/364879-migrate-form-errors-cicd into master

What does this MR do and why?

Migrate errors form for general CI/CD settings for a project

Closes #364879 (closed)

Screenshots or screen recordings

Before After
Screenshot_2022-07-14_at_14.16.34 Screenshot_2022-07-14_at_14.17.15

How to set up and validate locally

  1. Open a project where you have admin rights
  2. Navigate to Settings -> CI/CD http://localhost:3000/flightjs/Flight/-/settings/ci_cd
  3. Expand General pipelines section
  4. Trigger an error, for example by adding this line to the haml - @project.errors.add(:base, "Something went wrong")
  5. Observe change form error

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

Loading