Allow pipelines to be scheduled for an entire group
Problem
Organizations often have dozens to thousands of projects they are building and as those organizations focus on security they want to ensure scans are being completed against all projects regularly. Today that would require setting a scheduled pipeline for all projects individually to run. This is time consuming, prone to error and does not account for new projects being created.
Description/user use case
Our team has a lot of different projects and for most of them we would like to be able to run their pipelines(or parts of their pipelines) on a nightly basis. It would be nice to be able to create a schedule for an entire group and select which projects/branches we want to be a part of that schedule. My team prefers to do most of our configuration at the group level and/or in our shared .gitlab-ci.yml file. We were initially looking for a way to do this in .gitlab-ci.yml but it doesn't appear that schedules can be created from there currently.
Proposal
In the view for a group add a pipeline/schedules menu in the CI/CD section and allow me to create a schedule for the whole group/subgroup. The following options would probably be necessary:
- Which projects we want to trigger the pipelines of
- Which refs we want to build
- Maybe a checkbox to "Add new projects to schedule" so that new projects are picked up by default?
Links / references
https://gitlab.com/gitlab-org/gitlab-ce/issues/30804: This would need to be implemented first since there currently isn't any pipeline view for the group level.
https://gitlab.com/gitlab-org/gitlab-ce/issues/2989: Based off of what I read in this it seems like the community is split on being able to define schedules in .gitlab-ci.yml so I thought creating a schedule at the group level might be a happy medium between putting this in our .gitlab-ci.yml and having to define a schedule in each of our projects individually.
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.