fix: verify deployment health in Docker host network
Rebuild & Deploy / rebuild (push) Successful in 44s

This commit is contained in:
snowspeeder committed 2026-10-01 16:22:04 -04:00
1 parent 3122ca7605
commit a45569f8c1
3 files changed
+18 -5

No files matched your search

+4
View File
@@ -30,6 +30,10 @@ elif cmd=='rm':
assert c['id'] not in ['original-voice','original-control']
s['containers'].remove(c);save()
elif cmd=='run':
if '--entrypoint' in a:
entry=a[a.index('--entrypoint')+1]
if entry=='curl' and '%{http_code}' in a:print('401')
sys.exit(0)
name=a[a.index('--name')+1]
if name=='voice' and s['failure']=='run':sys.exit(9)
s['containers'].append({'name':name,'id':'new-'+name,'running':True});save()