Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Commit 608c127

Browse files
committed
Remove lingering processes logic
1 parent 1e85409 commit 608c127

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

run-build-functions.sh

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -905,24 +905,3 @@ set_go_import_path() {
905905
cd $importPath
906906
fi
907907
}
908-
909-
find_running_procs() {
910-
ps aux | grep -v [p]s | grep -v [g]rep | grep -v [b]ash | grep -v "/opt/build-bin/buildbot" | grep -v [d]efunct | grep -vw '\[build\]'
911-
}
912-
913-
report_lingering_procs() {
914-
procs=$(find_running_procs)
915-
nprocs=$(expr $(echo "$procs" | wc -l) - 1)
916-
if [[ $nprocs > 0 ]]; then
917-
echo -e "${YELLOW}"
918-
echo "** WARNING **"
919-
echo "There are some lingering processes even after the build process finished: "
920-
echo
921-
echo "$procs"
922-
echo
923-
echo "Our builds do not kill your processes automatically, so please make sure"
924-
echo "that nothing is running after your build finishes, or it will be marked as"
925-
echo "failed since something is still running."
926-
echo -e "${NC}"
927-
fi
928-
}

0 commit comments

Comments
 (0)