Skip to content

auto_devops_domain is not a fully qualified domain name

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

We are using custom domains in our internal network where we run GitLab Self-Managed and we cannot set our domains to the auto_devops_domain setting. Our domains looks like: .prod.company.local, .test.company.local, etc. We can not configure the auto_devops_domain setting because of the validation.

There was a similar issue before but it was focused on public domains: #208860 (closed)

Is there a way to disable the validation to enable custom domains to be useable with the auto review functionality?

$ curl --request PUT --header "PRIVATE-TOKEN: <secret>" "https://gitlab.test.company.local/api/v4/application/settings?auto_devops_domain=test.company.local"
{"message":{"auto_devops_domain":["is not a fully qualified domain name"]}}

A similar error is returned on the UI.

Edited by 🤖 GitLab Bot 🤖