[bitnami/fluxcd-kustomize-controller] Add VIB tests (#34272)
* [bitnami/fluxcd-kustomize-controller] Add VIB tests Signed-off-by: Andrés Bono <andresbono@vmware.com> * Apply suggestions from review Signed-off-by: Andrés Bono <andresbono@vmware.com> --------- Signed-off-by: Andrés Bono <andresbono@vmware.com>
This commit is contained in:
parent
7b991e9be9
commit
d0e28034aa
|
|
@ -0,0 +1,6 @@
|
|||
command:
|
||||
check-kustomize-controller-help:
|
||||
exec: kustomize-controller --help
|
||||
exit-status: 2
|
||||
stderr:
|
||||
- "Usage of kustomize-controller:"
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
gossfile:
|
||||
# Goss tests exclusive to the current container
|
||||
../../fluxcd-kustomize-controller/goss/fluxcd-kustomize-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: {}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
binaries:
|
||||
- kustomize-controller
|
||||
root_dir: /opt/bitnami
|
||||
|
|
@ -3,7 +3,8 @@
|
|||
"resources": {
|
||||
"url": "{VIB_ENV_CONTAINER_URL}",
|
||||
"path": "{VIB_ENV_PATH}"
|
||||
}
|
||||
},
|
||||
"runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd"
|
||||
},
|
||||
"phases": {
|
||||
"package": {
|
||||
|
|
@ -82,6 +83,21 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"action_id": "goss",
|
||||
"params": {
|
||||
"resources": {
|
||||
"path": "/.vib"
|
||||
},
|
||||
"tests_file": "fluxcd-kustomize-controller/goss/goss.yaml",
|
||||
"vars_file": "fluxcd-kustomize-controller/goss/vars.yaml",
|
||||
"remote": {
|
||||
"pod": {
|
||||
"workload": "deploy-fluxcd-kustomize-controller"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
|||
|
|
@ -3,7 +3,8 @@
|
|||
"resources": {
|
||||
"url": "{SHA_ARCHIVE}",
|
||||
"path": "{VIB_ENV_PATH}"
|
||||
}
|
||||
},
|
||||
"runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd"
|
||||
},
|
||||
"phases": {
|
||||
"package": {
|
||||
|
|
@ -46,6 +47,21 @@
|
|||
"OS"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"action_id": "goss",
|
||||
"params": {
|
||||
"resources": {
|
||||
"path": "/.vib"
|
||||
},
|
||||
"tests_file": "fluxcd-kustomize-controller/goss/goss.yaml",
|
||||
"vars_file": "fluxcd-kustomize-controller/goss/vars.yaml",
|
||||
"remote": {
|
||||
"pod": {
|
||||
"workload": "deploy-fluxcd-kustomize-controller"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue