74 lines
1.6 KiB
JSON
74 lines
1.6 KiB
JSON
{
|
|
"context": {
|
|
"resources": {
|
|
"url": "{SHA_ARCHIVE}",
|
|
"path": "{VIB_ENV_PATH}"
|
|
},
|
|
"runtime_parameters": "Y29tbWFuZDogWyIvc2hhcmVkL2J1c3lib3giLCAic2xlZXAiLCAiMzYwMCJdCg=="
|
|
},
|
|
"phases": {
|
|
"package": {
|
|
"actions": [
|
|
{
|
|
"action_id": "container-image-package",
|
|
"params": {
|
|
"application": {
|
|
"details": {
|
|
"name": "{VIB_ENV_CONTAINER}",
|
|
"tag": "{VIB_ENV_TAG}"
|
|
}
|
|
},
|
|
"architectures": [
|
|
"linux/amd64",
|
|
"linux/arm64"
|
|
]
|
|
},
|
|
"size_thresholds": [
|
|
{
|
|
"size": "25MB",
|
|
"kind": "COMPRESSED"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"verify": {
|
|
"actions": [
|
|
{
|
|
"action_id": "goss",
|
|
"params": {
|
|
"resources": {
|
|
"path": "/.vib"
|
|
},
|
|
"tests_file": "clickhouse-operator/goss/goss.yaml",
|
|
"vars_file": "clickhouse-operator/goss/vars.yaml",
|
|
"remote": {
|
|
"pod": {
|
|
"workload": "deploy-clickhouse-operator"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"action_id": "trivy",
|
|
"params": {
|
|
"threshold": "LOW",
|
|
"vuln_type": [
|
|
"OS"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"action_id": "grype",
|
|
"params": {
|
|
"threshold": "CRITICAL",
|
|
"package_type": [
|
|
"OS"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|