parent
c9d3faee7f
commit
e28559b8ec
|
|
@ -1,13 +0,0 @@
|
|||
# Copyright Broadcom, Inc. All Rights Reserved.
|
||||
# SPDX-License-Identifier: APACHE-2.0
|
||||
|
||||
gossfile:
|
||||
# Goss tests exclusive to the current container
|
||||
../../mariadb-min/goss/mariadb-min.yaml: {}
|
||||
# Load scripts from .vib/common/goss/templates
|
||||
../../common/goss/templates/check-app-version-no-shell-stdout.yaml: {}
|
||||
../../common/goss/templates/check-ca-certs.yaml: {}
|
||||
../../common/goss/templates/check-files.yaml: {}
|
||||
../../common/goss/templates/check-static.yaml: {}
|
||||
../../common/goss/templates/check-libgcc.yaml: {}
|
||||
../../common/goss/templates/check-openssl-fips.yaml: {}
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
command:
|
||||
check-mariadbd:
|
||||
exec:
|
||||
- mariadbd
|
||||
- --help
|
||||
exit-status: 0
|
||||
stdout:
|
||||
- "Usage: mariadbd [OPTIONS]"
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
files:
|
||||
- mode: "0644"
|
||||
paths:
|
||||
- /opt/bitnami/os/.spdx-os-mariadb-min.spdx
|
||||
- /opt/bitnami/mariadb/.spdx-mariadb-min.spdx
|
||||
- mode: "0755"
|
||||
paths:
|
||||
- /opt/bitnami/mariadb/bin/mariadb-admin
|
||||
- /opt/bitnami/mariadb/sbin/mariadbd
|
||||
version:
|
||||
bin_name: mariadbd
|
||||
flag: --version
|
||||
|
|
@ -1,79 +0,0 @@
|
|||
{
|
||||
"context": {
|
||||
"resources": {
|
||||
"url": "{SHA_ARCHIVE}",
|
||||
"path": "{VIB_ENV_PATH}"
|
||||
},
|
||||
"runtime_parameters": "Y29tbWFuZDogWyJweXRob24zIiwgIi1jIiwgImltcG9ydCB0aW1lOyB0aW1lLnNsZWVwKDM2MDApIl0K"
|
||||
},
|
||||
"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": "20MB",
|
||||
"kind": "COMPRESSED"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"action_id": "container-image-lint",
|
||||
"params": {
|
||||
"threshold": "error"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"verify": {
|
||||
"actions": [
|
||||
{
|
||||
"action_id": "goss",
|
||||
"params": {
|
||||
"resources": {
|
||||
"path": "/.vib"
|
||||
},
|
||||
"tests_file": "mariadb-min/goss/goss.yaml",
|
||||
"vars_file": "mariadb-min/goss/vars.yaml",
|
||||
"remote": {
|
||||
"pod": {
|
||||
"workload": "deploy-mariadb-min"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"action_id": "trivy",
|
||||
"params": {
|
||||
"threshold": "LOW",
|
||||
"vuln_type": [
|
||||
"OS"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"action_id": "grype",
|
||||
"params": {
|
||||
"threshold": "CRITICAL",
|
||||
"package_type": [
|
||||
"OS"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue