Automatic pipeline cleanup setting not copied from custom project template
Summary
When creating a new project, using custom project templates for a group the setting for Automatic pipeline cleanup inside the template repository is not being copied to the newly created project.
Steps to reproduce
- Create a gitlab group
test - Create a sub group
templatesinside the grouptest - Create a project
project-templateinside the sub group - Inside project
project-templatego toSettings -> CI/CD -> General pipelinesand setAutomatic pipeline cleanupto6mo - Inside group
testgo toSettings -> General -> Custom project templates, select the sub grouptemplatesand save changes - Create a new project
test-projectinside the grouptest, chooseCreate from templateand chooseproject-templatefrom theGrouptab - Check inside
test-projectfor settingAutomatic pipeline cleanupunderSettings -> CI/CD -> General pipelinesand find the setting empty
What is the current bug behavior?
Inside a new project, created using a custom project template, the setting Automatic pipeline cleanup is not the same as the setting inside the project template repository.
What is the expected correct behavior?
Inside a new project, created using a custom project template, the setting Automatic pipeline cleanup is the same as the setting inside the project template repository.
Output of checks
Results of GitLab environment info
running in on-premise gitlab instance
GitLab Enterprise Edition v18.2.2-ee
Edited by 🤖 GitLab Bot 🤖