[POPPY] Tests fail because Poppy migration is not applied
My latest push in DINGO fails because Poppy migration is not applied
See https://gitlab.obspm.fr/ROC/Pipelines/Plugins/DINGO/-/jobs/32170
sqlalchemy.exc.DataError: (psycopg2.errors.StringDataRightTruncation) value too long for type character varying(32)
[SQL: UPDATE alembic_version SET version_num='roc_dingo_0018_add_product_to_file_log' WHERE alembic_version.version_num = 'roc_dingo_0017_add_efecsevents']
This error is due to long version name in alembic_version
table and was solved with Poppy release 0.7.4
https://gitlab.obspm.fr/POPPY/POP/-/commits/master
In my DINGO tests, Poppy 0.7.4 is installed :
• Installing poppy.pop (0.7.4)
But the migration poppy_pop_0002_version_num
is not applied when I run
docker-compose run rodpdingo python manage.py db upgrade heads -ll INFO
The only migrations applied in the tests are the one in the roc.dingo plugin
What did I do wrong ?
Edited by Florence HENRY