-
Notifications
You must be signed in to change notification settings - Fork 601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Actually run E2E tests when we should #2751
Comments
|
You could make the nightly image build and nightly E2E test two jobs in the same workflow. AFAIK the only reason they're not is that they were just originally created at different times (we started making nightly images before we had the ability to override images in E2E tests). There's no reason to run integration tests with the nightly image (in KIND, anyway, see the next bit). Effectively you're already getting the same info from whichever merge to main happens to run before that day's nightly test. Yeah, I missed that, we would indeed need to add GKE support (loading the correct addon set similar to how integration does it). I also forgot that image loading doesn't work on GKE either (and unlike metallb, we actually need it); we would need to add new KTF plugin code to support that via uploading images to GCR and deleting them after. With that additional work in mind, we probably want to keep and rename the existing |
Definitely! We should be more explicit in such cases so that the future reader knows which tests are run where. |
Given relative overlap between #1605 and this issue, I've taken a stab at rewriting these two into 3 smaller issues with (hopefully) clearer scope boundaries: |
We apparently wrote a fake E2E test way back when that just ran integration tests and then never fixed that TODO when we actually made a separate E2E suite. This is still used in the release clearance and nightly image tests, but shouldn't be, as those are intended to test images, not just code:
kubernetes-ingress-controller/.github/workflows/nightly.yaml
Line 158 in 8f9980b
(inexplicably just explicitly calls integration tests)
kubernetes-ingress-controller/.github/workflows/nightly.yaml
Line 126 in 8f9980b
kubernetes-ingress-controller/.github/workflows/release.yaml
Line 215 in a26c2b3
The integration tests already run elsewhere, when code is pushed to main. We need to:
TEST_KONG_CONTROLLER_IMAGE_OVERRIDE="kong/nightly-ingress-controller:nightly-redhat"
The text was updated successfully, but these errors were encountered: