openSUSE / ansible-obs

Some playbooks to operate OBS
1 stars 10 forks source link

Allow deployments when there is a data migration in the changes to deploy #89

Open danidoni opened 1 year ago

danidoni commented 1 year ago

We sometimes want to run data migrations outside of the deployment process, otherwise the deployment could take too long unnecessarily.

Right now, the deployment will halt if there are data migrations in the changes to be deployed, so we cannot deploy using the deploy_without_migrations playbook.

We should only prevent deployments only when there is a schema migration between the changes to deploy, but allow deployments when there is a data migration in there.