File tree Expand file tree Collapse file tree 2 files changed +18
-17
lines changed Expand file tree Collapse file tree 2 files changed +18
-17
lines changed Original file line number Diff line number Diff line change @@ -202,14 +202,13 @@ jobs:
202
202
strategy :
203
203
fail-fast : false
204
204
matrix :
205
- queue : ["core", "features", "compounds"]
206
- resource : ["low"]
207
- exclude :
208
- - queue : " compounds"
209
- resource : " low"
210
205
include :
206
+ - queue : " core"
207
+ resource : ' low'
211
208
- queue : " compounds"
212
209
resource : ' high'
210
+ - queue : " features"
211
+ resource : ' high'
213
212
214
213
if : ${{ github.event_name == 'release' && contains(github.ref, 'rc') }}
215
214
uses : ./.github/workflows/deploy-worker-helm-v4.yml
Original file line number Diff line number Diff line change 67
67
expose_headers = [siibra_version_header ]
68
68
)
69
69
70
- @siibra_api .get ("/metrics" , include_in_schema = False )
71
- def get_metrics ():
72
- """Get prometheus metrics"""
73
- return prom_metrics_resp ()
74
-
75
-
76
- @siibra_api .get ("/ready" , include_in_schema = False )
77
- def get_ready ():
78
- """Ready probe
79
-
80
- TODO: implement me"""
81
- return "ready"
82
70
83
71
_code_meta = None
84
72
@siibra_api .get ("/about" , include_in_schema = False )
@@ -391,6 +379,20 @@ async def exception_other(request: Request, exc: Exception):
391
379
templates = Jinja2Templates (directory = "templates/" )
392
380
siibra_api .mount ("/static" , StaticFiles (directory = "static" ), name = "static" )
393
381
382
+ @siibra_api .get ("/metrics" , include_in_schema = False )
383
+ def get_metrics ():
384
+ """Get prometheus metrics"""
385
+ return prom_metrics_resp ()
386
+
387
+
388
+ @siibra_api .get ("/ready" , include_in_schema = False )
389
+ def get_ready ():
390
+ """Ready probe
391
+
392
+ TODO: implement me"""
393
+ return "ready"
394
+
395
+
394
396
# TODO lifespan not working properly. Fix and use lifespan in future
395
397
@siibra_api .on_event ("shutdown" )
396
398
def shutdown ():
You can’t perform that action at this time.
0 commit comments