Resource Groups¶
Prerequisite¶
A resource group must exist before the process mode can be updated.
Add a resource group to a project by configuring it in your project's gitlab-ci.yml
file. For more information, visit the appropriate GitLab's docs.
Update Process Mode¶
This section's purpose is to manage the resource group process modes.
The key names are the resource group names associated with the project.
The value for each key name is a key-value pair, with process_mode
as the key and the value is one of the process
modes defined here.
Example:
projects_and_groups:
group_1/project_1:
resource_groups:
staging:
process_mode: oldest_first
production:
process_mode: newest_first