Skip to content
Snippets Groups Projects
Commit 10e82f52 authored by Robert Schmidt's avatar Robert Schmidt
Browse files

fix

parent 1f9baa48
No related branches found
No related tags found
No related merge requests found
...@@ -348,7 +348,8 @@ class Cluster: ...@@ -348,7 +348,8 @@ class Cluster:
build_log_name = f'build_log_{self.testCase_id}' build_log_name = f'build_log_{self.testCase_id}'
cls_containerize.CopyLogsToExecutor(mySSH, lSourcePath, build_log_name, lIpAddr, 'oaicicd', CONST.CI_NO_PASSWORD) cls_containerize.CopyLogsToExecutor(mySSH, lSourcePath, build_log_name, lIpAddr, 'oaicicd', CONST.CI_NO_PASSWORD)
mySSH.command(f'oc get images | grep -e \'{"\|".join(attemptedImages)}\' > {build_log_name}/image_registry.log', '\$', 10); grep_exp = "\|".join(attemptedImages)
mySSH.command(f'oc get images | grep -e \'{grep_exp}\' > {build_log_name}/image_registry.log', '\$', 10);
mySSH.command('for pod in $(oc get pods | tail -n +2 | awk \'{print $1}\'); do oc delete pod ${pod}; done', '\$', 60) mySSH.command('for pod in $(oc get pods | tail -n +2 | awk \'{print $1}\'); do oc delete pod ${pod}; done', '\$', 60)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment