Skip to content

Commit

Permalink
Change order of steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Raunak Bhagat committed Nov 23, 2024
1 parent 1fd1e47 commit b6d8326
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/run-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ jobs:
--address http://localhost:8265 \
--runtime-env-json '{"DAFT_ENABLE_RAY_TRACING": "1"}' \
-- ${{ inputs.command }}
# ssh breakpoint; remove later
- uses: lhotari/action-upterm@v1

- name: Download log files from ray cluster
run: |
source .venv/bin/activate
ray rsync-down .github/assets/benchmarking_ray_config.yaml /tmp/ray/session_*/logs/daft ray-daft-logs
- name: Kill connection to ray cluster
run: |
PID=$(lsof -t -i:8265)
Expand All @@ -95,14 +103,6 @@ jobs:
echo "Failed to kill process $PID"
fi
fi
# ssh breakpoint; remove later
- uses: lhotari/action-upterm@v1

- name: Download log files from ray cluster
run: |
source .venv/bin/activate
ray rsync-down .github/assets/benchmarking_ray_config.yaml /tmp/ray/session_*/logs/daft ray-daft-logs
- name: Spin down ray cluster
if: always()
run: |
Expand Down

0 comments on commit b6d8326

Please sign in to comment.