From de784dc450272a962c9de42a19bc18705e982efa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Maro=C5=A1i?= Date: Mon, 8 Jul 2024 09:47:18 +0200 Subject: [PATCH] Update pr-check.yaml --- konflux/pr-check.yaml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/konflux/pr-check.yaml b/konflux/pr-check.yaml index 2b4793a7..ae0500c2 100644 --- a/konflux/pr-check.yaml +++ b/konflux/pr-check.yaml @@ -26,15 +26,7 @@ spec: - name: SNAPSHOT value: $(params.SNAPSHOT) script: | - dnf -y install jq - - echo -e "Example test task for the Snapshot:\n ${SNAPSHOT}" - // Run custom tests for the given Snapshot here - // After the tests finish, record the overall result in the RESULT variable - RESULT="SUCCESS" - - // Output the standardized TEST_OUTPUT result in JSON form - TEST_OUTPUT=$(jq -rc --arg date $(date +%s) --arg RESULT "${RESULT}" --null-input \ - '{result: $RESULT, timestamp: $date, failures: 0, successes: 1, warnings: 0}') - echo -n "${TEST_OUTPUT}" | tee $(results.TEST_OUTPUT.path) - + echo -e "Running clowder PR check" + pwd + ls + ./pr_check.sh