parent
d19a657dac
commit
e13563622f
1 changed files with 17 additions and 0 deletions
17
cd.sh
17
cd.sh
|
@ -29,6 +29,7 @@ cd_main () {
|
|||
cd_set_environment () {
|
||||
cd_step "Set environment"
|
||||
CD_DNS_FILE="/etc/resolv.conf"
|
||||
#
|
||||
case "${CD_OS_NAME}" in
|
||||
"debian")
|
||||
CD_PYTHON_COMMAND="python3"
|
||||
|
@ -84,6 +85,22 @@ cd_set_environment () {
|
|||
fi
|
||||
# project / url
|
||||
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 () {
|
||||
|
|
Loading…
Reference in a new issue