mirror of
https://github.com/bitnami/containers.git
synced 2026-03-21 15:29:05 +08:00
[bitnami/couchdb] Add VIB tests (#26795)
* [bitnami/couchdb] Add VIB tests Signed-off-by: FraPazGal <fdepaz@vmware.com> * Remove VIB trigger Signed-off-by: FraPazGal <fdepaz@vmware.com> * Apply suggestions Signed-off-by: FraPazGal <fdepaz@vmware.com> --------- Signed-off-by: FraPazGal <fdepaz@vmware.com>
This commit is contained in:
committed by
GitHub
parent
fb80583a38
commit
da7352b23f
16
.vib/couchdb/goss/couchdb.yaml
Normal file
16
.vib/couchdb/goss/couchdb.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
file:
|
||||
# Checks default config for erlang is set
|
||||
/opt/bitnami/couchdb/etc/vm.args:
|
||||
exists: true
|
||||
filetype: file
|
||||
contains:
|
||||
- /-kernel.*inet_dist_listen_min.*9100/
|
||||
command:
|
||||
check-library-path:
|
||||
exec: echo $LD_LIBRARY_PATH
|
||||
stdout:
|
||||
- /opt/bitnami/common/lib
|
||||
exit-status: 0
|
||||
check-libmozjs:
|
||||
exec: ls /opt/bitnami/common/lib | grep libmozjs
|
||||
exit-status: 0
|
||||
12
.vib/couchdb/goss/goss.yaml
Normal file
12
.vib/couchdb/goss/goss.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
gossfile:
|
||||
# Goss tests exclusive to the current container
|
||||
../../couchdb/goss/couchdb.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-directories.yaml: {}
|
||||
../../common/goss/templates/check-linked-libraries.yaml: {}
|
||||
../../common/goss/templates/check-sed-in-place.yaml: {}
|
||||
../../common/goss/templates/check-spdx.yaml: {}
|
||||
19
.vib/couchdb/goss/vars.yaml
Normal file
19
.vib/couchdb/goss/vars.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
binaries:
|
||||
- couchdb
|
||||
- couchjs
|
||||
- erl
|
||||
- gosu
|
||||
- ini-file
|
||||
- wait-for-port
|
||||
directories:
|
||||
- mode: "0775"
|
||||
paths:
|
||||
- /bitnami/couchdb/data
|
||||
- /opt/bitnami/couchdb/etc
|
||||
- paths:
|
||||
- /opt/bitnami/couchdb/etc/default.d
|
||||
- /opt/bitnami/common/lib
|
||||
root_dir: /opt/bitnami
|
||||
version:
|
||||
bin_name: couchjs
|
||||
flag: -V
|
||||
Reference in New Issue
Block a user