[bitnami/acmesolver] Add VIB tests (#30093)
* [bitnami/acmesolver] Add acmesolver tests Signed-off-by: Cori Avila <amisericordi@vmware.com> * [bitnami/acmesolver] Add change in docker-compose to trigger tests Signed-off-by: Cori Avila <amisericordi@vmware.com> * [bitnami/acmesolver] Delete change in docker-compose Signed-off-by: Cori Avila <amisericordi@vmware.com> * Fix blank space Signed-off-by: corico44 <42420333+corico44@users.noreply.github.com> --------- Signed-off-by: Cori Avila <amisericordi@vmware.com> Signed-off-by: corico44 <42420333+corico44@users.noreply.github.com>
This commit is contained in:
parent
f5454aecc1
commit
b03b071ac6
|
|
@ -0,0 +1,4 @@
|
|||
command:
|
||||
check-app-run:
|
||||
exec: acmesolver -h
|
||||
exit-status: 0
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
gossfile:
|
||||
# Goss tests exclusive to the current container
|
||||
../../acmesolver/goss/acmesolver.yaml: {}
|
||||
# Load scripts from .vib/common/goss/templates
|
||||
../../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: {}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
binaries:
|
||||
- acmesolver
|
||||
root_dir: /opt/bitnami
|
||||
|
|
@ -3,7 +3,8 @@
|
|||
"resources": {
|
||||
"url": "{VIB_ENV_CONTAINER_URL}",
|
||||
"path": "{VIB_ENV_PATH}"
|
||||
}
|
||||
},
|
||||
"runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd"
|
||||
},
|
||||
"phases": {
|
||||
"package": {
|
||||
|
|
@ -33,6 +34,21 @@
|
|||
},
|
||||
"verify": {
|
||||
"actions": [
|
||||
{
|
||||
"action_id": "goss",
|
||||
"params": {
|
||||
"resources": {
|
||||
"path": "/.vib"
|
||||
},
|
||||
"tests_file": "acmesolver/goss/goss.yaml",
|
||||
"vars_file": "acmesolver/goss/vars.yaml",
|
||||
"remote": {
|
||||
"pod": {
|
||||
"workload": "deploy-acmesolver"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"action_id": "trivy",
|
||||
"params": {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,8 @@
|
|||
"resources": {
|
||||
"url": "{SHA_ARCHIVE}",
|
||||
"path": "{VIB_ENV_PATH}"
|
||||
}
|
||||
},
|
||||
"runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd"
|
||||
},
|
||||
"phases": {
|
||||
"package": {
|
||||
|
|
@ -29,6 +30,21 @@
|
|||
},
|
||||
"verify": {
|
||||
"actions": [
|
||||
{
|
||||
"action_id": "goss",
|
||||
"params": {
|
||||
"resources": {
|
||||
"path": "/.vib"
|
||||
},
|
||||
"tests_file": "acmesolver/goss/goss.yaml",
|
||||
"vars_file": "acmesolver/goss/vars.yaml",
|
||||
"remote": {
|
||||
"pod": {
|
||||
"workload": "deploy-acmesolver"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"action_id": "trivy",
|
||||
"params": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue