Page MenuHomePhabricator

Deploy payment changes to production
Closed, ResolvedPublic8 Estimated Story Points

Description

  • Ask fundraising team for the best time slot for a downtime / maintenance mode
  • Deploy newest version of the code without changing the symlink (use --extra-vars skip_symlink=1 when running the playbook)
  • Put application into maintenance mode
  • Run migration from Payment bounded context to generate payment tables
  • Run migrations from Donation and Membership bounded context that add payment_id to donation and membership tables
  • Run data migration for donations and memberships (migrate-payment-data.php in the donation/membership bounded context)
  • Set autoincrement value of payment id to highest payment id + 1 (INSERT INTO last_generated_payment_id (payment_id) SELECT MAX(s.id)+1 FROM spenden s;)
  • Run Doctrine migrations for adding indexes for payment_id on donations and memberships
  • Turn off maintenance mode
  • Make test donations with all payments.
  • Create a test membership
  • make a test export (without marking the donations/memberships as exported)
  • Delete the bank transfer / direct debit donations and the membership in the FOC.

Event Timeline

gabriel-wmde set the point value for this task to 8.