mirror of
https://github.com/bitnami/containers.git
synced 2026-03-27 15:27:48 +08:00
[bitnami/configurable-http-proxy] Add VIB tests (#30854)
* [bitnami/configurable-http-proxy] 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:
@@ -0,0 +1,8 @@
|
||||
command:
|
||||
check-configurable-http-proxy-run:
|
||||
exec: timeout --preserve-status 5 configurable-http-proxy
|
||||
timeout: 8000
|
||||
exit-status: 2
|
||||
stdout:
|
||||
- Proxying
|
||||
- Proxy API at
|
||||
11
.vib/configurable-http-proxy/goss/goss.yaml
Normal file
11
.vib/configurable-http-proxy/goss/goss.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
gossfile:
|
||||
# Goss tests exclusive to the current container
|
||||
../../configurable-http-proxy/goss/configurable-http-proxy.yaml: {}
|
||||
# Load scripts from .vib/common/goss/templates
|
||||
../../common/goss/templates/check-app-version.yaml: {}
|
||||
../../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: {}
|
||||
6
.vib/configurable-http-proxy/goss/vars.yaml
Normal file
6
.vib/configurable-http-proxy/goss/vars.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
binaries:
|
||||
- configurable-http-proxy
|
||||
root_dir: /opt/bitnami
|
||||
version:
|
||||
bin_name: configurable-http-proxy
|
||||
flag: --version
|
||||
Reference in New Issue
Block a user