-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
PODAUTO-21: Add keda e2e tests #43390
PODAUTO-21: Add keda e2e tests #43390
Conversation
92e332e
to
e750e0c
Compare
/pj-rehearse pull-ci-openshift-kedacore-keda-main-keda-e2e-aws-ovn |
@jkyros: This pull request references PODAUTO-21 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/pj-rehearse pull-ci-openshift-kedacore-keda-main-keda-e2e-aws-ovn |
e2634fa
to
f0534ba
Compare
/pj-rehearse pull-ci-openshift-kedacore-keda-main-keda-e2e-aws-ovn |
1 similar comment
/pj-rehearse pull-ci-openshift-kedacore-keda-main-keda-e2e-aws-ovn |
3668c7e
to
09ef0a0
Compare
/pj-rehearse pull-ci-openshift-kedacore-keda-main-keda-e2e-aws-ovn |
09ef0a0
to
743f3a3
Compare
/pj-rehearse pull-ci-openshift-kedacore-keda-main-keda-e2e-aws-ovn |
743f3a3
to
26d99d1
Compare
/pj-rehearse pull-ci-openshift-kedacore-keda-main-keda-e2e-aws-ovn |
26d99d1
to
586eaec
Compare
/pj-rehearse pull-ci-openshift-kedacore-keda-main-keda-e2e-aws-ovn |
586eaec
to
0bf13de
Compare
/pj-rehearse pull-ci-openshift-kedacore-keda-main-keda-e2e-aws-ovn |
0bf13de
to
729d850
Compare
/pj-rehearse pull-ci-openshift-kedacore-keda-main-keda-e2e-aws-ovn |
729d850
to
542ff95
Compare
/pj-rehearse pull-ci-openshift-kedacore-keda-main-keda-e2e-aws-ovn |
3e77101
to
16a638b
Compare
/pj-rehearse pull-ci-openshift-custom-metrics-autoscaler-operator-main-cma-e2e-aws-ovn |
99f2daf
to
c108911
Compare
|
/pj-rehearse pull-ci-openshift-kedacore-keda-main-keda-e2e-aws-ovn |
ENV USE_SUDO=false | ||
ENV PATH=/src/helm:/src/:$PATH | ||
ENV HELM_INSTALL_DIR=/src | ||
RUN curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 && chmod 700 get_helm.sh && ./get_helm.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think it would be better if this dockerfile lived in the repo instead of inlined here. but you can fix that as a followup.
@@ -44,6 +70,58 @@ tests: | |||
clientset-generate | |||
container: | |||
from: src | |||
- always_run: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why false? should this be paired with a run_if_changed spec?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh hey, good catch. That was me originally being paranoid because I wasn't sure how stable this was going to be, but this seems decently stable.
I've removed that and added a skip_if_only_changed
to exclude some of our doc (it was easier to exclude than include since so little was excluded).
/approve name is approved and my other comments can be addressed as followups if any action is needed. |
This adds: - image builds for the keda components (controller, metrics adapter, webhooks) - an image build deriving from the upstream keda-tools image that the test suite expects to run in - a test that runs the keda e2e suite against an aws cluster The keda test suite was not designed to run in OpenShift CI. It mostly expects to be run on a "vanilla kube" cluster, so there are some quirks, mostly around privilege/permissions, the helm charts that it tries to install, and the myriad public images it tries to pull. The goal here is just to get some e2e tests running so we have some signal and then clean this up over time, potentially with some upstream test refactoring. The scalers/cpu and internal/nternals/global_custom_ca_test are currently not working and have been intentionally omitted, but they will be re-added later once we figure out why.
c108911
to
9797d73
Compare
[REHEARSALNOTIFIER]
Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
uh...so I guess build09 had an accident and barfed all over? Anyway, let's try this again: /pj-rehearse pull-ci-openshift-kedacore-keda-main-keda-e2e-aws-ovn |
hmm, no. Maybe: |
I figured that would work (once build09 was done doing...whatever it was doing) |
@jkyros: This pull request references PODAUTO-21 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/lgtm |
@jkyros: This pull request references PODAUTO-21 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bparees, jkyros, joelsmith The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Will we need to override this last test? /test build09-dry |
@jkyros: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
lets see if it rereads the config now that it's optional: |
/override ci/build-farm/build09-dry |
@smg247: Overrode contexts on behalf of smg247: ci/build-farm/build09-dry In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
4d1430c
into
openshift:master
@jkyros: Updated the
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Neither
keda
nor thecustom-metrics-autoscaler-operator
had e2e tests, so we need to add some, but we need to do keda first -- I can't rehearse them both together.This:
adds image builds for the keda components (the controller, the metrics adapter, and the webhook) that we can use both in the keda and in the CMA tests
coupled with the hacks in PODAUTO-21: Adjust e2e tests so they can run in OpenShift / OpenShif tCI kedacore-keda#15, will let us run the keda e2e suite here in openshift CI.
currently uses the upstream tools container in a Dockerfile literal to run the tests, but we hope to either get rid of that or mirror it/build it in CI eventually
currently skips the
scalers/cpu
andinternals/global_custom_ca_test
because they do not work in OpenShift for some reason, but we will figure that out and re-add them