mirror of
https://github.com/bitnami/containers.git
synced 2026-03-21 23:38:32 +08:00
[bitnami/trivy] Adapt tests for trivy scratch image (#79030)
* [bitnami/trivy] Adapt tests for trivy scratch image Signed-off-by: David Gomez <david.gomez@broadcom.com> * [bitnami/trivy] Avoid absolut path Signed-off-by: David Gomez <david.gomez@broadcom.com> --------- Signed-off-by: David Gomez <david.gomez@broadcom.com>
This commit is contained in:
@@ -5,10 +5,6 @@ gossfile:
|
|||||||
# Goss tests exclusive to the current container
|
# Goss tests exclusive to the current container
|
||||||
../../trivy/goss/trivy.yaml: {}
|
../../trivy/goss/trivy.yaml: {}
|
||||||
# Load scripts from .vib/common/goss/templates
|
# Load scripts from .vib/common/goss/templates
|
||||||
../../common/goss/templates/check-app-version.yaml: {}
|
../../common/goss/templates/check-app-version-no-shell-stdout.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-ca-certs.yaml: {}
|
||||||
../../common/goss/templates/check-linked-libraries.yaml: {}
|
../../common/goss/templates/check-files.yaml: {}
|
||||||
../../common/goss/templates/check-sed-in-place.yaml: {}
|
|
||||||
../../common/goss/templates/check-spdx.yaml: {}
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
binaries:
|
files:
|
||||||
- trivy
|
- mode: "0644"
|
||||||
- wire
|
paths:
|
||||||
root_dir: /opt/bitnami
|
- /opt/bitnami/trivy/.spdx-trivy.spdx
|
||||||
version:
|
version:
|
||||||
bin_name: trivy
|
bin_name: trivy
|
||||||
flag: -v
|
flag: -v
|
||||||
|
|||||||
Reference in New Issue
Block a user