This commit is contained in:
Marc Beninca 2024-08-28 08:48:24 +02:00
parent 2f832f7d56
commit 876b8f569f
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 4 additions and 4 deletions

View file

@ -127,9 +127,9 @@ Handle project workflows in a unified way:
| 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_GIT_MAIN | Main Git repository | spcd |
| SPCD_GIT_ROOT | Root Git repository | rwx |
| SPCD_GIT_SHUNIT | ShUnit Git repository | shunit2 |
| SPCD_GIT_SPCD | SPCD Git repository | spcd |
| SPCD_REF_FEATURE | Feature deployment ref | f |
| SPCD_REF_RELEASE | Release deployment ref | main |
| SPCD_REF_STAGING | Staging deployment ref | dev |

View file

@ -610,7 +610,7 @@ spcd_step__environment_defaults() {
[ -n "${SPCD_DNS_1}" ] || SPCD_DNS_1="9.9.9.9"
[ -n "${SPCD_GIT_MAIN}" ] || SPCD_GIT_MAIN="spcd"
[ -n "${SPCD_GIT_SPCD}" ] || SPCD_GIT_SPCD="spcd"
[ -n "${SPCD_GIT_ROOT}" ] || SPCD_GIT_ROOT="rwx"
[ -n "${SPCD_GIT_SHUNIT}" ] || SPCD_GIT_SHUNIT="shunit2"
@ -1127,7 +1127,7 @@ spcd_step__python_modules() {
spcd_step "List"
spcd_os_ls "${spcd_ipm__target}"
spcd_step "Main"
spcd_ipm__path="$(spcd_python_pip "${SPCD_GIT_MAIN}")"
spcd_ipm__path="$(spcd_python_pip "${SPCD_GIT_SPCD}")"
# check matching of file and variable
spcd_step "Check"
spcd_ipm__script="${spcd_ipm__path}/bootstrap.sh"
@ -1248,7 +1248,7 @@ SPCD_STEP = ${spcd_wpm__index}
spcd_step__python_switch() {
spcd_step "Switch"
spcd_stp__name="$(basename "${SPCD_GIT_MAIN}")"
spcd_stp__name="$(basename "${SPCD_GIT_SPCD}")"
spcd_stp__path="$(realpath "${0}")"
echo "\
${spcd_stp__path}