Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion tekton/tasks/binary-container-hermeto.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,15 @@ spec:

echo "Using Hermeto version: $(hermeto --version | head -n1)"

# Default Hermeto conf file to keep compatibility with Cachito as much as possible
CONF_FILE="${HOME}/hermeto-conf.yaml"

cat <<EOF >"${CONF_FILE}"
---
allow_yarnberry_processing: false
ignore_pip_dependencies_crates: true
EOF

SBOMS=()

# Process each remote source
Expand All @@ -148,7 +157,7 @@ spec:

echo "Fetching dependencies using Hermeto options: $(cat "${HERMETO_PKG_OPT_PATH}")"

hermeto --log-level="$LOG_LEVEL" fetch-deps \
hermeto --log-level="$LOG_LEVEL" --config-file="${CONF_FILE}" fetch-deps \
--source="${REMOTE_SOURCE_PATH}/app/" \
--output="${REMOTE_SOURCE_PATH}" \
--sbom-output-type=cyclonedx \
Expand Down