← back to Exo
fixed
64954aacfeb7844a31e4a3b32768bb8fa8579d73 · 2024-12-06 21:09:33 +0000 · Glen
Files touched
M .github/workflows/build_and_test.yml
Diff
commit 64954aacfeb7844a31e4a3b32768bb8fa8579d73
Author: Glen <glen@192.168.1.214>
Date: Fri Dec 6 21:09:33 2024 +0000
fixed
---
.github/workflows/build_and_test.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml
index 68348afc..348cb77c 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -41,7 +41,7 @@ jobs:
- name: Run exo
run: |
- ALL_NODE_IDS=$(for i in $(seq 0 ${{ strategy.job-total }} -1); do echo -n "${GITHUB_JOB}_${i},"; done | sed 's/,$//')
+ ALL_NODE_IDS=$(for i in $(seq ${{ strategy.job-total }} -1 0); do echo -n "${GITHUB_JOB}_${i},"; done | sed 's/,$//')
MY_NODE_ID="${GITHUB_JOB}_${{ strategy.job-index }}"
DEBUG_DISCOVERY=7 DEBUG=7 exo --node-id="${MY_NODE_ID}" --filter-node-ids="${ALL_NODE_IDS}" --chatgpt-api-port 52415 --disable-tui > output1.log 2>&1 &
PID1=$!
@@ -51,7 +51,7 @@ jobs:
trap 'kill $TAIL1' EXIT
for i in {1..100}; do
- nodes=$(curl http://localhost:52415/topology | jq .nodes | length)
+ nodes=$(curl http://localhost:52415/topology | jq '.nodes | length')
if [ "$nodes" -eq "${{ strategy.job-total }}" ]; then
break
fi
← ccc5415c try
·
back to Exo
·
debug c3dfac60 →