mirror of
https://github.com/bitnami/containers.git
synced 2026-03-30 14:57:50 +08:00
[bitnami/java-min] tests: use /shared/busybox to sleep (#77039)
This commit is contained in:
committed by
GitHub
parent
bb244f4222
commit
0fefb540fa
@@ -15,12 +15,6 @@ command:
|
||||
exit-status: 0
|
||||
stdout:
|
||||
- "Hello World"
|
||||
process:
|
||||
jwebserver:
|
||||
running: true
|
||||
port:
|
||||
tcp6:8000:
|
||||
listening: true
|
||||
{{- $releaseFile := readFile "/etc/os-release" }}
|
||||
{{- if contains "photon" $releaseFile }}
|
||||
file:
|
||||
@@ -30,4 +24,4 @@ file:
|
||||
owner: root
|
||||
group: root
|
||||
filetype: file
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -8,6 +8,5 @@ files:
|
||||
- /opt/bitnami/java/bin/java
|
||||
- /opt/bitnami/java/bin/jfr
|
||||
- /opt/bitnami/java/bin/jrunscript
|
||||
- /opt/bitnami/java/bin/jwebserver
|
||||
- /opt/bitnami/java/bin/keytool
|
||||
- /opt/bitnami/java/bin/rmiregistry
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"url": "{SHA_ARCHIVE}",
|
||||
"path": "{VIB_ENV_PATH}"
|
||||
},
|
||||
"runtime_parameters": "Y29tbWFuZDogWyJqd2Vic2VydmVyIiwgIi1iIiwgIjAuMC4wLjAiXQo="
|
||||
"runtime_parameters": "Y29tbWFuZDogWyIvc2hhcmVkL2J1c3lib3giLCAic2xlZXAiLCAiMzYwMCJdCg=="
|
||||
},
|
||||
"phases": {
|
||||
"package": {
|
||||
@@ -34,6 +34,21 @@
|
||||
},
|
||||
"verify": {
|
||||
"actions": [
|
||||
{
|
||||
"action_id": "goss",
|
||||
"params": {
|
||||
"resources": {
|
||||
"path": "/.vib"
|
||||
},
|
||||
"tests_file": "java-min/goss/goss.yaml",
|
||||
"vars_file": "java-min/goss/vars.yaml",
|
||||
"remote": {
|
||||
"pod": {
|
||||
"workload": "deploy-java-min"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"action_id": "trivy",
|
||||
"params": {
|
||||
|
||||
Reference in New Issue
Block a user