mirror of
https://github.com/bitnami/containers.git
synced 2026-03-04 06:47:25 +08:00
* [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>
70 lines
1.4 KiB
JSON
70 lines
1.4 KiB
JSON
{
|
|
"context": {
|
|
"resources": {
|
|
"url": "{SHA_ARCHIVE}",
|
|
"path": "{VIB_ENV_PATH}"
|
|
},
|
|
"runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd"
|
|
},
|
|
"phases": {
|
|
"package": {
|
|
"actions": [
|
|
{
|
|
"action_id": "container-image-package",
|
|
"params": {
|
|
"application": {
|
|
"details": {
|
|
"name": "{VIB_ENV_CONTAINER}",
|
|
"tag": "{VIB_ENV_TAG}"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"action_id": "container-image-lint",
|
|
"params": {
|
|
"threshold": "error"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"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": {
|
|
"threshold": "CRITICAL",
|
|
"vuln_type": [
|
|
"OS"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"action_id": "grype",
|
|
"params": {
|
|
"threshold": "CRITICAL",
|
|
"package_type": [
|
|
"OS"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|