Richte Develop-Build und Main-Deploy analog zur Jinkendo-Familie ein.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
94053d7fbe
commit
3ac42645ef
29 files changed
+3047
-3
No files matched your search
@@ -0,0 +1,35 @@
|
||||
name: Test Suite
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [develop]
|
||||
workflow_run:
|
||||
workflows: ["Deploy Development"]
|
||||
types: [completed]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
smoke-dev:
|
||||
if: ${{ github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Non-destructive smoke against the running Dev API
|
||||
run: |
|
||||
set -e
|
||||
echo "wait for live Dev API (buyingagent-dev)"
|
||||
for i in $(seq 1 60); do
|
||||
if curl -sf http://localhost:8095/health/live >/dev/null; then
|
||||
echo "DEV /health/live ready (attempt $i)"
|
||||
break
|
||||
fi
|
||||
if [ "$i" -eq 60 ]; then
|
||||
echo "timeout waiting for DEV /health/live"
|
||||
exit 1
|
||||
fi
|
||||
sleep 5
|
||||
done
|
||||
curl -sf http://localhost:8095/health/live
|
||||
echo
|
||||
curl -sf http://localhost:8095/health/ready
|
||||
echo
|
||||
echo "LAN smoke OK: http://192.168.2.49:8095"
|
||||
Reference in new issue
Block a user