Skip to content

Commit 03c7164

Browse files
sarroutbiTHS-on
authored andcommitted
Fix minor typo, format and remove end whitespaces
Signed-off-by: Sergio Arroutbi <[email protected]>
1 parent ad57804 commit 03c7164

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

scripts/download_packit_coverage.sh

+6-6
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ SLEEP_DELAY="${SLEEP_DELAY:-120}"
3232
# github user/project we are going to work with
3333
PROJECT="keylime/rust-keylime"
3434

35-
# TF_JOB_DESC points to a Testing farm job that does code coverage measurement and
35+
# TF_JOB_DESC points to a Testing farm job that does code coverage measurement and
3636
# uploads coverage XML files to a web drive
3737
# currently we are doing that in a job running tests on Fedora-39
3838
TF_JOB_DESC="testing-farm:fedora-39-x86_64"
@@ -89,11 +89,11 @@ function do_GitHub_API_call() {
8989
}
9090

9191

92-
# if the GitHub Action has been triggered by a PR,
92+
# if the GitHub Action has been triggered by a PR,
9393
# we need to find Testing farm test results through GitHub API
9494
if [ -n "${GITHUB_SHA}" -a -z "${TF_ARTIFACTS_URL}" -a -z "${TT_LOG}" ]; then
9595

96-
echo "Trying to find Testing Farm / Packig CI test results using GitHub API"
96+
echo "Trying to find Testing Farm / Packit CI test results using GitHub API"
9797

9898
echo "Fist I need to find the respective PR commit"
9999
GITHUB_API_SHA_URL="${GITHUB_API_COMMIT_URL}/${GITHUB_SHA}"
@@ -140,9 +140,9 @@ echo "TF_TESTLOG=${TF_TESTLOG}"
140140
# parse the URL of coverage txt file and download it
141141
curl --retry 5 -s "${TF_TESTLOG}" &> ${TMPFILE}
142142
echo "TMPFILE=${TMPFILE}"
143-
# probabbly rewrite, different hardcoded files, need to figureout how to export
143+
# probably rewrite, different hardcoded files, need to figure out how to export
144144

145-
#download test coverage
145+
# download test coverage
146146
COVERAGE_URL=$( grep "e2e_coverage.txt report is available at" ${TMPFILE} | grep -E -o "https://.*\.txt" )
147147
echo "COVERAGE_URL=${COVERAGE_URL}"
148148
if [ -z "${COVERAGE_URL}" ]; then
@@ -151,7 +151,7 @@ if [ -z "${COVERAGE_URL}" ]; then
151151
fi
152152
# download the file
153153
curl --retry 5 -L -O ${COVERAGE_URL}
154-
#download upstream test coverage
154+
# download upstream test coverage
155155
COVERAGE_URL=$( grep "upstream_coverage.xml report is available at" ${TMPFILE} | grep -E -o "https://.*\.xml" )
156156
echo "COVERAGE_URL=${COVERAGE_URL}"
157157
if [ -z "${COVERAGE_URL}" ]; then

0 commit comments

Comments
 (0)