Skip to content

CICD-335 · Ingress connectivity validation ​

Encyclopedia · Advanced networking and API testing · All snippets

Previous · CICD-334 · Next · CICD-336

1. Where it fits ​

  • Placement CI run step or authorized lab terminal.
  • Prerequisites authorized test service, known endpoint or local fixture and the named test CLI.
  • Platforms local-linux, github-actions, gitea-actions.
  • Parameters INGRESS_HOST, INGRESS_IP.

2. Copy the snippet ​

bash
curl --fail-with-body --resolve "${INGRESS_HOST:?}:443:${INGRESS_IP:?}" "https://$INGRESS_HOST/healthz"

3. How it works ​

The request checks the selected HTTP interface. Timeouts limit waiting, and an explicit exit or payload condition determines pass and fail.

4. Verify the result ​

This exercises TLS/SNI and host routing against the selected address before DNS cutover.

Validation syntax-validated (Bash parse). Status definitions.