Automatically load and validate default config within the CI Lint tool
Problem to solve
As an author of .gitlab-ci.yml
that would like to check my configuration for linting errors, I find myself constantly copying and pasting the contents of my repos .gitlab-ci.yml
file to the CI lint tool. This is to test out the config before committing it to master.
Proposal
Pre-populate the gitlab-ci.yml
contents when visiting the lint page, as long as the user has read access to that file. It should automatically validate the content that's there (if they want to change something, they can and then click on validate again). Those users who want to Simulate a pipeline created for the default branch
will have to check the box and run "Validate" again.
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.