Enable CI/CD with checkboxes

Description

What if enabling CI/CD were as simple as enabling the checkbox for CI/CD in your project settings (or during new project creation)? So rather than a wizard that configures your CI/CD, you just enable it. If your project has a .gitlab-ci.yml file, then these settings would be disabled as they'd be unnecessary. But if it isn't present, then just use a standard, inferred configuration (based on Herokuish if needed). Beyond tests, we could enable review apps, auto deploy to production, etc.

Bonus points: let people see the generated .gitlab-ci.yml syntax so they can commit to the repo and edit.

Proposal

image

Links / references

Documentation blurb

(Write the start of the documentation of this feature here, include:

  1. Why should someone use it; what's the underlying problem.
  2. What is the solution.
  3. How does someone use this

During implementation, this can then be copied and used as a starter for the documentation.)

Edited by Mark Pundsack