feat(tests): add cleanup target for e2e.ocp test artifacts closes #1164#1203
feat(tests): add cleanup target for e2e.ocp test artifacts closes #1164#1203istio-testing merged 4 commits intoistio-ecosystem:mainfrom
Conversation
|
Hi @rafaelvzago. 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. |
|
/ok-to-test |
9c65870 to
2a5804e
Compare
…io-ecosystem#1164 Signed-off-by: Rafael Zago <rafaelvzago@gmail.com>
closes istio-ecosystem#1164 Signed-off-by: Rafael Zago <rafaelvzago@gmail.com>
8880abb to
1429ea4
Compare
sridhargaddam
left a comment
There was a problem hiding this comment.
Thanks @rafaelvzago, some minor comments.
closes istio-ecosystem#1164 Signed-off-by: Rafael Zago <rafaelvzago@gmail.com>
711e0c2 to
008ec82
Compare
Closes istio-ecosystem#1164 Signed-off-by: Rafael Zago <rafaelvzago@gmail.com>
sridhargaddam
left a comment
There was a problem hiding this comment.
Thank you @rafaelvzago
* upstream/main: feat(tests): add cleanup target for e2e.ocp test artifacts closes istio-ecosystem#1164 (istio-ecosystem#1203) Add OCP-specific flag to CreateRemoteSecret (istio-ecosystem#1213) Allow set multicluster flag with env (istio-ecosystem#1212) Fix macOS compatibility for update_deps.sh and update macOS specific dev docs (istio-ecosystem#1137) Add commit validation GH action (istio-ecosystem#1188) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1208)
* upstream/main: feat(tests): add cleanup target for e2e.ocp test artifacts closes istio-ecosystem#1164 (istio-ecosystem#1203) Add OCP-specific flag to CreateRemoteSecret (istio-ecosystem#1213) Allow set multicluster flag with env (istio-ecosystem#1212) Fix macOS compatibility for update_deps.sh and update macOS specific dev docs (istio-ecosystem#1137) Add commit validation GH action (istio-ecosystem#1188) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1208)
* upstream/main: feat(tests): add cleanup target for e2e.ocp test artifacts closes istio-ecosystem#1164 (istio-ecosystem#1203) Add OCP-specific flag to CreateRemoteSecret (istio-ecosystem#1213) Allow set multicluster flag with env (istio-ecosystem#1212) Fix macOS compatibility for update_deps.sh and update macOS specific dev docs (istio-ecosystem#1137) Add commit validation GH action (istio-ecosystem#1188) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1208)
* upstream/main: feat(tests): add cleanup target for e2e.ocp test artifacts closes istio-ecosystem#1164 (istio-ecosystem#1203) Add OCP-specific flag to CreateRemoteSecret (istio-ecosystem#1213) Allow set multicluster flag with env (istio-ecosystem#1212) Fix macOS compatibility for update_deps.sh and update macOS specific dev docs (istio-ecosystem#1137) Add commit validation GH action (istio-ecosystem#1188) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1208)
* upstream/main: feat(tests): add cleanup target for e2e.ocp test artifacts closes istio-ecosystem#1164 (istio-ecosystem#1203) Add OCP-specific flag to CreateRemoteSecret (istio-ecosystem#1213) Allow set multicluster flag with env (istio-ecosystem#1212) Fix macOS compatibility for update_deps.sh and update macOS specific dev docs (istio-ecosystem#1137) Add commit validation GH action (istio-ecosystem#1188) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1208)
* upstream/main: feat(tests): add cleanup target for e2e.ocp test artifacts closes istio-ecosystem#1164 (istio-ecosystem#1203) Add OCP-specific flag to CreateRemoteSecret (istio-ecosystem#1213) Allow set multicluster flag with env (istio-ecosystem#1212) Fix macOS compatibility for update_deps.sh and update macOS specific dev docs (istio-ecosystem#1137) Add commit validation GH action (istio-ecosystem#1188) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1208)
* upstream/main: feat(tests): add cleanup target for e2e.ocp test artifacts closes istio-ecosystem#1164 (istio-ecosystem#1203) Add OCP-specific flag to CreateRemoteSecret (istio-ecosystem#1213) Allow set multicluster flag with env (istio-ecosystem#1212) Fix macOS compatibility for update_deps.sh and update macOS specific dev docs (istio-ecosystem#1137) Add commit validation GH action (istio-ecosystem#1188) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1208)
* upstream/main: feat(tests): add cleanup target for e2e.ocp test artifacts closes istio-ecosystem#1164 (istio-ecosystem#1203) Add OCP-specific flag to CreateRemoteSecret (istio-ecosystem#1213) Allow set multicluster flag with env (istio-ecosystem#1212) Fix macOS compatibility for update_deps.sh and update macOS specific dev docs (istio-ecosystem#1137) Add commit validation GH action (istio-ecosystem#1188) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1208)
* upstream/main: Remove explicit labelling for multicluster network (istio-ecosystem#1216) feat(tests): add cleanup target for e2e.ocp test artifacts closes istio-ecosystem#1164 (istio-ecosystem#1203) Add OCP-specific flag to CreateRemoteSecret (istio-ecosystem#1213) Allow set multicluster flag with env (istio-ecosystem#1212) Fix macOS compatibility for update_deps.sh and update macOS specific dev docs (istio-ecosystem#1137) Add commit validation GH action (istio-ecosystem#1188) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1208)
* upstream/main: Remove explicit labelling for multicluster network (istio-ecosystem#1216) feat(tests): add cleanup target for e2e.ocp test artifacts closes istio-ecosystem#1164 (istio-ecosystem#1203) Add OCP-specific flag to CreateRemoteSecret (istio-ecosystem#1213) Allow set multicluster flag with env (istio-ecosystem#1212) Fix macOS compatibility for update_deps.sh and update macOS specific dev docs (istio-ecosystem#1137) Add commit validation GH action (istio-ecosystem#1188) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1208)
* upstream/main: Fix junit report generation (istio-ecosystem#1218) Remove explicit labelling for multicluster network (istio-ecosystem#1216) feat(tests): add cleanup target for e2e.ocp test artifacts closes istio-ecosystem#1164 (istio-ecosystem#1203) Add OCP-specific flag to CreateRemoteSecret (istio-ecosystem#1213) Allow set multicluster flag with env (istio-ecosystem#1212) Fix macOS compatibility for update_deps.sh and update macOS specific dev docs (istio-ecosystem#1137) Add commit validation GH action (istio-ecosystem#1188) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1208)
* upstream/main: Fix junit report generation (istio-ecosystem#1218) Remove explicit labelling for multicluster network (istio-ecosystem#1216) feat(tests): add cleanup target for e2e.ocp test artifacts closes istio-ecosystem#1164 (istio-ecosystem#1203) Add OCP-specific flag to CreateRemoteSecret (istio-ecosystem#1213) Allow set multicluster flag with env (istio-ecosystem#1212) Fix macOS compatibility for update_deps.sh and update macOS specific dev docs (istio-ecosystem#1137) Add commit validation GH action (istio-ecosystem#1188) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1208)
|
/cherrypick release-1.27 |
|
@FilipB: new pull request created: #1398 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. |
|
/cherrypick release-1.26 |
|
@FilipB: new pull request created: #1399 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. |
|
/cherrypick release-1.28 |
|
@FilipB: #1203 failed to apply on top of branch "release-1.28": 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. |
|
@FilipB: new issue created for failed cherrypick: #1400 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. |
|
/cherrypick release-1.0 |
|
@FilipB: new pull request created: #1401 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. |
…io-ecosystem#1164 (istio-ecosystem#1203) * feat(tests): add cleanup target for e2e.ocp test artifacts closes istio-ecosystem#1164 Signed-off-by: Rafael Zago <rafaelvzago@gmail.com> * feat(tests): enhance cleanup script to follow official undeploy process closes istio-ecosystem#1164 Signed-off-by: Rafael Zago <rafaelvzago@gmail.com> * feat(tests): enhance cleanup script to follow official undeploy process closes istio-ecosystem#1164 Signed-off-by: Rafael Zago <rafaelvzago@gmail.com> * feat(e2e): add OLM uninstallation support to cleanup script Closes istio-ecosystem#1164 Signed-off-by: Rafael Zago <rafaelvzago@gmail.com> --------- Signed-off-by: Rafael Zago <rafaelvzago@gmail.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com>
What type of PR is this?
What this PR does / why we need it:
This PR adds a new Makefile target
test.e2e.ocp.cleanupto clean up leftover artifacts from e2e.ocp tests. The cleanup script removes cluster-level resources that may remain after running e2e tests against an OpenShift cluster, including:metrics-reader-rolebindingClusterRoleBindingmetrics-readerClusterRoleThe cleanup script handles missing resources gracefully and follows the same patterns used by other cleanup operations in the project. This addresses the need for a systematic way to clean up test artifacts that could interfere with subsequent test runs or cluster operations.
Which issue(s) this PR fixes:
Fixes #1164
Additional information:
tests/e2e/following the established folder structurekubectlcommands with--ignore-not-foundand|| trueflags for safe cleanup operationsverify-kubeconfigto ensure cluster connectivityThis template accurately reflects the testing infrastructure enhancement that was implemented.