Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBryan Drewery <bryan@shatow.net>2021-11-18 16:48:58 +0300
committerBryan Drewery <bryan@shatow.net>2021-11-18 16:48:58 +0300
commit1e6ad2b54aeb411e7836569aa24adb398e4de1a2 (patch)
tree11a00303ecfef81a00318c9d7e23fb1be037004a /src
parentcaa29e22ad67a3516532ed51b3717582bed4e4a8 (diff)
bulk: Be verbose about builders starting
Fixes: 80ec59d8e523fc116f80a8555a5d38bb60f09510
Diffstat (limited to 'src')
-rwxr-xr-xsrc/share/poudriere/common.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/share/poudriere/common.sh b/src/share/poudriere/common.sh
index f9fdd1f3..100f08b8 100755
--- a/src/share/poudriere/common.sh
+++ b/src/share/poudriere/common.sh
@@ -4528,11 +4528,16 @@ start_builder() {
local jname="$2"
local ptname="$3"
local setname="$4"
- local mnt MY_JOBID
+ local mnt MY_JOBID NO_ELAPSED_IN_MSG TIME_START_JOB COLOR_JOBID
MY_JOBID=${id}
_my_path mnt
+ NO_ELAPSED_IN_MSG=1
+ TIME_START_JOB=$(clock -monotonic)
+ colorize_job_id COLOR_JOBID "${MY_JOBID}"
+ job_msg "Builder starting"
+
# Jail might be lingering from previous build. Already recursively
# destroyed all the builder datasets, so just try stopping the jail
# and ignore any errors
@@ -4546,6 +4551,8 @@ start_builder() {
bset ${id} status "idle:"
shash_set builder_active "${id}" 1
run_hook builder start "${id}" "${mnt}"
+
+ job_msg "Builder started"
}
maybe_start_builder() {