mirror of
https://github.com/katanemo/plano.git
synced 2026-05-21 13:55:15 +02:00
merge start and health check into single CI step to avoid process cleanup
This commit is contained in:
parent
fde90a00df
commit
e8dd0bbdf8
1 changed files with 2 additions and 5 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
|
@ -75,15 +75,12 @@ jobs:
|
||||||
- name: Build native binaries
|
- name: Build native binaries
|
||||||
run: crates/target/release/planoai build
|
run: crates/target/release/planoai build
|
||||||
|
|
||||||
- name: Start plano natively
|
- name: Start plano and health check
|
||||||
env:
|
env:
|
||||||
OPENAI_API_KEY: test-key-not-used
|
OPENAI_API_KEY: test-key-not-used
|
||||||
run: |
|
run: |
|
||||||
crates/target/release/planoai up tests/e2e/config_native_smoke.yaml
|
crates/target/release/planoai up tests/e2e/config_native_smoke.yaml
|
||||||
sleep 2
|
sleep 3
|
||||||
|
|
||||||
- name: Health check
|
|
||||||
run: |
|
|
||||||
for i in $(seq 1 30); do
|
for i in $(seq 1 30); do
|
||||||
if curl -sf http://localhost:12000/healthz > /dev/null 2>&1; then
|
if curl -sf http://localhost:12000/healthz > /dev/null 2>&1; then
|
||||||
echo "Health check passed"
|
echo "Health check passed"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue