Added GIT_CLONE_EXECUTE
This commit is contained in:
parent
6f8ba186dd
commit
f080f34bb3
20
read_config
20
read_config
@ -28,6 +28,8 @@ if [ ${read_config_sourced:-1} = "1" ]; then # include only once
|
|||||||
readonly PROGRAM=`basename $0`
|
readonly PROGRAM=`basename $0`
|
||||||
readonly WORKSPACE_DIR=workspace
|
readonly WORKSPACE_DIR=workspace
|
||||||
|
|
||||||
|
GIT_CLONE_EXECUTED=0
|
||||||
|
|
||||||
EXITCODE=$RC_SUCCESS
|
EXITCODE=$RC_SUCCESS
|
||||||
CLONE_CUSTOMER_REPOSITORY=false
|
CLONE_CUSTOMER_REPOSITORY=false
|
||||||
|
|
||||||
@ -92,6 +94,16 @@ if [ ${read_config_sourced:-1} = "1" ]; then # include only once
|
|||||||
readonly ZONE_GROUPS=(${__zone_groups[@]})
|
readonly ZONE_GROUPS=(${__zone_groups[@]})
|
||||||
assert_a ZONE_GROUPS
|
assert_a ZONE_GROUPS
|
||||||
|
|
||||||
|
# TODO
|
||||||
|
# TODO: falls mehrere gruppen/zonen auftauchen hier anpassen
|
||||||
|
# TODO
|
||||||
|
# Zone aus /etc/zone_nr auslesen
|
||||||
|
#
|
||||||
|
readonly ZONE_GROUP=1
|
||||||
|
readonly ZONE=1
|
||||||
|
|
||||||
|
readonly LOCAL_BRANCH="$(cat "$cf" | jq -r .local_branches[$ZONE])"
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
###############################################################################
|
###############################################################################
|
||||||
@ -151,13 +163,7 @@ if [ ${read_config_sourced:-1} = "1" ]; then # include only once
|
|||||||
# readonly CUST_BASE_DIRS=(${__customer_base_dirs[@]})
|
# readonly CUST_BASE_DIRS=(${__customer_base_dirs[@]})
|
||||||
# assert_a CUST_BASE_DIRS
|
# assert_a CUST_BASE_DIRS
|
||||||
|
|
||||||
# TODO
|
|
||||||
# TODO: falls mehrere gruppen/zonen auftauchen hier anpassen
|
|
||||||
# TODO
|
|
||||||
# Zone aus /etc/zone_nr auslesen
|
|
||||||
#
|
|
||||||
readonly ZONE_GROUP=1
|
|
||||||
readonly ZONE=1
|
|
||||||
readonly CUST_BASE_DIR="$CUSTOMER_ID_BASE_DIR"
|
readonly CUST_BASE_DIR="$CUSTOMER_ID_BASE_DIR"
|
||||||
#readonly CUST_BASE_DIR="${CUST_BASE_DIRS[$ZONE]}"
|
#readonly CUST_BASE_DIR="${CUST_BASE_DIRS[$ZONE]}"
|
||||||
#assert_d CUST_BASE_DIR
|
#assert_d CUST_BASE_DIR
|
||||||
|
Loading…
Reference in New Issue
Block a user