Fix pdp-tester CI job for K8s-based refactor (PER-13630)#307
Fix pdp-tester CI job for K8s-based refactor (PER-13630)#307EliMoshkovich merged 6 commits intomainfrom
Conversation
The pdp-tester was refactored from Docker-based to Kubernetes-based (permitio/pdp-tester#80). The old CI used Docker directly to run PDP containers, but the new code requires a Kubernetes cluster. Changes: - Add k3d cluster setup (same approach as pdp-tester's own CI) - Import both PDP image and pdp-tester image into k3d - Deploy via Helm chart in job mode with tag 'next' (the PR's PDP build) - Wait for Job completion and check test results from logs - Teardown k3d cluster on completion Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
🔍 Vulnerabilities of
|
| digest | sha256:65aa1b3d2192e32c5d86f659708eb381451e66db78271d0ec73eaa96454d6e5a |
| vulnerabilities | |
| platform | linux/amd64 |
| size | 215 MB |
| packages | 253 |
📦 Base Image python:3.10-alpine3.22
| also known as |
|
| digest | sha256:a7b85667f5c4e8db146b494344e4a3826e695185c7260bddab7ec9667a2406e3 |
| vulnerabilities |
Description
Description
Description
Description
Description
Description
Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The pdp-tester discovers PDP tags via Docker Hub. The 'next' tag only exists locally, so tag discovery fails. Fix: tag the PDP image as 'latest' before importing into k3d, which matches pdp-tester's default includeTags config. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Use LOCAL_TAGS=["next"] to tell pdp-tester to use the locally built PDP image without querying Docker Hub for tag discovery. Clear includeTags to avoid pulling anything from Docker Hub. Requires permitio/pdp-tester to have LOCAL_TAGS support in the Helm chart (permitio/pdp-tester PR pending). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Will revert to skipGenerate=true after first successful run. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
--set 'pdp.includeTags={}' rendered as [""] (non-empty list), causing
Docker Hub tag discovery to run and timeout. Use --set 'pdp.includeTags='
which makes the value falsy, skipping INCLUDE_TAGS env var entirely.
Only LOCAL_TAGS=["next"] is used.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Summary
The pdp-tester was refactored from Docker-based to Kubernetes-based (permitio/pdp-tester#80). The old CI used Docker directly to run PDP containers, but the new code requires a Kubernetes cluster. This PR fixes the
pdp-testerCI job.Changes
permitio/pdp-v2:next) and pdp-tester image into k3djobmode with tagnext(the PR's PDP build)Why it broke
The pdp-tester refactor (permitio/pdp-tester#80) removed Docker-based container management (
aiodocker,PdpCluster) and replaced it with Kubernetes-native Pod management (kubernetes_asyncio,KubernetesRuntime). The oldLOCAL_TAGS,AUTO_REMOVE, and Docker socket approach no longer exists.Test plan
🤖 Generated with Claude Code