added update_psa_clone_customer_repository().w

This commit is contained in:
Gerhard Hoffmann 2023-05-26 15:04:52 +02:00
parent bcc96a388f
commit e356456fb5

View File

@ -2,7 +2,8 @@
source ./log_helpers
if [ ${news_to_ismas_sourced:-1} = "1" ]; then # include only once
if [ "${news_to_ismas_sourced:-1}" = "1" ]; then # include only once
readonly news_to_ismas_sourced=${BASH_SOURCE[0]}
readonly APISM_DB_PORT=7777
readonly UPDATE_ISMAS_PROGRESS="U0010"
@ -70,6 +71,18 @@ if [ ${news_to_ismas_sourced:-1} = "1" ]; then # include only once
###########################################################################
###########################################################################
update_psa_clone_customer_repository () {
PERCENT=10
local params=("U0010" # event
$PERCENT # percent
$RC_SUCCESS # resultcode
"clone_customer_repository" # step
"git cloned $CUSTOMER_REPOSITORY_PATH" # step_result
"") # version
news_to_ismas ${params[*]}
return $?
}
update_psa_pull_customer_repository () {
PERCENT=10
local params=("U0010" # event
@ -382,7 +395,7 @@ if [ ${news_to_ismas_sourced:-1} = "1" ]; then # include only once
\"CREATED\":\"$(date +%Y-%m-%dT%T)\",
\"HASH\":\"$(compute_hash)\"
},
\"TARIFF\": {
\"TARIFF\" : {
$(<$TC_PSA_TC_FILE)
},
\"HARDWARE\" : {