mirror of
https://github.com/bitnami/containers.git
synced 2026-03-27 07:17:59 +08:00
[bitnami/metallb-controller] Add VIB tests (#34397)
* [bitnami/metallb-controller] Add VIB tests Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Add trigger Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Remove trigger Signed-off-by: Miguel Ruiz <miruiz@vmware.com> --------- Signed-off-by: Miguel Ruiz <miruiz@vmware.com>
This commit is contained in:
10
.vib/metallb-controller/goss/goss.yaml
Normal file
10
.vib/metallb-controller/goss/goss.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
gossfile:
|
||||
# Goss tests exclusive to the current container
|
||||
../../metallb-controller/goss/metallb-controller.yaml: {}
|
||||
# Load scripts from .vib/common/goss/templates
|
||||
../../common/goss/templates/check-binaries.yaml: {}
|
||||
../../common/goss/templates/check-broken-symlinks.yaml: {}
|
||||
../../common/goss/templates/check-ca-certs.yaml: {}
|
||||
../../common/goss/templates/check-linked-libraries.yaml: {}
|
||||
../../common/goss/templates/check-sed-in-place.yaml: {}
|
||||
../../common/goss/templates/check-spdx.yaml: {}
|
||||
10
.vib/metallb-controller/goss/metallb-controller.yaml
Normal file
10
.vib/metallb-controller/goss/metallb-controller.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
command:
|
||||
# The metallb-controller binary does not have a --version flag, but starting it displays the version
|
||||
check-app-version:
|
||||
exec: controller
|
||||
exit-status: 1
|
||||
stdout:
|
||||
- {{ .Env.APP_VERSION }}
|
||||
check-metallb-controller-help:
|
||||
exec: controller --help
|
||||
exit-status: 0
|
||||
3
.vib/metallb-controller/goss/vars.yaml
Normal file
3
.vib/metallb-controller/goss/vars.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
binaries:
|
||||
- controller
|
||||
root_dir: /opt/bitnami
|
||||
Reference in New Issue
Block a user