Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: testing: watsonx-serving: prepare_watsonx_serving: uninstall RHO…
Browse files Browse the repository at this point in the history
…DS on cleanup
kpouget committed Nov 8, 2023
1 parent 4527884 commit 3fe0692
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions testing/watsonx-serving/prepare_watsonx_serving.py
Original file line number Diff line number Diff line change
@@ -61,6 +61,14 @@ def prepare():
customize_watsonx_serving()


def cleanup():
rhods.uninstall()

#with run.Parallel("cleanup_watsonx_serving") as parallel:
#for operator in config.ci_artifacts.get_config("prepare.operators"):
# parallel.delayed(run.run, f"ARTIFACT_TOOLBOX_NAME_SUFFIX=_{operator['name']} ./run_toolbox.py cluster deploy_operator {operator['catalog']} {operator['name']} {operator['namespace']}")


def preload_image():
if config.ci_artifacts.get_config("clusters.sutest.is_metal"):
return

0 comments on commit 3fe0692

Please sign in to comment.