Skip to content
Snippets Groups Projects
Commit 4dfb7853 authored by Daniel Davison's avatar Daniel Davison Committed by GitLab Release Tools Bot
Browse files

Merge branch '57798-fix-auto-devops-empty-str-check' into 'master'

Fix Auto DevOps check domain is blank

Closes #57798

See merge request gitlab-org/gitlab-ce!25308

(cherry picked from commit 8a16c07d)

2d300104 Fix Auto DevOps check domain is blank
parent 902e4f63
No related branches found
No related tags found
No related merge requests found
---
title: Prevent Auto DevOps from trying to deploy without a domain name
merge_request: 25308
author:
type: fixed
Loading
Loading
@@ -826,7 +826,7 @@ rollout 100%:
 
# Function to ensure backwards compatibility with AUTO_DEVOPS_DOMAIN
function ensure_kube_ingress_base_domain() {
if [ -z ${KUBE_INGRESS_BASE_DOMAIN+x} ]; then
if [ -z ${KUBE_INGRESS_BASE_DOMAIN+x} ] && [ -n "$AUTO_DEVOPS_DOMAIN" ] ; then
export KUBE_INGRESS_BASE_DOMAIN=$AUTO_DEVOPS_DOMAIN
fi
}
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment