sum
Some checks failed
/ arch (push) Successful in 2m56s
/ alpine (push) Successful in 3m23s
/ fedora (push) Successful in 12m45s
/ opensuse (push) Successful in 3m35s
/ alma (push) Successful in 12m23s
/ rocky (push) Successful in 12m35s
/ ubuntu (push) Successful in 5m53s
/ debian (push) Failing after 3m32s

This commit is contained in:
Marc Beninca 2024-08-31 11:46:19 +02:00
parent ae26531916
commit a29e296c4e
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 5 additions and 6 deletions

View file

@ -125,7 +125,6 @@ Handle project workflows in a unified way:
| Variable | Description | Default | | Variable | Description | Default |
|:------------------|:-------------------------|:--------------------------------| |:------------------|:-------------------------|:--------------------------------|
| SPCD_CA_n | Numbered CA certificates | | | SPCD_CA_n | Numbered CA certificates | |
| SPCD_CMD_SUM | Command to check sums | sha512sum |
| SPCD_DNS_n | Numbered name servers | 9.9.9.9 | | SPCD_DNS_n | Numbered name servers | 9.9.9.9 |
| SPCD_GIT_RWX | RWX Git repository | rwx | | SPCD_GIT_RWX | RWX Git repository | rwx |
| SPCD_GIT_SHUNIT | ShUnit Git repository | shunit2 | | SPCD_GIT_SHUNIT | ShUnit Git repository | shunit2 |

View file

@ -4,6 +4,8 @@
# │ _ │ # │ _ │
# ╰───╯ # ╰───╯
_SPCD_CMD_SUM="sha512sum"
_spcd_fill() { _spcd_fill() {
local index="${1}" local index="${1}"
while [ "${index}" -gt 0 ]; do while [ "${index}" -gt 0 ]; do
@ -392,7 +394,6 @@ SPCD_PM_ZYPPER="zypper"
spcd_step__environment_defaults_print() { spcd_step__environment_defaults_print() {
set -- \ set -- \
\ \
"CMD_SUM" \
\ \
"GIT_RWX" \ "GIT_RWX" \
"GIT_SPCD" \ "GIT_SPCD" \
@ -425,7 +426,6 @@ spcd_step__environment_defaults_print() {
spcd_step__environment_defaults_set() { spcd_step__environment_defaults_set() {
spcd_step "$(spcd_txt_get "set")" spcd_step "$(spcd_txt_get "set")"
[ -n "${SPCD_CMD_SUM}" ] || SPCD_CMD_SUM="sha512sum"
[ -n "${SPCD_DNS_1}" ] || SPCD_DNS_1="9.9.9.9" [ -n "${SPCD_DNS_1}" ] || SPCD_DNS_1="9.9.9.9"
@ -1268,13 +1268,13 @@ spcd_step__python_modules() {
spcd_step "Check" spcd_step "Check"
script="${path}/bootstrap.sh" script="${path}/bootstrap.sh"
ls -l "${script}" ls -l "${script}"
check="${script}.${SPCD_CMD_SUM}" check="${script}.${_SPCD_CMD_SUM}"
"${SPCD_CMD_SUM}" "${script}" >"${check}" "${_SPCD_CMD_SUM}" "${script}" >"${check}"
printf "%s" "${SPCD}" >"${script}" printf "%s" "${SPCD}" >"${script}"
ls -l "${script}" ls -l "${script}"
dos2unix "${script}" dos2unix "${script}"
ls -l "${script}" ls -l "${script}"
"${SPCD_CMD_SUM}" -c "${check}" || spcd_error_ci "SPCD" "${_SPCD_CMD_SUM}" -c "${check}" || spcd_error_ci "SPCD"
spcd_step "Root" spcd_step "Root"
spcd_python_pip "${SPCD_GIT_RWX}" spcd_python_pip "${SPCD_GIT_RWX}"
spcd_step "List" spcd_step "List"