mirror of
https://github.com/bitnami/containers.git
synced 2026-03-21 15:29:05 +08:00
[bitnami/*] feat: Enable Goss tests for several scratch images - ii (#77138)
This commit is contained in:
committed by
GitHub
parent
6bc6671755
commit
b30856c9e6
10
.vib/rabbitmq-cluster-operator/goss/goss.yaml
Normal file
10
.vib/rabbitmq-cluster-operator/goss/goss.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
# Copyright Broadcom, Inc. All Rights Reserved.
|
||||
# SPDX-License-Identifier: APACHE-2.0
|
||||
|
||||
gossfile:
|
||||
# Goss tests exclusive to the current container
|
||||
../../rabbitmq-cluster-operator/goss/rabbitmq-cluster-operator.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: {}
|
||||
@@ -0,0 +1,9 @@
|
||||
command:
|
||||
check-manager-help:
|
||||
exec:
|
||||
- /manager
|
||||
- --help
|
||||
exit-status: 0
|
||||
stdout:
|
||||
- "Usage:"
|
||||
- "manager [flags]"
|
||||
10
.vib/rabbitmq-cluster-operator/goss/vars.yaml
Normal file
10
.vib/rabbitmq-cluster-operator/goss/vars.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
files:
|
||||
- mode: "0644"
|
||||
paths:
|
||||
- /opt/bitnami/rabbitmq-cluster-operator/.spdx-rabbitmq-cluster-operator.spdx
|
||||
- mode: "0755"
|
||||
paths:
|
||||
- /manager
|
||||
version:
|
||||
bin_name: /manager
|
||||
flag: version
|
||||
@@ -3,7 +3,8 @@
|
||||
"resources": {
|
||||
"url": "{SHA_ARCHIVE}",
|
||||
"path": "{VIB_ENV_PATH}"
|
||||
}
|
||||
},
|
||||
"runtime_parameters": "Y29tbWFuZDogWyIvc2hhcmVkL2J1c3lib3giLCAic2xlZXAiLCAiMzYwMCJdCg=="
|
||||
},
|
||||
"phases": {
|
||||
"package": {
|
||||
@@ -33,6 +34,21 @@
|
||||
},
|
||||
"verify": {
|
||||
"actions": [
|
||||
{
|
||||
"action_id": "goss",
|
||||
"params": {
|
||||
"resources": {
|
||||
"path": "/.vib"
|
||||
},
|
||||
"tests_file": "rabbitmq-cluster-operator/goss/goss.yaml",
|
||||
"vars_file": "rabbitmq-cluster-operator/goss/vars.yaml",
|
||||
"remote": {
|
||||
"pod": {
|
||||
"workload": "deploy-rabbitmq-cluster-operator"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"action_id": "trivy",
|
||||
"params": {
|
||||
|
||||
Reference in New Issue
Block a user