Skip to content

Commit

Permalink
Fix native build stats uploading for "simple with space" IT
Browse files Browse the repository at this point in the history
Follow up to quarkusio#39784

Resolves:

```
jq: error: Could not open file /home/runner/work/quarkus/quarkus/./integration-tests/simple: No such file or directory
```

by treating each line returned by `find` as a single path instead of
further breaking it down by space.
  • Loading branch information
zakkak authored and holly-cummins committed Jul 31, 2024
1 parent 8a96f4c commit 3cf2911
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci-actions-incremental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1195,8 +1195,9 @@ jobs:
fi
tar -xf build-stats.tgz
echo "Tag to be used for uploads: '${TAG}'"
IFS=$'\n'
for bs in $(find ./ -name \*build-output-stats.json); do
jq . $(pwd)/$bs
jq . "$(pwd)/$bs"
# import the stat
curl -s -w '\n' -H "Content-Type: application/json" \
-H "token: $UPLOAD_TOKEN" --post302 --data "@$(pwd)/$bs" "$COLLECTOR_URL/import?t=${TAG}&runnerid=${runner_info_id}" | tee stat_id.json
Expand All @@ -1208,6 +1209,7 @@ jobs:
exit 1
fi
done
build-report:
runs-on: ubuntu-latest
name: Build report
Expand Down

0 comments on commit 3cf2911

Please sign in to comment.