Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

US-583793-2 - Handling failing of package download #204

Merged
merged 1 commit into from
Jan 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions scripts/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ catalina_properties="${final_config_root}/catalina.properties"
prbootstrap_properties="${final_config_root}/prbootstrap.properties"
java_security_overwrite="${final_config_root}/java.security.overwrite"
tomcat_web_xml="${final_config_root}/tomcat-web.xml"
file_setting_download_script="${lib_root}/filesettingdownload.sh"

declare -a secrets_list=("DB_USERNAME" "DB_PASSWORD" "CUSTOM_ARTIFACTORY_USERNAME" "CUSTOM_ARTIFACTORY_PASSWORD" "CUSTOM_ARTIFACTORY_APIKEY_HEADER" "CUSTOM_ARTIFACTORY_APIKEY" "CASSANDRA_USERNAME" "CASSANDRA_PASSWORD" "CASSANDRA_TRUSTSTORE_PASSWORD" "CASSANDRA_KEYSTORE_PASSWORD" "HZ_CS_AUTH_USERNAME" "HZ_CS_AUTH_PASSWORD" "PEGA_DIAGNOSTIC_USER" "PEGA_DIAGNOSTIC_PASSWORD" "STREAM_TRUSTSTORE_PASSWORD" "STREAM_KEYSTORE_PASSWORD" "STREAM_JAAS_CONFIG")
for secret in "${secret_root}"/*
Expand Down Expand Up @@ -133,14 +132,6 @@ if [[ "$custom_artifactory_auth" == "" && ( "$SECRET_CUSTOM_ARTIFACTORY_APIKEY_H
fi
fi

#for file settings in pega cloudk
if [ -e "$file_setting_download_script" ]; then
echo "file setting script does exists"
(cd $pega_root ; sh "$file_setting_download_script")
else
echo "file setting script does not exist"
fi

custom_artifactory_certificate=''
if [ "$(ls -A "${pega_root}/artifactory/cert"/*)" ]; then
if [ "$(ls "${pega_root}/artifactory/cert"/* | wc -l)" == 1 ]; then
Expand Down
Loading