You need to sign in or sign up before continuing.
Automatic pipeline cleanup setting not copied from custom project template
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
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
templates
inside the grouptest
- Create a project
project-template
inside the sub group - Inside project
project-template
go toSettings -> CI/CD -> General pipelines
and setAutomatic pipeline cleanup
to6mo
- Inside group
test
go toSettings -> General -> Custom project templates
, select the sub grouptemplates
and save changes - Create a new project
test-project
inside the grouptest
, chooseCreate from template
and chooseproject-template
from theGroup
tab - Check inside
test-project
for settingAutomatic pipeline cleanup
underSettings -> CI/CD -> General pipelines
and 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 🤖