1
0
Fork 0

Add improved output formatting and new manual test workflows

- Added blank lines before specific print statements in E2E test scripts for better readability.
- Enabled `workflow_dispatch` in `.github/workflows/build.yml` to allow manual triggering of workflows.
- Added separate jobs for running Docker Compose and Kubernetes E2E tests in CI pipeline.
This commit is contained in:
Joao Gilberto Magalhaes 2026-02-12 18:07:01 -05:00
parent f463020e3e
commit 0a400b976c
3 changed files with 54 additions and 1 deletions

View file

@ -436,6 +436,7 @@ class KubernetesFixture:
def apply(self):
"""Apply Kubernetes manifest"""
print() # Newline for better test output formatting
# Create namespace if it doesn't exist
if self.namespace != "default":
subprocess.run(
@ -592,6 +593,7 @@ def k8s_jwt_validator_secret(kind_cluster) -> Generator[dict, None, None]:
jwt_pubkey_content = f.read()
# Create JWT secrets using kubectl
print() # Newline for better test output formatting
print(" → Creating JWT secret 'jwt-pubkey-secret'...")
subprocess.run(
[kubectl_cmd, "delete", "secret", "jwt-pubkey-secret", "-n", "default",
@ -671,6 +673,7 @@ def k8s_cloudflare(kind_cluster, kind_cmd) -> Generator[str, None, None]:
# Build header-echo server image locally
header_echo_dir = BASE_DIR / "fixtures" / "header-echo"
print() # Newline for better test output formatting
print(" → Building header-echo-server:test image...")
subprocess.run(
["docker", "build", "-t", "header-echo-server:test", str(header_echo_dir)],