mirror of
https://github.com/floci-io/floci.git
synced 2026-11-26 23:29:28 -05:00
fix(docker): probe the configured healthcheck listener (#8572)
Use the existing HTTP host and port environment settings for the container probe. Map wildcard hosts to loopback and keep TLS probes on the public multiplexed port. Preserve readiness and startup-grace handling. Honor the LocalStack listener aliases the way LocalStackParity does: USE_SSL, EDGE_PORT and the first GATEWAY_LISTEN entry, with a nonempty Floci setting winning and LOCALSTACK_PARITY=false turning them off. Add socket-level coverage for listener selection and failure responses, run in the existing Docker runner job. Signed-off-by: Andre Kurait <akurait@amazon.com> Signed-off-by: Jackson Price <jxnprice@amazon.com> Co-authored-by: Andre Kurait <akurait@amazon.com>
This commit is contained in:
1 parent
1a107f8f46
commit
fbedde4c2c
3 files changed
+251
-1
No files matched your search
@@ -12,6 +12,7 @@ on:
|
||||
- 'docker/Dockerfile.compat'
|
||||
- 'docker/entrypoint.sh'
|
||||
- 'docker/healthcheck.sh'
|
||||
- 'docker/test_healthcheck.py'
|
||||
- 'docker/run-docker-tests.sh'
|
||||
- 'docker/test-run-docker-tests.sh'
|
||||
- 'docker/test-compat-socket.sh'
|
||||
@@ -50,6 +51,9 @@ jobs:
|
||||
- name: Test Docker runner failure aggregation
|
||||
run: bash docker/test-run-docker-tests.sh
|
||||
|
||||
- name: Test container healthcheck listener
|
||||
run: python3 -m unittest discover -s docker -p test_healthcheck.py
|
||||
|
||||
compat-aws-cli-shim:
|
||||
name: compat / aws CLI endpoint resolution
|
||||
runs-on: ubuntu-24.04-arm
|
||||
|
||||
Reference in new issue
Block a user