mirror of
https://github.com/bitnami/containers.git
synced 2026-03-21 15:29:05 +08:00
[bitnami/opensearch-dashboards] Release 2.8.0-debian-11-r1 (#41284)
* [bitnami/opensearch-dashboards] Release 2.8.0-debian-11-r1 Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> * Add VIB files Signed-off-by: Alberto Otero Lorenzo <lorenzoa@vmware.com> * Fix mode Signed-off-by: Alberto Otero Lorenzo <lorenzoa@vmware.com> * Fix mode Signed-off-by: Alberto Otero Lorenzo <lorenzoa@vmware.com> * Fix mode Signed-off-by: Alberto Otero Lorenzo <lorenzoa@vmware.com> * Fix goss Signed-off-by: Alberto Otero Lorenzo <lorenzoa@vmware.com> --------- Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Signed-off-by: Alberto Otero Lorenzo <lorenzoa@vmware.com> Co-authored-by: Alberto Otero Lorenzo <lorenzoa@vmware.com>
This commit is contained in:
14
.vib/opensearch-dashboards/goss/goss.yaml
Normal file
14
.vib/opensearch-dashboards/goss/goss.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
# Copyright VMware, Inc.
|
||||
# SPDX-License-Identifier: APACHE-2.0
|
||||
|
||||
gossfile:
|
||||
# Goss tests exclusive to the current container
|
||||
../../opensearch-dashboards/goss/opensearch-dashboards.yaml: {}
|
||||
# Load scripts from .vib/common/goss/templates
|
||||
../../common/goss/templates/check-broken-symlinks.yaml: {}
|
||||
../../common/goss/templates/check-ca-certs.yaml: {}
|
||||
../../common/goss/templates/check-directories.yaml: {}
|
||||
../../common/goss/templates/check-files.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,9 @@
|
||||
# Copyright VMware, Inc.
|
||||
# SPDX-License-Identifier: APACHE-2.0
|
||||
|
||||
command:
|
||||
check-app-version:
|
||||
exec: grep '"version":' /opt/bitnami/opensearch-dashboards/package.json
|
||||
exit-status: 0
|
||||
stdout:
|
||||
- '"version": "{{ .Env.APP_VERSION }}",'
|
||||
14
.vib/opensearch-dashboards/goss/vars.yaml
Normal file
14
.vib/opensearch-dashboards/goss/vars.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
binaries:
|
||||
- node
|
||||
directories:
|
||||
- mode: "0775"
|
||||
paths:
|
||||
- /bitnami/opensearch-dashboards
|
||||
- /opt/bitnami/opensearch-dashboards/logs
|
||||
- /opt/bitnami/opensearch-dashboards/plugins
|
||||
- /opt/bitnami/opensearch-dashboards/tmp
|
||||
- /opt/bitnami/opensearch-dashboards/config
|
||||
files:
|
||||
- paths:
|
||||
- /opt/bitnami/opensearch-dashboards/package.json
|
||||
root_dir: /opt/bitnami
|
||||
125
.vib/opensearch-dashboards/vib-publish.json
Normal file
125
.vib/opensearch-dashboards/vib-publish.json
Normal file
@@ -0,0 +1,125 @@
|
||||
{
|
||||
"context": {
|
||||
"resources": {
|
||||
"url": "{VIB_ENV_CONTAINER_URL}",
|
||||
"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}"
|
||||
}
|
||||
},
|
||||
"architectures": [
|
||||
"linux/amd64",
|
||||
"linux/arm64"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"action_id": "container-image-lint",
|
||||
"params": {
|
||||
"threshold": "error"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"verify": {
|
||||
"actions": [
|
||||
{
|
||||
"action_id": "goss",
|
||||
"params": {
|
||||
"resources": {
|
||||
"path": "/.vib"
|
||||
},
|
||||
"tests_file": "opensearch-dashboards/goss/goss.yaml",
|
||||
"vars_file": "opensearch-dashboards/goss/vars.yaml",
|
||||
"remote": {
|
||||
"pod": {
|
||||
"workload": "deploy-opensearch-dashboards"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"action_id": "trivy",
|
||||
"params": {
|
||||
"threshold": "CRITICAL",
|
||||
"vuln_type": [
|
||||
"OS"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"action_id": "grype",
|
||||
"params": {
|
||||
"threshold": "CRITICAL",
|
||||
"package_type": [
|
||||
"OS"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"action_id": "osspi-application",
|
||||
"params": {
|
||||
"additional_packages_file": "osspi-packages-amd64.json",
|
||||
"scan_type": "BASE_OS",
|
||||
"osm": {
|
||||
"associated_bossd_release": "{VIB_ENV_BOSSD_RELEASE_ID}",
|
||||
"product_name": "main-catalog-{VIB_ENV_CONTAINER}",
|
||||
"product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container",
|
||||
"architecture_overrides": [
|
||||
{
|
||||
"architecture": "linux/amd64",
|
||||
"product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container",
|
||||
"additional_packages_file": "osspi-packages-amd64.json"
|
||||
},
|
||||
{
|
||||
"architecture": "linux/arm64",
|
||||
"product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64",
|
||||
"additional_packages_file": "osspi-packages-arm64.json"
|
||||
}
|
||||
]
|
||||
},
|
||||
"resources": {
|
||||
"url": "{VIB_ENV_PACKAGES_JSON_URL}",
|
||||
"path": "/{VIB_ENV_PATH}",
|
||||
"authn": {
|
||||
"header": "Authorization",
|
||||
"token": "Bearer {VIB_ENV_GITHUB_TOKEN}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"publish": {
|
||||
"actions": [
|
||||
{
|
||||
"action_id": "container-image-publish",
|
||||
"params": {
|
||||
"metadata": {
|
||||
"tags": {VIB_ENV_ROLLING_TAGS}
|
||||
},
|
||||
"repository": {
|
||||
"kind": "OCI",
|
||||
"url": "{VIB_ENV_REGISTRY_URL}",
|
||||
"authn": {
|
||||
"username": "{VIB_ENV_REGISTRY_USERNAME}",
|
||||
"password": "{VIB_ENV_REGISTRY_PASSWORD}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
69
.vib/opensearch-dashboards/vib-verify.json
Normal file
69
.vib/opensearch-dashboards/vib-verify.json
Normal file
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"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": "opensearch-dashboards/goss/goss.yaml",
|
||||
"vars_file": "opensearch-dashboards/goss/vars.yaml",
|
||||
"remote": {
|
||||
"pod": {
|
||||
"workload": "deploy-opensearch-dashboards"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"action_id": "trivy",
|
||||
"params": {
|
||||
"threshold": "CRITICAL",
|
||||
"vuln_type": [
|
||||
"OS"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"action_id": "grype",
|
||||
"params": {
|
||||
"threshold": "CRITICAL",
|
||||
"package_type": [
|
||||
"OS"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user