iron-proxy/tmp
Matthew Slipper 0decc47682
refactor: dedicated integration test package (#49)
* refactor: move integration tests to dedicated black-box package

Move the gRPC pipeline integration test from internal/proxy/ into a new
integration_test/ package that runs the compiled iron-proxy binary as a
subprocess. CI now has a separate integration-test job that builds the
binary, generates a test CA, and runs the tests with -integration flag.

Key changes:
- integration_test/ package with TestMain gating via -integration flag
- Config templates in integration_test/testdata/ rendered at test time
- startProxy helper parses JSON logs to discover the OS-assigned HTTP port
- HTTP listener in proxy.go now does manual Listen+Serve to log real addr
- New AWS Secrets Manager integration test for real secret swapping
- tmp/ directory for ephemeral test CA, populated by CI

* ci: pass AWS credentials to integration tests

* ci: whitelist AWS Secrets Manager egress for integration tests

* fix: check error return values in integration tests
History 2026-04-13 18:38:15 -06:00
..
.keep refactor: dedicated integration test package (#49) 2026-04-13 18:38:15 -06:00