Skip to content

Commit

Permalink
[BUG] Replace semicolons in filenames with underscore (#3430)
Browse files Browse the repository at this point in the history
# Overview
For all filenames that contain a semicolon, replace each instance of the
semicolon with an underscore.
  • Loading branch information
Raunak Bhagat authored Nov 26, 2024
1 parent 8bdd9ec commit c012577
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/run-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,14 @@ jobs:
run: |
source .venv/bin/activate
ray rsync-down .github/assets/benchmarking_ray_config.yaml /tmp/ray/session_*/logs ray-daft-logs
find ray-daft-logs -depth -name '*:*' -exec bash -c '
for filepath; do
dir=$(dirname "$filepath")
base=$(basename "$filepath")
new_base=${base//:/_}
mv "$filepath" "$dir/$new_base"
done
' _ {} +
- name: Kill connection to ray cluster
run: |
PID=$(lsof -t -i:8265)
Expand Down

0 comments on commit c012577

Please sign in to comment.