Repository navigation
Migrate OpenShift Cleanup Functions From util.sh - #11838
stevekuznetsov wants to merge 3 commits into
Conversation
| return | ||
| fi | ||
|
|
||
| mkdir -p ${LOG_DIR} |
There was a problem hiding this comment.
We can assume it exists, we do everywhere else and this isn't special.
|
|
||
| pids=($(jobs -pr)) | ||
| for i in "${pids[@]-}"; do | ||
| pgrep -P "${i}" | xargs ${sudo} kill &> /dev/null |
There was a problem hiding this comment.
We should just assume a process kills it's children, or go down the whole tree recursively
|
Larger functional changes to come later when I integrate these methods into the EXIT trap. |
9279517 to
e821671
Compare
Signed-off-by: Steve Kuznetsov <[email protected]>
e821671 to
64bb815
Compare
|
@Miciah this is ready for review, second commit is simple Bash improvements, third commit is some functional refactors @openshift-bot [test] this please |
|
@openshift-bot, the last build failed from the following flakes:
re[test] |
|
@openshift-bot, the last build failed from the following flakes:
re[test] |
|
@Miciah ping |
|
Evaluated for origin test up to 64bb815 |
|
continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/12037/) (Base Commit: 6eefa2a) |
|
Origin Action Required: Pull request cannot be automatically merged, please rebase your branch from latest HEAD and push again |
@Miciah PTAL the last two commits