Skip to content
Commit 4ebb2d37 authored by Tiago Giertyas Matana's avatar Tiago Giertyas Matana
Browse files

feat: resolve DATABASE_URL dynamically if not set as CI variable



If DATABASE_URL is defined in GitLab CI variables, use it directly.
Otherwise fetch the Cloud SQL private IP via gcloud and build the URL
from DB_PASSWORD variable, removing the need to hardcode the IP.

Co-Authored-By: default avatarClaude Sonnet 4.6 <noreply@anthropic.com>
parent 11f23b4a
Pipeline #226717 failed with stages
in 2 minutes and 39 seconds