Skip to content

Commit

Permalink
kill the process
Browse files Browse the repository at this point in the history
  • Loading branch information
pietrodimarco-dfinity committed Jan 31, 2024
1 parent fe9fcb5 commit 2c460b9
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/multiservice-discovery-diff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ jobs:

- name: "🔧 Setup runner"
uses: ./.github/workflows/manage-runner-pre

- name: Setup upterm session
uses: lhotari/action-upterm@v1

- name: branch-run
id: branch-run
run: |
mkdir -p registry
bazel run //rs/ic-observability/multiservice-discovery -- --targets-dir /home/runner/work/dre/dre/registry & disown
bazel run //rs/ic-observability/multiservice-discovery -- --targets-dir /home/runner/work/dre/dre/registry >/dev/null 2>&1 &
pid=$!
sleep 120
result=$(curl -sL http://localhost:8000/prom/targets)
kill $pid
echo "result=$result" >> $GITHUB_OUTPUT
- uses: actions/checkout@v4
Expand All @@ -43,9 +43,11 @@ jobs:
id: main-run
run: |
mkdir -p registry
bazel run //rs/ic-observability/multiservice-discovery -- --targets-dir /home/runner/work/dre/dre/registry & disown
bazel run //rs/ic-observability/multiservice-discovery -- --targets-dir /home/runner/work/dre/dre/registry >/dev/null 2>&1 &
pid=$!
sleep 120
result=$(curl -sL http://localhost:8000/prom/targets)
kill $pid
echo "result=$result" >> $GITHUB_OUTPUT
- uses: int128/diff-action@v1
Expand Down

0 comments on commit 2c460b9

Please sign in to comment.