Compare commits

...

2 commits

Author SHA1 Message Date
8fdb29fae3
steps
Some checks failed
/ alpine (push) Successful in 1m43s
/ archlinux (push) Successful in 2m37s
/ opensuse (push) Successful in 4m24s
/ ubuntu (push) Successful in 7m27s
/ almalinux (push) Successful in 11m8s
/ fedora (push) Successful in 11m34s
/ rockylinux (push) Successful in 12m51s
/ debian (push) Failing after 3m23s
2024-08-28 21:08:06 +02:00
24e784437f
print/ 2024-08-28 21:02:39 +02:00

View file

@ -331,6 +331,7 @@ SPCD_PM_ZYPPER="zypper"
# ╰──────┴─────────────╯
spcd_step__environment_defaults_print() {
spcd_step "Print"
set -- \
\
"CMD_SUM" \
@ -353,7 +354,7 @@ spcd_step__environment_defaults_print() {
"URL_UBUNTU"
for spcd_step_edp__item in "${@}"; do
spcd_step_edp__name="SPCD_${spcd_step_edp__item}"
eval "spcd_step_edp__value=\${${spcd_step_edp__name}}"
eval "spcd_step_edp__value=\"\${${spcd_step_edp__name}}\""
if [ -n "${spcd_step_edp__value}" ]; then
spcd_os_printenv "${spcd_step_edp__name}"
fi
@ -361,6 +362,7 @@ spcd_step__environment_defaults_print() {
}
spcd_step__environment_defaults_set() {
spcd_step "Set"
[ -n "${SPCD_CMD_SUM}" ] || SPCD_CMD_SUM="sha512sum"
[ -n "${SPCD_DNS_1}" ] || SPCD_DNS_1="9.9.9.9"
@ -1294,9 +1296,11 @@ ${SPCD_PYTHON_ALIAS} / ${spcd_stp__name}"
spcd_main() {
# environment
spcd_step_in "Environment"
spcd_step_in "Defaults"
spcd_step__environment_defaults_print
spcd_step__environment_defaults_set
spcd_step__environment_defaults_print
spcd_step_out
spcd_step__environment_set_variables
spcd_step__environment_list_workspace
spcd_step_out