mirror of
https://github.com/bitnami/containers.git
synced 2026-03-27 15:27:48 +08:00
[bitnami/kafka] Add VIB tests (#26874)
* [bitnami/kafka] Add VIB tests Signed-off-by: FraPazGal <fdepaz@vmware.com> * Remove VIB trigger Signed-off-by: FraPazGal <fdepaz@vmware.com> * Use fullpath for asset tests Signed-off-by: FraPazGal <fdepaz@vmware.com> * Remove unnecessary binary checks Signed-off-by: FraPazGal <fdepaz@vmware.com> * Fix comment typo Signed-off-by: FraPazGal <fdepaz@vmware.com> * Add missing binary check Signed-off-by: FraPazGal <fdepaz@vmware.com> --------- Signed-off-by: FraPazGal <fdepaz@vmware.com>
This commit is contained in:
committed by
GitHub
parent
d0168992d0
commit
fb80583a38
12
.vib/kafka/goss/goss.yaml
Normal file
12
.vib/kafka/goss/goss.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
gossfile:
|
||||
# Goss tests exclusive to the current container
|
||||
../../kafka/goss/kafka.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-files.yaml: {}
|
||||
../../common/goss/templates/check-linked-libraries.yaml: {}
|
||||
../../common/goss/templates/check-spdx.yaml: {}
|
||||
20
.vib/kafka/goss/kafka.yaml
Normal file
20
.vib/kafka/goss/kafka.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
file:
|
||||
# Checks specific files are no longer present
|
||||
/opt/bitnami/kafka/configtmp:
|
||||
exists: false
|
||||
/opt/bitnami/kafka/conf:
|
||||
exists: false
|
||||
/opt/bitnami/kafka/config/log4j.properties:
|
||||
exists: true
|
||||
filetype: file
|
||||
contains:
|
||||
- "log4j.appender.stdout.Threshold=OFF"
|
||||
- "!DailyRollingFileAppender"
|
||||
- "ConsoleAppender"
|
||||
- "!DatePattern"
|
||||
- "!Appender.File"
|
||||
/opt/bitnami/kafka/bin/kafka-server-start.sh:
|
||||
exists: true
|
||||
filetype: file
|
||||
contains:
|
||||
- "![-]loggc"
|
||||
24
.vib/kafka/goss/vars.yaml
Normal file
24
.vib/kafka/goss/vars.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
binaries:
|
||||
- gosu
|
||||
- java
|
||||
- kafka-server-start.sh
|
||||
- render-template
|
||||
- wait-for-port
|
||||
directories:
|
||||
- mode: "0775"
|
||||
paths:
|
||||
- /bitnami/kafka
|
||||
- /bitnami/kafka/data
|
||||
- /opt/bitnami/kafka
|
||||
- /docker-entrypoint-initdb.d
|
||||
- paths:
|
||||
- /bitnami/kafka/config
|
||||
- /opt/bitnami/kafka/config
|
||||
- /opt/bitnami/kafka/logs
|
||||
files:
|
||||
- paths:
|
||||
- /opt/bitnami/kafka/config/server.properties
|
||||
root_dir: /opt/bitnami
|
||||
version:
|
||||
bin_name: kafka-topics.sh
|
||||
flag: --version
|
||||
Reference in New Issue
Block a user