Ci - Testing of DB schema upgrade script
Create a CI job (maybe optional, maybe triggered only when there are changes to the catalogue schema that do the following).
- Compile CTA
- Take the catalogue version
xof the commit from CMakeLists.txt - Look for a migration script to
x, from some versiony. - Run
cta-catalogue-schema-create -v y - Populate the catalogue (like is done in the CI)
- Update the schema to version
xusing liquibase and the migration script (the version in the yum repos is no good for CC7, need to manually put in the container version 4.8.0) - Run
cta-catalogue-schema-verifyand validate the version iscorrectx` and the command passes.
Edited by Michael Davis