Compare commits
2 Commits
40e8786391
...
838b932cac
Author | SHA1 | Date | |
---|---|---|---|
838b932cac | |||
e71ece81c1 |
@ -1,6 +1,6 @@
|
||||
{
|
||||
"GIT_SSL_NO_VERIFY" : true,
|
||||
"working_directory" : ".",
|
||||
"working_directory" : "/home/root/szeged/UpdateController",
|
||||
"workspace_dir" : "workspace",
|
||||
"customer_location" : "szeged",
|
||||
"customer_id" : "281",
|
||||
|
@ -48,8 +48,13 @@ read_config() {
|
||||
log_fatal "$func:${LINENO}: customer_location not set in $1"
|
||||
fi
|
||||
|
||||
local workspace="$(cat "$1" | jq -r .workspace_dir)"
|
||||
__customer_base_dir="$PWD/${workspace}/${customer_id}/${customer_location}"
|
||||
readonly working_directory="$(cat "$1" | jq -r .working_directory)"
|
||||
log_info "$func:${LINENO}: working_directory is $working_directory"
|
||||
|
||||
readonly workspace_dir="$(cat "$1" | jq -r .workspace_dir)"
|
||||
local __customer_base_dir="$working_directory/${workspace_dir}"
|
||||
__customer_base_dir="${__customer_base_dir}/${customer_id}"
|
||||
__customer_base_dir="${__customer_base_dir}/${customer_location}"
|
||||
|
||||
readonly customer_base_dir="${__customer_base_dir}/${zone_group}/${zone}"
|
||||
log_info "$func:${LINENO}: customer-base-dir is $customer_base_dir"
|
||||
|
Loading…
Reference in New Issue
Block a user