Remove minimal containers VIB files

Signed-off-by: Carlos Rodríguez Hernández <carlos.rodriguez-hernandez@broadcom.com>
This commit is contained in:
Carlos Rodríguez Hernández
2025-06-20 01:10:22 +02:00
parent aeab53ddbb
commit 2eefc15774
34 changed files with 0 additions and 1411 deletions

View File

@@ -1,8 +0,0 @@
command:
check-dotnet-help:
exec:
- dotnet
- --help
exit-status: 129
stdout:
- "Usage: dotnet [host-options] [path-to-application]"

View File

@@ -1,13 +0,0 @@
# Copyright Broadcom, Inc. All Rights Reserved.
# SPDX-License-Identifier: APACHE-2.0
gossfile:
# Goss tests exclusive to the current container
../../aspnet-min/goss/aspnet-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: {}

View File

@@ -1,11 +0,0 @@
files:
- mode: "0644"
paths:
- /opt/bitnami/os/.spdx-os-aspnet-min.spdx
- /opt/bitnami/aspnet/.spdx-aspnet-min.spdx
- mode: "0755"
paths:
- /opt/bitnami/aspnet/bin/dotnet
version:
bin_name: dotnet
flag: --info

View File

@@ -1,79 +0,0 @@
{
"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": "70MB",
"kind": "COMPRESSED"
}
]
}
},
{
"action_id": "container-image-lint",
"params": {
"threshold": "error"
}
}
]
},
"verify": {
"actions": [
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib"
},
"tests_file": "aspnet-min/goss/goss.yaml",
"vars_file": "aspnet-min/goss/vars.yaml",
"remote": {
"pod": {
"workload": "deploy-aspnet-min"
}
}
}
},
{
"action_id": "trivy",
"params": {
"threshold": "LOW",
"vuln_type": [
"OS"
]
}
},
{
"action_id": "grype",
"params": {
"threshold": "CRITICAL",
"package_type": [
"OS"
]
}
}
]
}
}
}

View File

@@ -1,79 +0,0 @@
{
"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": "128MB",
"kind": "COMPRESSED"
}
]
}
},
{
"action_id": "container-image-lint",
"params": {
"threshold": "error"
}
}
]
},
"verify": {
"actions": [
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib"
},
"tests_file": "java-min/goss/goss.yaml",
"vars_file": "java-min/goss/vars.yaml",
"remote": {
"pod": {
"workload": "deploy-java-min"
}
}
}
},
{
"action_id": "trivy",
"params": {
"threshold": "LOW",
"vuln_type": [
"OS"
]
}
},
{
"action_id": "grype",
"params": {
"threshold": "CRITICAL",
"package_type": [
"OS"
]
}
}
]
}
}
}

View File

@@ -1,79 +0,0 @@
{
"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": "77MB",
"kind": "COMPRESSED"
}
]
}
},
{
"action_id": "container-image-lint",
"params": {
"threshold": "error"
}
}
]
},
"verify": {
"actions": [
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib"
},
"tests_file": "java-min/goss/goss.yaml",
"vars_file": "java-min/goss/vars.yaml",
"remote": {
"pod": {
"workload": "deploy-java-min"
}
}
}
},
{
"action_id": "trivy",
"params": {
"threshold": "LOW",
"vuln_type": [
"OS"
]
}
},
{
"action_id": "grype",
"params": {
"threshold": "CRITICAL",
"package_type": [
"OS"
]
}
}
]
}
}
}

View File

@@ -1,79 +0,0 @@
{
"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": "80MB",
"kind": "COMPRESSED"
}
]
}
},
{
"action_id": "container-image-lint",
"params": {
"threshold": "error"
}
}
]
},
"verify": {
"actions": [
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib"
},
"tests_file": "java-min/goss/goss.yaml",
"vars_file": "java-min/goss/vars.yaml",
"remote": {
"pod": {
"workload": "deploy-java-min"
}
}
}
},
{
"action_id": "trivy",
"params": {
"threshold": "LOW",
"vuln_type": [
"OS"
]
}
},
{
"action_id": "grype",
"params": {
"threshold": "CRITICAL",
"package_type": [
"OS"
]
}
}
]
}
}
}

View File

@@ -1,79 +0,0 @@
{
"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": "87MB",
"kind": "COMPRESSED"
}
]
}
},
{
"action_id": "container-image-lint",
"params": {
"threshold": "error"
}
}
]
},
"verify": {
"actions": [
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib"
},
"tests_file": "java-min/goss/goss.yaml",
"vars_file": "java-min/goss/vars.yaml",
"remote": {
"pod": {
"workload": "deploy-java-min"
}
}
}
},
{
"action_id": "trivy",
"params": {
"threshold": "LOW",
"vuln_type": [
"OS"
]
}
},
{
"action_id": "grype",
"params": {
"threshold": "CRITICAL",
"package_type": [
"OS"
]
}
}
]
}
}
}

Binary file not shown.

View File

@@ -1,12 +0,0 @@
# Copyright Broadcom, Inc. All Rights Reserved.
# SPDX-License-Identifier: APACHE-2.0
gossfile:
# Goss tests exclusive to the current container
../../java-min/goss/java-min.yaml: {}
# Load scripts from .vib/common/goss/templates
../../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: {}

View File

@@ -1,36 +0,0 @@
command:
check-java-version:
exec:
- java
{{- if regexMatch "^1.8.+" .Env.APP_VERSION }}
- -version
exit-status: 0
# APP_VERSION follows format 1.8.XXX-Y
# while stdout shows 1.8.0_XXX
stderr:
- /openjdk version "{{ (semver .Env.APP_VERSION).Major }}.{{ (semver .Env.APP_VERSION).Minor }}.*_{{ (semver .Env.APP_VERSION).Patch }}"/
{{- else }}
- --version
exit-status: 0
# Replace "-" with "+" in the version string
stdout:
- {{ .Env.APP_VERSION | replace "-" "+" | replace ".0.0+" "+" }}
{{- end }}
check-hello-world:
exec:
- java
- -jar
- /shared/java-min/goss/HelloWorld.jar
exit-status: 0
stdout:
- "Hello World"
{{- $releaseFile := readFile "/etc/os-release" }}
{{- if contains "photon" $releaseFile }}
file:
/opt/bitnami/bc-fips/bc-fips.jar:
exists: true
mode: "0644"
owner: root
group: root
filetype: file
{{- end }}

View File

@@ -1,12 +0,0 @@
files:
- mode: "0644"
paths:
- /opt/bitnami/os/.spdx-os-java-min.spdx
- /opt/bitnami/java/.spdx-jre.spdx
- mode: "0755"
paths:
- /opt/bitnami/java/bin/java
- /opt/bitnami/java/bin/jfr
- /opt/bitnami/java/bin/jrunscript
- /opt/bitnami/java/bin/keytool
- /opt/bitnami/java/bin/rmiregistry

View File

@@ -1,79 +0,0 @@
{
"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": "102MB",
"kind": "COMPRESSED"
}
]
}
},
{
"action_id": "container-image-lint",
"params": {
"threshold": "error"
}
}
]
},
"verify": {
"actions": [
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib"
},
"tests_file": "java-min/goss/goss.yaml",
"vars_file": "java-min/goss/vars.yaml",
"remote": {
"pod": {
"workload": "deploy-java-min"
}
}
}
},
{
"action_id": "trivy",
"params": {
"threshold": "LOW",
"vuln_type": [
"OS"
]
}
},
{
"action_id": "grype",
"params": {
"threshold": "CRITICAL",
"package_type": [
"OS"
]
}
}
]
}
}
}

View File

@@ -1,79 +0,0 @@
{
"context": {
"resources": {
"url": "{SHA_ARCHIVE}",
"path": "{VIB_ENV_PATH}"
},
"runtime_parameters": "Y29tbWFuZDogWyJub2RlIiwgIi0tZXZhbCIsICJzZXRUaW1lb3V0KCgpID0+IHt9LCAzNjAwICogMTAwMCk7Il0K"
},
"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": "41MB",
"kind": "COMPRESSED"
}
]
}
},
{
"action_id": "container-image-lint",
"params": {
"threshold": "error"
}
}
]
},
"verify": {
"actions": [
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib"
},
"tests_file": "node-min/goss/goss.yaml",
"vars_file": "node-min/goss/vars.yaml",
"remote": {
"pod": {
"workload": "deploy-node-min"
}
}
}
},
{
"action_id": "trivy",
"params": {
"threshold": "LOW",
"vuln_type": [
"OS"
]
}
},
{
"action_id": "grype",
"params": {
"threshold": "CRITICAL",
"package_type": [
"OS"
]
}
}
]
}
}
}

View File

@@ -1,79 +0,0 @@
{
"context": {
"resources": {
"url": "{SHA_ARCHIVE}",
"path": "{VIB_ENV_PATH}"
},
"runtime_parameters": "Y29tbWFuZDogWyJub2RlIiwgIi0tZXZhbCIsICJzZXRUaW1lb3V0KCgpID0+IHt9LCAzNjAwICogMTAwMCk7Il0K"
},
"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": "48MB",
"kind": "COMPRESSED"
}
]
}
},
{
"action_id": "container-image-lint",
"params": {
"threshold": "error"
}
}
]
},
"verify": {
"actions": [
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib"
},
"tests_file": "node-min/goss/goss.yaml",
"vars_file": "node-min/goss/vars.yaml",
"remote": {
"pod": {
"workload": "deploy-node-min"
}
}
}
},
{
"action_id": "trivy",
"params": {
"threshold": "LOW",
"vuln_type": [
"OS"
]
}
},
{
"action_id": "grype",
"params": {
"threshold": "CRITICAL",
"package_type": [
"OS"
]
}
}
]
}
}
}

View File

@@ -1,13 +0,0 @@
# Copyright Broadcom, Inc. All Rights Reserved.
# SPDX-License-Identifier: APACHE-2.0
gossfile:
# Goss tests exclusive to the current container
../../node-min/goss/node-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: {}

View File

@@ -1,9 +0,0 @@
command:
check-hello-world:
exec:
- node
- --eval
- console.log('Hello World');
exit-status: 0
stdout:
- "Hello World"

View File

@@ -1,10 +0,0 @@
files:
- mode: "0644"
paths:
- /opt/bitnami/node/.spdx-node-min.spdx
- mode: "0755"
paths:
- /opt/bitnami/node/bin/node
version:
bin_name: node
flag: --version

View File

@@ -1,79 +0,0 @@
{
"context": {
"resources": {
"url": "{SHA_ARCHIVE}",
"path": "{VIB_ENV_PATH}"
},
"runtime_parameters": "Y29tbWFuZDogWyJub2RlIiwgIi0tZXZhbCIsICJzZXRUaW1lb3V0KCgpID0+IHt9LCAzNjAwICogMTAwMCk7Il0K"
},
"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": "50MB",
"kind": "COMPRESSED"
}
]
}
},
{
"action_id": "container-image-lint",
"params": {
"threshold": "error"
}
}
]
},
"verify": {
"actions": [
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib"
},
"tests_file": "node-min/goss/goss.yaml",
"vars_file": "node-min/goss/vars.yaml",
"remote": {
"pod": {
"workload": "deploy-node-min"
}
}
}
},
{
"action_id": "trivy",
"params": {
"threshold": "LOW",
"vuln_type": [
"OS"
]
}
},
{
"action_id": "grype",
"params": {
"threshold": "CRITICAL",
"package_type": [
"OS"
]
}
}
]
}
}
}

View File

@@ -1,78 +0,0 @@
{
"context": {
"resources": {
"url": "{SHA_ARCHIVE}",
"path": "{VIB_ENV_PATH}"
}
},
"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": "40MB",
"kind": "COMPRESSED"
}
]
}
},
{
"action_id": "container-image-lint",
"params": {
"threshold": "error"
}
}
]
},
"verify": {
"actions": [
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib"
},
"tests_file": "php-fpm-min/goss/goss.yaml",
"vars_file": "php-fpm-min/goss/vars.yaml",
"remote": {
"pod": {
"workload": "deploy-php-fpm-min"
}
}
}
},
{
"action_id": "trivy",
"params": {
"threshold": "LOW",
"vuln_type": [
"OS"
]
}
},
{
"action_id": "grype",
"params": {
"threshold": "CRITICAL",
"package_type": [
"OS"
]
}
}
]
}
}
}

View File

@@ -1,78 +0,0 @@
{
"context": {
"resources": {
"url": "{SHA_ARCHIVE}",
"path": "{VIB_ENV_PATH}"
}
},
"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": "40MB",
"kind": "COMPRESSED"
}
]
}
},
{
"action_id": "container-image-lint",
"params": {
"threshold": "error"
}
}
]
},
"verify": {
"actions": [
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib"
},
"tests_file": "php-fpm-min/goss/goss.yaml",
"vars_file": "php-fpm-min/goss/vars.yaml",
"remote": {
"pod": {
"workload": "deploy-php-fpm-min"
}
}
}
},
{
"action_id": "trivy",
"params": {
"threshold": "LOW",
"vuln_type": [
"OS"
]
}
},
{
"action_id": "grype",
"params": {
"threshold": "CRITICAL",
"package_type": [
"OS"
]
}
}
]
}
}
}

View File

@@ -1,78 +0,0 @@
{
"context": {
"resources": {
"url": "{SHA_ARCHIVE}",
"path": "{VIB_ENV_PATH}"
}
},
"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": "40MB",
"kind": "COMPRESSED"
}
]
}
},
{
"action_id": "container-image-lint",
"params": {
"threshold": "error"
}
}
]
},
"verify": {
"actions": [
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib"
},
"tests_file": "php-fpm-min/goss/goss.yaml",
"vars_file": "php-fpm-min/goss/vars.yaml",
"remote": {
"pod": {
"workload": "deploy-php-fpm-min"
}
}
}
},
{
"action_id": "trivy",
"params": {
"threshold": "LOW",
"vuln_type": [
"OS"
]
}
},
{
"action_id": "grype",
"params": {
"threshold": "CRITICAL",
"package_type": [
"OS"
]
}
}
]
}
}
}

View File

@@ -1,13 +0,0 @@
# Copyright Broadcom, Inc. All Rights Reserved.
# SPDX-License-Identifier: APACHE-2.0
gossfile:
# Goss tests exclusive to the current container
../../php-fpm-min/goss/php-fpm-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: {}

View File

@@ -1,6 +0,0 @@
process:
php-fpm:
running: true
port:
tcp6:9000:
listening: true

View File

@@ -1,14 +0,0 @@
files:
- mode: "0644"
paths:
- /opt/bitnami/os/.spdx-os-php-min.spdx
- /opt/bitnami/php/.spdx-php-min.spdx
- /opt/bitnami/php/etc/php-fpm.conf
- /opt/bitnami/php/etc/php.ini
- /opt/bitnami/php/tmp/php-fpm.pid
- mode: "0755"
paths:
- /opt/bitnami/php/sbin/php-fpm
version:
bin_name: php-fpm
flag: --version

View File

@@ -1,78 +0,0 @@
{
"context": {
"resources": {
"url": "{SHA_ARCHIVE}",
"path": "{VIB_ENV_PATH}"
}
},
"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": "45MB",
"kind": "COMPRESSED"
}
]
}
},
{
"action_id": "container-image-lint",
"params": {
"threshold": "error"
}
}
]
},
"verify": {
"actions": [
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib"
},
"tests_file": "php-fpm-min/goss/goss.yaml",
"vars_file": "php-fpm-min/goss/vars.yaml",
"remote": {
"pod": {
"workload": "deploy-php-fpm-min"
}
}
}
},
{
"action_id": "trivy",
"params": {
"threshold": "LOW",
"vuln_type": [
"OS"
]
}
},
{
"action_id": "grype",
"params": {
"threshold": "CRITICAL",
"package_type": [
"OS"
]
}
}
]
}
}
}

View File

@@ -1,13 +0,0 @@
# Copyright Broadcom, Inc. All Rights Reserved.
# SPDX-License-Identifier: APACHE-2.0
gossfile:
# Goss tests exclusive to the current container
../../python-min/goss/python-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: {}

View File

@@ -1,9 +0,0 @@
command:
check-hello-world:
exec:
- python3
- -c
- print('Hello World')
exit-status: 0
stdout:
- "Hello World"

View File

@@ -1,12 +0,0 @@
files:
- mode: "0644"
paths:
- /opt/bitnami/os/.spdx-os-python-min.spdx
- /opt/bitnami/python/.spdx-python-min.spdx
- mode: "0755"
paths:
- /opt/bitnami/python/bin/python3
- /opt/bitnami/python/bin/python3-config
version:
bin_name: python3
flag: --version

View File

@@ -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": "22MB",
"kind": "COMPRESSED"
}
]
}
},
{
"action_id": "container-image-lint",
"params": {
"threshold": "error"
}
}
]
},
"verify": {
"actions": [
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib"
},
"tests_file": "python-min/goss/goss.yaml",
"vars_file": "python-min/goss/vars.yaml",
"remote": {
"pod": {
"workload": "deploy-python-min"
}
}
}
},
{
"action_id": "trivy",
"params": {
"threshold": "LOW",
"vuln_type": [
"OS"
]
}
},
{
"action_id": "grype",
"params": {
"threshold": "CRITICAL",
"package_type": [
"OS"
]
}
}
]
}
}
}

View File

@@ -1,13 +0,0 @@
# Copyright Broadcom, Inc. All Rights Reserved.
# SPDX-License-Identifier: APACHE-2.0
gossfile:
# Goss tests exclusive to the current container
../../ruby-min/goss/ruby-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: {}

View File

@@ -1,9 +0,0 @@
command:
check-hello-world:
exec:
- ruby
- -e
- puts 'Hello World'
exit-status: 0
stdout:
- "Hello World"

View File

@@ -1,17 +0,0 @@
files:
- mode: "0644"
paths:
- /opt/bitnami/os/.spdx-os-ruby-min.spdx
- /opt/bitnami/ruby/.spdx-ruby-min.spdx
- mode: "0755"
paths:
- /opt/bitnami/ruby/bin/bundle
- /opt/bitnami/ruby/bin/bundler
- /opt/bitnami/ruby/bin/erb
- /opt/bitnami/ruby/bin/gem
- /opt/bitnami/ruby/bin/irb
- /opt/bitnami/ruby/bin/rake
- /opt/bitnami/ruby/bin/ruby
version:
bin_name: ruby
flag: --version

View File

@@ -1,79 +0,0 @@
{
"context": {
"resources": {
"url": "{SHA_ARCHIVE}",
"path": "{VIB_ENV_PATH}"
},
"runtime_parameters": "Y29tbWFuZDogWyJydWJ5IiwgIi1lIiwgInNsZWVwIDM2MDAiXQo="
},
"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": "31MB",
"kind": "COMPRESSED"
}
]
}
},
{
"action_id": "container-image-lint",
"params": {
"threshold": "error"
}
}
]
},
"verify": {
"actions": [
{
"action_id": "goss",
"params": {
"resources": {
"path": "/.vib"
},
"tests_file": "ruby-min/goss/goss.yaml",
"vars_file": "ruby-min/goss/vars.yaml",
"remote": {
"pod": {
"workload": "deploy-ruby-min"
}
}
}
},
{
"action_id": "trivy",
"params": {
"threshold": "LOW",
"vuln_type": [
"OS"
]
}
},
{
"action_id": "grype",
"params": {
"threshold": "CRITICAL",
"package_type": [
"OS"
]
}
}
]
}
}
}