Automate the creation of the .gitlab-ci.yml or equivalent via API
Description
Customer may have a big number of projects with complicated processes for CI. They'd like to see the building of CI process definition could be automated by API for faster migration and flexibility.
Proposal
- API to setup default image globally
- API to create order of stages
- API to add jobs to stage
- API to create/modify job
- Add/modify script
- Define/change cache settings
- Define/change artifact definition
- Define/change the condition of job
Use cases
- Faster on-boarding new customer.
- Programmatically set CI up
Feature checklist
Make sure these are completed before closing the issue, with a link to the relevant commit.
-
Feature assurance -
Documentation -
Added to features.yml