Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
wip: shutdown server from client
Browse files Browse the repository at this point in the history
  • Loading branch information
unw9527 committed Apr 30, 2024
1 parent 98bb237 commit 0b3fc1e
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/benchmark_group_1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: benchmark-group-1
on:
push:
branches:
- lkl/benchmark
- cache1-bench
pull_request:
branches:
- lkl/benchmark
- cache1-bench
workflow_dispatch:
jobs:
start-runner:
Expand Down Expand Up @@ -65,14 +65,12 @@ jobs:
uses: actions/checkout@v4
with:
repository: cmu-db/15721-s24-cache1
ref: lkl/benchmark
ref: cache1-bench
- name: Build Server
run: cargo build --package storage-node --bin storage_node
- name: Run Server
run: |
cargo run --package storage-node --bin storage_node &
- name: Spin and wait for the Client
run: sleep 60
cargo run --package storage-node --bin storage_node
run-benchmark:
name: Run Benchmark
needs:
Expand All @@ -95,6 +93,9 @@ jobs:
done
- name: Run Benchmark
run: cargo run
- name: Stop Server
run: |
curl -X POST $SERVER_URL/shutdown
stop-runner:
name: Stop self-hosted EC2 runner
needs:
Expand Down

0 comments on commit 0b3fc1e

Please sign in to comment.