-
Notifications
You must be signed in to change notification settings - Fork 122
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
Add collectors to Scheduling Gate Integration Tests #2700
Comments
interested |
Hi @RealAnna
|
Hi @sudiptob2 scheduling gates are disabled by default. To test it you need to use kind with k8s image 1.27 and you can install the latest keptn using helm https://lifecycle.keptn.sh/docs/install/install/#basic-installation setting the helm value of scheduling gate to true |
I tried the scheduling gate as per your suggestion but unfortunately, I'm still hitting the same error when running As I investigated further, the following portion of the test is causing failure. Ref here. I tried removing this assert and the test works fine. Any thoughts on what might be causing this?
Mentioning @odubajDT as well, I was wondering if you could also offer some guidance since you added this test. |
Hi @sudiptob2 as I see you installed only the scheduler, however the scheduling gate tests lifecycle controller. Please install the entire keptn using the installation instructions and then run the test again. |
Hi @RealAnna |
I am not sure what you mean by scheduling gates installatiion, however in general all keptn component need to be installed in the same namespace. I would suggest to delete the kind cluster and start from scratch. |
Hi @RealAnna, Basically
However for I tried in a fresh kind cluster and got the above result. Could you please see if I missing any steps here? Here is a screenshot of the output. |
@sudiptob2 this test will not work by installing keptn using the make file since by default the scheduling gates are disabled. You need to use an official helm chart and to pass it a value such as:
something like |
Given this generic example on how to add a collector to kuttl tests #1834, we should add collectors in the scheduling gate integration test that:
DoD
The text was updated successfully, but these errors were encountered: