Commit f70a6c2
Agent
Switch integration test deployment to httpd mode
Replace CTS_DEVELOPER_ENV=1 (Flask dev server on port 5005) with a
production-like httpd setup on port 8080.
A cts-config ConfigMap is created with two files:
- /etc/cts/config.py: ProdConfiguration (AUTH_BACKEND=noauth,
PostgreSQL URI), loaded by init_config when CTS_DEVELOPER_ENV is
absent.
- /etc/cts/httpd.conf: Apache httpd + mod_wsgi config matching the
production template (ServerRoot /etc/httpd, Include conf.modules.d/*,
WSGIDaemonProcess, WSGIScriptAlias). PidFile and DefaultRuntimeDir
point to /tmp so httpd can write them as a non-root user under
OpenShift's restricted-v2 SCC. Logs go to /dev/stderr and /dev/stdout.
The main container command is overridden to run httpd -DFOREGROUND
directly, bypassing start_cts_from_here which unconditionally sets
CTS_DEVELOPER_ENV=1. Port references updated from 5005 to 8080
throughout (Service, containerPort, readiness/liveness probes, CTS_URL).
Fixes #73
Generated-By: OpenCode (google-vertex-anthropic/claude-sonnet-4-6@default)1 parent 7f048dc commit f70a6c2
1 file changed
Lines changed: 61 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
243 | 281 | | |
244 | 282 | | |
245 | 283 | | |
| |||
250 | 288 | | |
251 | 289 | | |
252 | 290 | | |
253 | | - | |
254 | | - | |
| 291 | + | |
| 292 | + | |
255 | 293 | | |
256 | 294 | | |
257 | 295 | | |
| |||
275 | 313 | | |
276 | 314 | | |
277 | 315 | | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | 316 | | |
284 | 317 | | |
285 | 318 | | |
| |||
289 | 322 | | |
290 | 323 | | |
291 | 324 | | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
292 | 329 | | |
293 | 330 | | |
294 | 331 | | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
300 | 336 | | |
301 | | - | |
| 337 | + | |
302 | 338 | | |
303 | 339 | | |
304 | 340 | | |
| |||
309 | 345 | | |
310 | 346 | | |
311 | 347 | | |
312 | | - | |
| 348 | + | |
313 | 349 | | |
314 | 350 | | |
315 | 351 | | |
316 | 352 | | |
317 | 353 | | |
318 | 354 | | |
319 | 355 | | |
320 | | - | |
| 356 | + | |
321 | 357 | | |
322 | 358 | | |
323 | 359 | | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
324 | 368 | | |
325 | 369 | | |
326 | 370 | | |
| |||
425 | 469 | | |
426 | 470 | | |
427 | 471 | | |
428 | | - | |
| 472 | + | |
429 | 473 | | |
430 | 474 | | |
431 | 475 | | |
| |||
448 | 492 | | |
449 | 493 | | |
450 | 494 | | |
451 | | - | |
| 495 | + | |
452 | 496 | | |
453 | 497 | | |
454 | 498 | | |
| |||
0 commit comments