[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:
David Gomez
2025-03-19 14:32:34 +01:00
committed by GitHub
parent b323935299
commit de6a3c8c55
2 changed files with 6 additions and 10 deletions

View File

@@ -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: {}

View File

@@ -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