mirror of
https://github.com/bitnami/containers.git
synced 2026-04-02 15:27:45 +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
9
.vib/argo-workflow-cli/goss/argo-workflow-cli.yaml
Normal file
9
.vib/argo-workflow-cli/goss/argo-workflow-cli.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
command:
|
||||
check-argo-help:
|
||||
exec:
|
||||
- /argo
|
||||
- --help
|
||||
exit-status: 0
|
||||
stdout:
|
||||
- "Usage:"
|
||||
- "argo [flags]"
|
||||
10
.vib/argo-workflow-cli/goss/goss.yaml
Normal file
10
.vib/argo-workflow-cli/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
|
||||
../../argo-workflow-cli/goss/argo-workflow-cli.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: {}
|
||||
10
.vib/argo-workflow-cli/goss/vars.yaml
Normal file
10
.vib/argo-workflow-cli/goss/vars.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
files:
|
||||
- mode: "0644"
|
||||
paths:
|
||||
- /opt/bitnami/argo-workflows/.spdx-argo-workflows.spdx
|
||||
- mode: "0755"
|
||||
paths:
|
||||
- /argo
|
||||
version:
|
||||
bin_name: /argo
|
||||
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": "argo-workflow-cli/goss/goss.yaml",
|
||||
"vars_file": "argo-workflow-cli/goss/vars.yaml",
|
||||
"remote": {
|
||||
"pod": {
|
||||
"workload": "deploy-argo-workflow-cli"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"action_id": "trivy",
|
||||
"params": {
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
command:
|
||||
check-workflow-controller-help:
|
||||
exec:
|
||||
- /workflow-controller
|
||||
- --help
|
||||
exit-status: 0
|
||||
stdout:
|
||||
- "Usage:"
|
||||
- "workflow-controller [flags]"
|
||||
10
.vib/argo-workflow-controller/goss/goss.yaml
Normal file
10
.vib/argo-workflow-controller/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
|
||||
../../argo-workflow-controller/goss/argo-workflow-controller.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: {}
|
||||
10
.vib/argo-workflow-controller/goss/vars.yaml
Normal file
10
.vib/argo-workflow-controller/goss/vars.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
files:
|
||||
- mode: "0644"
|
||||
paths:
|
||||
- /opt/bitnami/argo-workflow-controller/.spdx-argo-workflow-controller.spdx
|
||||
- mode: "0755"
|
||||
paths:
|
||||
- /workflow-controller
|
||||
version:
|
||||
bin_name: /workflow-controller
|
||||
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": "argo-workflow-controller/goss/goss.yaml",
|
||||
"vars_file": "argo-workflow-controller/goss/vars.yaml",
|
||||
"remote": {
|
||||
"pod": {
|
||||
"workload": "deploy-argo-workflow-controller"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"action_id": "trivy",
|
||||
"params": {
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
command:
|
||||
check-artifact-cas-help:
|
||||
exec:
|
||||
- /artifact-cas
|
||||
- --help
|
||||
exit-status: 0
|
||||
stderr:
|
||||
- "Usage of /artifact-cas"
|
||||
9
.vib/chainloop-artifact-cas/goss/goss.yaml
Normal file
9
.vib/chainloop-artifact-cas/goss/goss.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
# Copyright Broadcom, Inc. All Rights Reserved.
|
||||
# SPDX-License-Identifier: APACHE-2.0
|
||||
|
||||
gossfile:
|
||||
# Goss tests exclusive to the current container
|
||||
../../chainloop-artifact-cas/goss/chainloop-artifact-cas.yaml: {}
|
||||
# Load scripts from .vib/common/goss/templates
|
||||
../../common/goss/templates/check-ca-certs.yaml: {}
|
||||
../../common/goss/templates/check-files.yaml: {}
|
||||
7
.vib/chainloop-artifact-cas/goss/vars.yaml
Normal file
7
.vib/chainloop-artifact-cas/goss/vars.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
files:
|
||||
- mode: "0644"
|
||||
paths:
|
||||
- /opt/bitnami/chainloop/.spdx-chainloop-artifact-cas.spdx
|
||||
- mode: "0755"
|
||||
paths:
|
||||
- /artifact-cas
|
||||
@@ -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": "chainloop-artifact-cas/goss/goss.yaml",
|
||||
"vars_file": "chainloop-artifact-cas/goss/vars.yaml",
|
||||
"remote": {
|
||||
"pod": {
|
||||
"workload": "deploy-chainloop-artifact-cas"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"action_id": "trivy",
|
||||
"params": {
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
command:
|
||||
check-atlas-help:
|
||||
exec:
|
||||
- /atlas
|
||||
- --help
|
||||
exit-status: 0
|
||||
stdout:
|
||||
- "atlas [command]"
|
||||
11
.vib/chainloop-control-plane-migrations/goss/goss.yaml
Normal file
11
.vib/chainloop-control-plane-migrations/goss/goss.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
# Copyright Broadcom, Inc. All Rights Reserved.
|
||||
# SPDX-License-Identifier: APACHE-2.0
|
||||
|
||||
gossfile:
|
||||
# Goss tests exclusive to the current container
|
||||
../../chainloop-control-plane-migrations/goss/chainloop-control-plane-migrations.yaml: {}
|
||||
# Load scripts from .vib/common/goss/templates
|
||||
../../common/goss/templates/check-ca-certs.yaml: {}
|
||||
../../common/goss/templates/check-directories.yaml: {}
|
||||
../../common/goss/templates/check-files.yaml: {}
|
||||
|
||||
11
.vib/chainloop-control-plane-migrations/goss/vars.yaml
Normal file
11
.vib/chainloop-control-plane-migrations/goss/vars.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
files:
|
||||
- mode: "0644"
|
||||
paths:
|
||||
- /opt/bitnami/chainloop/.spdx-chainloop-control-plane-migrations.spdx
|
||||
- mode: "0755"
|
||||
paths:
|
||||
- /atlas
|
||||
directories:
|
||||
- mode: "0755"
|
||||
paths:
|
||||
- /migrations
|
||||
@@ -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": "chainloop-control-plane-migrations/goss/goss.yaml",
|
||||
"vars_file": "chainloop-control-plane-migrations/goss/vars.yaml",
|
||||
"remote": {
|
||||
"pod": {
|
||||
"workload": "deploy-chainloop-control-plane-migrations"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"action_id": "trivy",
|
||||
"params": {
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
command:
|
||||
check-control-plane-help:
|
||||
exec:
|
||||
- /control-plane
|
||||
- --help
|
||||
exit-status: 2
|
||||
stderr:
|
||||
- "Usage of /control-plane"
|
||||
9
.vib/chainloop-control-plane/goss/goss.yaml
Normal file
9
.vib/chainloop-control-plane/goss/goss.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
# Copyright Broadcom, Inc. All Rights Reserved.
|
||||
# SPDX-License-Identifier: APACHE-2.0
|
||||
|
||||
gossfile:
|
||||
# Goss tests exclusive to the current container
|
||||
../../chainloop-control-plane/goss/chainloop-control-plane.yaml: {}
|
||||
# Load scripts from .vib/common/goss/templates
|
||||
../../common/goss/templates/check-ca-certs.yaml: {}
|
||||
../../common/goss/templates/check-files.yaml: {}
|
||||
7
.vib/chainloop-control-plane/goss/vars.yaml
Normal file
7
.vib/chainloop-control-plane/goss/vars.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
files:
|
||||
- mode: "0644"
|
||||
paths:
|
||||
- /opt/bitnami/chainloop/.spdx-chainloop.spdx
|
||||
- mode: "0755"
|
||||
paths:
|
||||
- /control-plane
|
||||
@@ -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": "chainloop-control-plane/goss/goss.yaml",
|
||||
"vars_file": "chainloop-control-plane/goss/vars.yaml",
|
||||
"remote": {
|
||||
"pod": {
|
||||
"workload": "deploy-chainloop-control-plane"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"action_id": "trivy",
|
||||
"params": {
|
||||
|
||||
10
.vib/kaniko/goss/goss.yaml
Normal file
10
.vib/kaniko/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
|
||||
../../kaniko/goss/kaniko.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: {}
|
||||
17
.vib/kaniko/goss/kaniko.yaml
Normal file
17
.vib/kaniko/goss/kaniko.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
command:
|
||||
check-executor-help:
|
||||
exec:
|
||||
- /kaniko/executor
|
||||
- --help
|
||||
exit-status: 0
|
||||
stdout:
|
||||
- "Usage:"
|
||||
- "executor [command]"
|
||||
check-warmer-help:
|
||||
exec:
|
||||
- /kaniko/warmer
|
||||
- --help
|
||||
exit-status: 0
|
||||
stdout:
|
||||
- "Usage:"
|
||||
- "cache warmer [flags]"
|
||||
14
.vib/kaniko/goss/vars.yaml
Normal file
14
.vib/kaniko/goss/vars.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
files:
|
||||
- mode: "0644"
|
||||
paths:
|
||||
- /opt/bitnami/kaniko/.spdx-kaniko.spdx
|
||||
- mode: "0755"
|
||||
paths:
|
||||
- /kaniko/docker-credential-acr-env
|
||||
- /kaniko/docker-credential-ecr-login
|
||||
- /kaniko/docker-credential-gcr
|
||||
- /kaniko/executor
|
||||
- /kaniko/warmer
|
||||
version:
|
||||
bin_name: /kaniko/executor
|
||||
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": "kaniko/goss/goss.yaml",
|
||||
"vars_file": "kaniko/goss/vars.yaml",
|
||||
"remote": {
|
||||
"pod": {
|
||||
"workload": "deploy-kaniko"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"action_id": "trivy",
|
||||
"params": {
|
||||
|
||||
10
.vib/kube-rbac-proxy/goss/goss.yaml
Normal file
10
.vib/kube-rbac-proxy/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
|
||||
../../kube-rbac-proxy/goss/kube-rbac-proxy.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: {}
|
||||
9
.vib/kube-rbac-proxy/goss/kube-rbac-proxy.yaml
Normal file
9
.vib/kube-rbac-proxy/goss/kube-rbac-proxy.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
command:
|
||||
check-kube-rbac-proxy-help:
|
||||
exec:
|
||||
- /kube-rbac-proxy
|
||||
- --help
|
||||
exit-status: 0
|
||||
stdout:
|
||||
- "Usage:"
|
||||
- "kube-rbac-proxy [flags]"
|
||||
10
.vib/kube-rbac-proxy/goss/vars.yaml
Normal file
10
.vib/kube-rbac-proxy/goss/vars.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
files:
|
||||
- mode: "0644"
|
||||
paths:
|
||||
- /opt/bitnami/kube-rbac-proxy/.spdx-kube-rbac-proxy.spdx
|
||||
- mode: "0755"
|
||||
paths:
|
||||
- /kube-rbac-proxy
|
||||
version:
|
||||
bin_name: /kube-rbac-proxy
|
||||
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": "kube-rbac-proxy/goss/goss.yaml",
|
||||
"vars_file": "kube-rbac-proxy/goss/vars.yaml",
|
||||
"remote": {
|
||||
"pod": {
|
||||
"workload": "deploy-kube-rbac-proxy"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"action_id": "trivy",
|
||||
"params": {
|
||||
|
||||
10
.vib/pinniped/goss/goss.yaml
Normal file
10
.vib/pinniped/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
|
||||
../../pinniped/goss/pinniped.yaml: {}
|
||||
# Load scripts from .vib/common/goss/templates
|
||||
../../common/goss/templates/check-app-version-no-shell-stderr.yaml: {}
|
||||
../../common/goss/templates/check-ca-certs.yaml: {}
|
||||
../../common/goss/templates/check-files.yaml: {}
|
||||
18
.vib/pinniped/goss/pinniped.yaml
Normal file
18
.vib/pinniped/goss/pinniped.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
command:
|
||||
check-pinniped-concierge-help:
|
||||
exec:
|
||||
- /pinniped-concierge
|
||||
- --help
|
||||
exit-status: 0
|
||||
stdout:
|
||||
- "Usage:"
|
||||
- "pinniped-concierge [flags]"
|
||||
file:
|
||||
/pinniped-concierge:
|
||||
exists: true
|
||||
filetype: symlink
|
||||
linked-to: pinniped-server
|
||||
/pinniped-supervisor:
|
||||
exists: true
|
||||
filetype: symlink
|
||||
linked-to: pinniped-server
|
||||
11
.vib/pinniped/goss/vars.yaml
Normal file
11
.vib/pinniped/goss/vars.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
files:
|
||||
- mode: "0644"
|
||||
paths:
|
||||
- /opt/bitnami/pinniped/.spdx-pinniped.spdx
|
||||
- mode: "0755"
|
||||
paths:
|
||||
- /pinniped-concierge-kube-cert-agent
|
||||
- /pinniped-server
|
||||
version:
|
||||
bin_name: /pinniped-concierge
|
||||
flag: --help
|
||||
@@ -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": "pinniped/goss/goss.yaml",
|
||||
"vars_file": "pinniped/goss/vars.yaml",
|
||||
"remote": {
|
||||
"pod": {
|
||||
"workload": "deploy-pinniped"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"action_id": "trivy",
|
||||
"params": {
|
||||
|
||||
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": {
|
||||
|
||||
10
.vib/rmq-default-credential-updater/goss/goss.yaml
Normal file
10
.vib/rmq-default-credential-updater/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
|
||||
../../rmq-default-credential-updater/goss/rmq-default-credential-updater.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-default-user-credential-updater-help:
|
||||
exec:
|
||||
- /default-user-credential-updater
|
||||
- --help
|
||||
exit-status: 0
|
||||
stdout:
|
||||
- "Usage:"
|
||||
- "default-user-credential-updater [flags]"
|
||||
10
.vib/rmq-default-credential-updater/goss/vars.yaml
Normal file
10
.vib/rmq-default-credential-updater/goss/vars.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
files:
|
||||
- mode: "0644"
|
||||
paths:
|
||||
- /opt/bitnami/rmq-default-credential-updater/.spdx-rmq-default-credential-updater.spdx
|
||||
- mode: "0755"
|
||||
paths:
|
||||
- /default-user-credential-updater
|
||||
version:
|
||||
bin_name: /default-user-credential-updater
|
||||
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": "rmq-default-credential-updater/goss/goss.yaml",
|
||||
"vars_file": "rmq-default-credential-updater/goss/vars.yaml",
|
||||
"remote": {
|
||||
"pod": {
|
||||
"workload": "deploy-rmq-default-credential-updater"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"action_id": "trivy",
|
||||
"params": {
|
||||
|
||||
10
.vib/rmq-messaging-topology-operator/goss/goss.yaml
Normal file
10
.vib/rmq-messaging-topology-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
|
||||
../../rmq-messaging-topology-operator/goss/rmq-messaging-topology-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/rmq-messaging-topology-operator/goss/vars.yaml
Normal file
10
.vib/rmq-messaging-topology-operator/goss/vars.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
files:
|
||||
- mode: "0644"
|
||||
paths:
|
||||
- /opt/bitnami/rmq-messaging-topology-operator/.spdx-rmq-messaging-topology-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": "rmq-messaging-topology-operator/goss/goss.yaml",
|
||||
"vars_file": "rmq-messaging-topology-operator/goss/vars.yaml",
|
||||
"remote": {
|
||||
"pod": {
|
||||
"workload": "deploy-rmq-messaging-topology-operator"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"action_id": "trivy",
|
||||
"params": {
|
||||
|
||||
Reference in New Issue
Block a user