Skip to content

Commit 8348a22

Browse files
committed
ci: Fix Correct URL paths in the podman-robot action to ensure proper linking.
Update message formatting for test results to improve clarity. Maintenance-Type: ci
1 parent 8217783 commit 8348a22

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/actions/podman-robot/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ runs:
5757
GITHUB_PR_SHA=$(cat $GITHUB_EVENT_PATH | jq -r .pull_request.head.sha)
5858
fi
5959
cd .ci
60-
echo "💿️ **Image for [wpe-${{ inputs.wpe_version }}-${{ inputs.machine }](https://wk-contrib.igalia.com/yocto/meta-wpe-image/${TIMESTAMP}-wpe-${{ inputs.wpe_version }}-${{ inputs.machine }/) (ref: ${GITHUB_PR_SHA}).**" > ci-message.txt
60+
echo "💿️ **Image for [wpe-${{ inputs.wpe_version }}-${{ inputs.machine }}](https://wk-contrib.igalia.com/yocto/meta-wpe-image/${TIMESTAMP}-wpe-${{ inputs.wpe_version }}-${{ inputs.machine }}/) (ref: ${GITHUB_PR_SHA}).**" > ci-message.txt
6161
IP=$(sudo manage-devices -c /etc/manage-devices.yml ip ${{ inputs.machine }})
6262
WEBSERVER_IP=$(ip -4 addr show eno1 | grep -oP '(?<=inet\s)\d+(\.\d+){3}')
6363
echo "#!/bin/sh" > setup-env-local.sh
@@ -66,19 +66,19 @@ runs:
6666
echo "export TEST_WPEWEBKIT_VERSION=${{ inputs.wpe_version }}" >> setup-env-local.sh
6767
echo "export TEST_MACHINE=${{ inputs.machine }}" >> setup-env-local.sh
6868
if ./run-tests.sh; then
69-
MESSAGE="Tests results: https://wk-contrib.igalia.com/yocto/meta-wpe-image/${TIMESTAMP}-wpe-${{ inputs.wpe_version }}-${{ inputs.machine }/robot/report.html - Tests passed for \`wpe-${{ inputs.wpe_version }}-${{ inputs.machine }\` on \`${{ inputs.target }}\`."
69+
MESSAGE="Tests results: https://wk-contrib.igalia.com/yocto/meta-wpe-image/${TIMESTAMP}-wpe-${{ inputs.wpe_version }}-${{ inputs.machine }}/robot/report.html - Tests passed for \`wpe-${{ inputs.wpe_version }}-${{ inputs.machine }}\` on \`${{ inputs.target }}\`."
7070
echo "::notice file=.ci/run-tests.sh,title=Robot Framework tests::${MESSAGE}"
7171
echo "* ✅️ ${MESSAGE}" >> ci-message.txt
7272
else
73-
MESSAGE="Tests results: https://wk-contrib.igalia.com/yocto/meta-wpe-image/${TIMESTAMP}-wpe-${{ inputs.wpe_version }}-${{ inputs.machine }/robot/report.html - Failures were detected in the test results for \`wpe-${{ inputs.wpe_version }}-${{ inputs.machine }\` on \`${{ inputs.target }}\`."
73+
MESSAGE="Tests results: https://wk-contrib.igalia.com/yocto/meta-wpe-image/${TIMESTAMP}-wpe-${{ inputs.wpe_version }}-${{ inputs.machine }}/robot/report.html - Failures were detected in the test results for \`wpe-${{ inputs.wpe_version }}-${{ inputs.machine }}\` on \`${{ inputs.target }}\`."
7474
echo "::warning file=.ci/run-tests.sh,title=Robot Framework tests::${MESSAGE}"
7575
echo "* ⚠️ ${MESSAGE}" >> ci-message.txt
7676
fi
77-
s3cmd put -r -F tests_results/robot s3://${{ inputs.s3_storage }}/${TIMESTAMP}-wpe-${{ inputs.wpe_version }}-${{ inputs.machine }/
77+
s3cmd put -r -F tests_results/robot s3://${{ inputs.s3_storage }}/${TIMESTAMP}-wpe-${{ inputs.wpe_version }}-${{ inputs.machine }}/
7878
- name: Comment on the pull request
7979
uses: mshick/add-pr-comment@v2
8080
with:
81-
message-id: wpe-${{ inputs.wpe_version }}-${{ inputs.machine }-${{ steps.timestamp.outputs.timestamp }}
81+
message-id: wpe-${{ inputs.wpe_version }}-${{ inputs.machine }}-${{ steps.timestamp.outputs.timestamp }}
8282
message-path: |
8383
.ci/ci-message.txt
8484
- name: Stop DUT and Clean the tests directory

0 commit comments

Comments
 (0)