test: Consume mirrored kalaksi:tinyproxy image#1593
Conversation
This works around rate limits from dockerhub or gitlab. Signed-off-by: Víctor Cuadrado Juan <vcuadradojuan@suse.de>
There was a problem hiding this comment.
Pull request overview
This PR updates Rust integration tests to use a mirrored tinyproxy container image hosted on GitHub Container Registry (GHCR), aiming to reduce CI flakiness caused by upstream registry rate limits.
Changes:
- Switch tinyproxy testcontainer image reference from
registry.gitlab.com/kalaksi-containers/tinyproxy:1.7toghcr.io/kubewarden/tests/kalaksi-tinyproxy:1.7in multiple test suites. - Keep existing container startup wait condition (
Starting main loop) and exposed port configuration unchanged.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| crates/policy-server/tests/integration_test.rs | Uses GHCR-hosted mirrored tinyproxy image for proxy-related integration tests. |
| crates/policy-evaluator/tests/proxy.rs | Uses GHCR-hosted mirrored tinyproxy image for proxy callback integration tests. |
| crates/kwctl/tests/proxy.rs | Uses GHCR-hosted mirrored tinyproxy image for kwctl proxy E2E tests. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
|
Will wait for the integration tests to run and be green, just in case.. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1593 +/- ##
==========================================
- Coverage 79.98% 79.94% -0.04%
==========================================
Files 127 127
Lines 16573 16573
==========================================
- Hits 13256 13250 -6
- Misses 3317 3323 +6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Description
test: Consume mirrored kalaksi:tinyproxy image
Fix errors on integration tests.
This works around rate limits from dockerhub or gitlab.
Test
To test this pull request, you can run the following commands:
Additional Information
Tradeoff
Potential improvement
Checklist