[bitnami/supabase-realtime] Add VIB tests (#34149)

Signed-off-by: Andrés Bono <andresbono@vmware.com>
This commit is contained in:
Andrés Bono
2023-05-18 17:01:55 +02:00
committed by GitHub
parent 224a8f6266
commit eac3a887bb
4 changed files with 50 additions and 2 deletions
+9
View File
@@ -0,0 +1,9 @@
gossfile:
# Load scripts from .vib/common/goss/templates
../../common/goss/templates/check-app-version.yaml: {}
../../common/goss/templates/check-binaries.yaml: {}
../../common/goss/templates/check-broken-symlinks.yaml: {}
../../common/goss/templates/check-ca-certs.yaml: {}
../../common/goss/templates/check-linked-libraries.yaml: {}
../../common/goss/templates/check-sed-in-place.yaml: {}
../../common/goss/templates/check-spdx.yaml: {}
+7
View File
@@ -0,0 +1,7 @@
binaries:
- server
- realtime
root_dir: /opt/bitnami
version:
bin_name: realtime
flag: version
+17 -1
View File
@@ -3,7 +3,8 @@
"resources": {
"url": "{VIB_ENV_CONTAINER_URL}",
"path": "{VIB_ENV_PATH}"
}
},
"runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd"
},
"phases": {
"package": {
@@ -69,6 +70,21 @@
}
}
}
},
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib"
},
"tests_file": "supabase-realtime/goss/goss.yaml",
"vars_file": "supabase-realtime/goss/vars.yaml",
"remote": {
"pod": {
"workload": "deploy-supabase-realtime"
}
}
}
}
]
},
+17 -1
View File
@@ -3,7 +3,8 @@
"resources": {
"url": "{SHA_ARCHIVE}",
"path": "{VIB_ENV_PATH}"
}
},
"runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd"
},
"phases": {
"package": {
@@ -46,6 +47,21 @@
"OS"
]
}
},
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib"
},
"tests_file": "supabase-realtime/goss/goss.yaml",
"vars_file": "supabase-realtime/goss/vars.yaml",
"remote": {
"pod": {
"workload": "deploy-supabase-realtime"
}
}
}
}
]
}