Files
containers/.vib/common/goss/templates/check-binaries.yaml
Carlos Rodríguez Hernández 45d7897631 [bitnami/*] Set new header/owner (#66218)
Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
2024-05-06 15:06:33 +02:00

15 lines
362 B
YAML

# Copyright Broadcom, Inc. All Rights Reserved.
# SPDX-License-Identifier: APACHE-2.0
########################
# Checks binaries are added to the $PATH
# Needed vars:
# - .Vars.binaries (Array)
########################
command:
{{ range $binary := .Vars.binaries }}
check-{{ $binary }}-binary:
exec: which {{ $binary }}
exit-status: 0
{{ end }}