env
Some checks failed
/ job (push) Failing after 4s

This commit is contained in:
Marc Beninca 2024-04-28 12:44:28 +02:00
parent d19a657dac
commit e13563622f
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

17
cd.sh
View file

@ -29,6 +29,7 @@ cd_main () {
cd_set_environment () { cd_set_environment () {
cd_step "Set environment" cd_step "Set environment"
CD_DNS_FILE="/etc/resolv.conf" CD_DNS_FILE="/etc/resolv.conf"
#
case "${CD_OS_NAME}" in case "${CD_OS_NAME}" in
"debian") "debian")
CD_PYTHON_COMMAND="python3" CD_PYTHON_COMMAND="python3"
@ -84,6 +85,22 @@ cd_set_environment () {
fi fi
# project / url # project / url
CD_PROJECT_URL="${CD_PROJECTS_URL}/${CD_PROJECT_NAME}" CD_PROJECT_URL="${CD_PROJECTS_URL}/${CD_PROJECT_NAME}"
#
echo -n "\
CD_OS_NAME=${CD_OS_NAME}
CD_OS_VERSION=${CD_OS_VERSION}
#
CD_DNS_FILE=${CD_DNS_FILE}
#
CD_PYTHON_COMMAND=${CD_PYTHON_COMMAND}
CD_PYTHON_PACKAGES=${CD_PYTHON_PACKAGES}
#
CD_PROJECT_BRANCH=${CD_PROJECT_BRANCH}
CD_PROJECT_NAME=${CD_PROJECT_NAME}
CD_PROJECT_URL=${CD_PROJECT_URL}
CD_PROJECTS_GROUP=${CD_PROJECTS_GROUP}
CD_PROJECTS_URL=${CD_PROJECTS_URL}
"
} }
cd_set_dns_resolving () { cd_set_dns_resolving () {