Conversation
|
Hi @libesz. Thanks for your PR. I'm waiting for a istio-ecosystem or istio member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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-sigs/prow repository. |
Signed-off-by: Gergo Huszty <gergo.huszty@ibm.com>
Signed-off-by: Gergo Huszty <gergo.huszty@ibm.com>
|
/ok-to-test |
|
@libesz: The following test failed, say
DetailsInstructions 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-sigs/prow repository. I understand the commands that are listed here. |
dgn
left a comment
There was a problem hiding this comment.
sorry, too quick to approve. This will also need to be patched in the IstioRevisionTag controller code. Sadly, we're still duplicating much of the logic there :/
Didn't I add the same condition properly to the tag controller? https://github.com/istio-ecosystem/sail-operator/pull/842/files#diff-1815355208fa74b842698b65259042e322752e47f5dd6bea9cbb4f2256781403R371 |
ah- I saw only one test added, didn't look right. This works 🙂 |
* upstream/main: Skip succeeded (istio-ecosystem#842)
* upstream/main: Skip succeeded (istio-ecosystem#842)
* skip succeeded pods Signed-off-by: Gergo Huszty <gergo.huszty@ibm.com> * ut added to verify succeeded pods are skipped Signed-off-by: Gergo Huszty <gergo.huszty@ibm.com> --------- Signed-off-by: Gergo Huszty <gergo.huszty@ibm.com> Signed-off-by: Francisco H <frherrer@redhat.com>
* Add to vendors_default the possibility to add values for istiocni Signed-off-by: Francisco H <frherrer@redhat.com> * Fix lint Signed-off-by: Francisco H <frherrer@redhat.com> * Update test for vendors default Signed-off-by: Francisco H <frherrer@redhat.com> * Adding code coverage: new unit test over istiocni controller Signed-off-by: Francisco H <frherrer@redhat.com> * Update read me Signed-off-by: Francisco H <frherrer@redhat.com> * Skip succeeded (#842) * skip succeeded pods Signed-off-by: Gergo Huszty <gergo.huszty@ibm.com> * ut added to verify succeeded pods are skipped Signed-off-by: Gergo Huszty <gergo.huszty@ibm.com> --------- Signed-off-by: Gergo Huszty <gergo.huszty@ibm.com> Signed-off-by: Francisco H <frherrer@redhat.com> * enhancements: use issue ID's as SEP numbers (#849) Signed-off-by: Daniel Grimm <dgrimm@redhat.com> Signed-off-by: Francisco H <frherrer@redhat.com> * Add unit test Signed-off-by: Francisco H <frherrer@redhat.com> * Update tests/e2e/README.md Co-authored-by: Daniel Grimm <dgrimm@redhat.com> Signed-off-by: Francisco H <frherrer@redhat.com> * Update read me from review Signed-off-by: Francisco H <frherrer@redhat.com> --------- Signed-off-by: Francisco H <frherrer@redhat.com> Signed-off-by: Gergo Huszty <gergo.huszty@ibm.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> Co-authored-by: Gergo Huszty <gergo.huszty@digitaltrip.hu> Co-authored-by: Daniel Grimm <dgrimm@redhat.com>
* skip succeeded pods Signed-off-by: Gergo Huszty <gergo.huszty@ibm.com> * ut added to verify succeeded pods are skipped Signed-off-by: Gergo Huszty <gergo.huszty@ibm.com> --------- Signed-off-by: Gergo Huszty <gergo.huszty@ibm.com> Signed-off-by: Francisco H <frherrer@redhat.com>
…tio-ecosystem#845) * Add to vendors_default the possibility to add values for istiocni Signed-off-by: Francisco H <frherrer@redhat.com> * Fix lint Signed-off-by: Francisco H <frherrer@redhat.com> * Update test for vendors default Signed-off-by: Francisco H <frherrer@redhat.com> * Adding code coverage: new unit test over istiocni controller Signed-off-by: Francisco H <frherrer@redhat.com> * Update read me Signed-off-by: Francisco H <frherrer@redhat.com> * Skip succeeded (istio-ecosystem#842) * skip succeeded pods Signed-off-by: Gergo Huszty <gergo.huszty@ibm.com> * ut added to verify succeeded pods are skipped Signed-off-by: Gergo Huszty <gergo.huszty@ibm.com> --------- Signed-off-by: Gergo Huszty <gergo.huszty@ibm.com> Signed-off-by: Francisco H <frherrer@redhat.com> * enhancements: use issue ID's as SEP numbers (istio-ecosystem#849) Signed-off-by: Daniel Grimm <dgrimm@redhat.com> Signed-off-by: Francisco H <frherrer@redhat.com> * Add unit test Signed-off-by: Francisco H <frherrer@redhat.com> * Update tests/e2e/README.md Co-authored-by: Daniel Grimm <dgrimm@redhat.com> Signed-off-by: Francisco H <frherrer@redhat.com> * Update read me from review Signed-off-by: Francisco H <frherrer@redhat.com> --------- Signed-off-by: Francisco H <frherrer@redhat.com> Signed-off-by: Gergo Huszty <gergo.huszty@ibm.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> Co-authored-by: Gergo Huszty <gergo.huszty@digitaltrip.hu> Co-authored-by: Daniel Grimm <dgrimm@redhat.com>
…tio-ecosystem#845) * Add to vendors_default the possibility to add values for istiocni Signed-off-by: Francisco H <frherrer@redhat.com> * Fix lint Signed-off-by: Francisco H <frherrer@redhat.com> * Update test for vendors default Signed-off-by: Francisco H <frherrer@redhat.com> * Adding code coverage: new unit test over istiocni controller Signed-off-by: Francisco H <frherrer@redhat.com> * Update read me Signed-off-by: Francisco H <frherrer@redhat.com> * Skip succeeded (istio-ecosystem#842) * skip succeeded pods Signed-off-by: Gergo Huszty <gergo.huszty@ibm.com> * ut added to verify succeeded pods are skipped Signed-off-by: Gergo Huszty <gergo.huszty@ibm.com> --------- Signed-off-by: Gergo Huszty <gergo.huszty@ibm.com> Signed-off-by: Francisco H <frherrer@redhat.com> * enhancements: use issue ID's as SEP numbers (istio-ecosystem#849) Signed-off-by: Daniel Grimm <dgrimm@redhat.com> Signed-off-by: Francisco H <frherrer@redhat.com> * Add unit test Signed-off-by: Francisco H <frherrer@redhat.com> * Update tests/e2e/README.md Co-authored-by: Daniel Grimm <dgrimm@redhat.com> Signed-off-by: Francisco H <frherrer@redhat.com> * Update read me from review Signed-off-by: Francisco H <frherrer@redhat.com> --------- Signed-off-by: Francisco H <frherrer@redhat.com> Signed-off-by: Gergo Huszty <gergo.huszty@ibm.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> Co-authored-by: Gergo Huszty <gergo.huszty@digitaltrip.hu> Co-authored-by: Daniel Grimm <dgrimm@redhat.com>
…) (#897) * Add to vendors_default the possibility to add values for istiocni * Fix lint * Update test for vendors default * Adding code coverage: new unit test over istiocni controller * Update read me * Skip succeeded (#842) * skip succeeded pods * ut added to verify succeeded pods are skipped --------- * enhancements: use issue ID's as SEP numbers (#849) * Add unit test * Update tests/e2e/README.md * Update read me from review --------- Signed-off-by: Francisco H <frherrer@redhat.com> Signed-off-by: Gergo Huszty <gergo.huszty@ibm.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> Co-authored-by: Gergo Huszty <gergo.huszty@digitaltrip.hu> Co-authored-by: Daniel Grimm <dgrimm@redhat.com>
|
/cherry-pick release-1.26 |
|
@dgn: new pull request created: #974 DetailsIn 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-sigs/prow repository. |
* skip succeeded pods Signed-off-by: Gergo Huszty <gergo.huszty@ibm.com> * ut added to verify succeeded pods are skipped Signed-off-by: Gergo Huszty <gergo.huszty@ibm.com> --------- Signed-off-by: Gergo Huszty <gergo.huszty@ibm.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com>
…tio-ecosystem#845) * Add to vendors_default the possibility to add values for istiocni Signed-off-by: Francisco H <frherrer@redhat.com> * Fix lint Signed-off-by: Francisco H <frherrer@redhat.com> * Update test for vendors default Signed-off-by: Francisco H <frherrer@redhat.com> * Adding code coverage: new unit test over istiocni controller Signed-off-by: Francisco H <frherrer@redhat.com> * Update read me Signed-off-by: Francisco H <frherrer@redhat.com> * Skip succeeded (istio-ecosystem#842) * skip succeeded pods Signed-off-by: Gergo Huszty <gergo.huszty@ibm.com> * ut added to verify succeeded pods are skipped Signed-off-by: Gergo Huszty <gergo.huszty@ibm.com> --------- Signed-off-by: Gergo Huszty <gergo.huszty@ibm.com> Signed-off-by: Francisco H <frherrer@redhat.com> * enhancements: use issue ID's as SEP numbers (istio-ecosystem#849) Signed-off-by: Daniel Grimm <dgrimm@redhat.com> Signed-off-by: Francisco H <frherrer@redhat.com> * Add unit test Signed-off-by: Francisco H <frherrer@redhat.com> * Update tests/e2e/README.md Co-authored-by: Daniel Grimm <dgrimm@redhat.com> Signed-off-by: Francisco H <frherrer@redhat.com> * Update read me from review Signed-off-by: Francisco H <frherrer@redhat.com> --------- Signed-off-by: Francisco H <frherrer@redhat.com> Signed-off-by: Gergo Huszty <gergo.huszty@ibm.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> Co-authored-by: Gergo Huszty <gergo.huszty@digitaltrip.hu> Co-authored-by: Daniel Grimm <dgrimm@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com>
What type of PR is this?
What this PR does / why we need it:
It skips Succeeded pods (e.g. from Completed Jobs) when determining if a particular revision is used. Current code does not respect the actual state of the pod. Succeeded pods seems can safely ignored.
Which issue(s) this PR fixes:
Fixes #839
Related Issue/PR #
Additional information: