refactor(db): extract Supabase migrations from release artifact
This commit is contained in:
parent
2ef37683cb
commit
7d9e518f86
20 changed files with 113 additions and 185 deletions
test/utils
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue