GitLab

CI/CD automation: Maximize 'deploy freeze' impact across GitLab groups

Feb 8, 2024Christian Nnachi
CI/CD automation: Maximize 'deploy freeze' impact across GitLab groups
SummaryAI, from the source post

This post introduces a new capability for managing deploy freezes at the group level, extending the existing project-level deploy freeze feature. It details a solution involving a Python script and a `.gitlab-ci.yml` file that automates the application of deploy freezes across multiple projects within a GitLab group. The solution leverages the GitLab API, requires a Personal Access Token, and allows for configuration of freeze start/end times and time zones. The post also provides instructions on setting up prerequisites, forking the project, committing changes, and monitoring the pipeline execution.

More from the GitLab CI and Distributed Builds trail