diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 438725d4146be7baff078ab6104b1a2567f6faa4..7cb354373740cb1a9cc60a05fe4daa88d7676962 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -15,6 +15,7 @@ - cta/CTA#92 - Refactor CTA code so that it can be build without Oracle dependencies ### Bug fixes - cta/CTA#30 - Check size of comments before commit them to the Catalogue +- cta/CTA#142 - Save logs in liquibase-update test # v4.7.9-2 diff --git a/continuousintegration/orchestration/tests/update_db_test.sh b/continuousintegration/orchestration/tests/update_db_test.sh index 1d2e7858bd4027e386c6b89662d7abd934b08882..1e8cb812798e663c348d5966505a03ff8cb87863 100755 --- a/continuousintegration/orchestration/tests/update_db_test.sh +++ b/continuousintegration/orchestration/tests/update_db_test.sh @@ -96,8 +96,10 @@ CURRENT_SCHEMA_VERSION=$(kubectl -n ${NAMESPACE} exec ctafrontend -- cta-catalog | grep -o -E '[0-9]+\.[0-9]') if [ ${CURRENT_SCHEMA_VERSION} == ${NEW_SCHEMA_VERSION} ]; then echo "The current Catalogue Schema Version is: ${CURRENT_SCHEMA_VERSION}" + kubectl -n ${NAMESPACE} logs dbupdatetest &> "../../../pod_logs/${NAMESPACE}/liquibase-update.log" else echo "Error. Unexpected Catalogue Schema Version: ${CURRENT_SCHEMA_VERSION}, it should be: ${NEW_SCHEMA_VERSION}" + kubectl -n ${NAMESPACE} logs dbupdatetest &> "../../../pod_logs/${NAMESPACE}/liquibase-update.log" exit 1 fi