macOS ◆ xterm-256color ◆ bash 562 views

rename celery periodic tasks to be pilot-specific

https://gitlab.com/cloudigrade/cloudigrade/issues/579

This demo does the following:

  • clear the old database to prove a clean start
  • checkout code as of pilot (before this change)
  • run DB migrations
  • check the DB that there are no initial periodic tasks
  • run Celery beat to generate the periodic tasks
  • check the DB that the periodic tasks now exist with old-style names
  • checkout code as of 579-pilot-rename-periodic-tasks (branch with this change)
  • run DB migrations
  • check the DB that the periodic tasks have been renamed to have a pilot- prefix
  • run Celery beat with the pilot-named periodic tasks
  • check the DB that the periodic tasks still have the pilot- prefix