Skip to content

Commit

Permalink
Echo params
Browse files Browse the repository at this point in the history
  • Loading branch information
Rindrics committed Jun 15, 2024
1 parent 8372da9 commit e5a6120
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/validate-param.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ echo "${PARAMS}" | jq -c 'to_entries | .[]' | while read -r step; do
exit 1
fi

echo "Checking step ${STEP_ID} for parameter ${PARAM} with expected value ${EXPECTED_VALUE}"
echo "Step content: ${STEP_CONTENT}"

ACTUAL_VALUE=$(echo "${STEP_CONTENT}" | yq e ".${PARAM}" -)

if [ "${ACTUAL_VALUE}" != "${EXPECTED_VALUE}" ]; then
Expand Down

0 comments on commit e5a6120

Please sign in to comment.