Support non-Django DB migration
Some of our projects use libraries other than Django for DB management (e.g. SQL Alchemy + Alembic: https://gitlab.developers.cam.ac.uk/uis/devops/digital-admissions/albatross/albatross-deployment/-/merge_requests/2 ). The deployment template should make it possible to run such migrations without replacing the entire deployment script content. This may just be a case of adding an optional CI/CD variable to specify the migration command, and making the entrypoint generic (/bin/sh
).