refactor(db): extract Supabase migrations from release artifact

This commit is contained in:
Peter 2025-01-05 11:42:15 +01:00
parent 2ef37683cb
commit 7d9e518f86
Signed by: prskr
GPG key ID: F56BED6903BC5E37
20 changed files with 113 additions and 185 deletions
test/utils

View file

@ -92,7 +92,7 @@ func IsPrometheusCRDsInstalled() bool {
if err != nil {
return false
}
crdList := GetNonEmptyLines(string(output))
crdList := GetNonEmptyLines(output)
for _, crd := range prometheusCRDs {
for _, line := range crdList {
if strings.Contains(line, crd) {
@ -153,7 +153,7 @@ func IsCertManagerCRDsInstalled() bool {
}
// Check if any of the Cert Manager CRDs are present
crdList := GetNonEmptyLines(string(output))
crdList := GetNonEmptyLines(output)
for _, crd := range certManagerCRDs {
for _, line := range crdList {
if strings.Contains(line, crd) {