Validate `.gitlab-ci.yml` in the Web IDE
Problem to Solve
Currently validating the
.gitlab-ci.yml file requires users to visit a special
ci/lint URL within their project and manually copy the contents of their file. If the configuration is not valid, users have to edit that file and then finally copy/paste the valid one back to their editor and commit the changes.
Users who are editing the
.gitlab-ci.yml file in the Web IDE should have access to a
validate button that runs the current contents of the file through the validator and provides feedback to users.
Validate would call the Lint API and then provide feedback to users in the validation tab.