V8.13.384.2025.11.06
Some checks failed
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m37s
🛡️ Retrieve DNSSEC status of coresecret.dev. / 🛡️ Retrieve DNSSEC status of coresecret.dev. (push) Successful in 1m9s
🔐 Generating a Private Live ISO TRIXIE. / 🔐 Generating a Private Live ISO TRIXIE. (push) Failing after 1m0s
Some checks failed
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m37s
🛡️ Retrieve DNSSEC status of coresecret.dev. / 🛡️ Retrieve DNSSEC status of coresecret.dev. (push) Successful in 1m9s
🔐 Generating a Private Live ISO TRIXIE. / 🔐 Generating a Private Live ISO TRIXIE. (push) Failing after 1m0s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -15,7 +15,7 @@ guard_sourcing
|
||||
#######################################
|
||||
# Wrapper to write a new 'lb config' environment.
|
||||
# Globals:
|
||||
# SCRIPT_BASEPATH
|
||||
# VAR_WORKDIR
|
||||
# VAR_BUILD_LOG
|
||||
# VAR_HANDLER_BUILD_DIR
|
||||
# Arguments:
|
||||
@@ -25,23 +25,29 @@ guard_sourcing
|
||||
# ERR_UNCRITICAL: on failure
|
||||
#######################################
|
||||
lb_build_start() {
|
||||
declare -i var_build_rc=""
|
||||
|
||||
printf "\e[95m++++ ++++ ++++ ++++ ++++ ++++ ++ 🔨 Start Build... Log file: %s \e[0m\n" "${VAR_BUILD_LOG}"
|
||||
|
||||
# shellcheck disable=SC2164
|
||||
cd "${SCRIPT_BASEPATH}"
|
||||
cd "${VAR_WORKDIR}"
|
||||
|
||||
# shellcheck disable=SC2164
|
||||
cd "${VAR_HANDLER_BUILD_DIR}"
|
||||
|
||||
# shellcheck disable=SC2312
|
||||
if lb build --color 2>&1 | tee "${VAR_BUILD_LOG}"; then
|
||||
lb build --color 2>&1 | tee "${VAR_BUILD_LOG}"
|
||||
var_build_rc=${PIPESTATUS[0]}
|
||||
|
||||
|
||||
if [[ "${var_build_rc}" -eq 0 ]]; then
|
||||
|
||||
printf "\e[92m✅ Build successfully completed.\e[0m\n"
|
||||
|
||||
else
|
||||
|
||||
printf "\e[91m❌ Build failed!\e[0m\n" >&2
|
||||
exit "${ERR_UNCRITICAL}"
|
||||
exit "${var_build_rc}"
|
||||
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user