Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
CiviCRM Spark
CiviCRM Spark
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 13
    • Issues 13
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Infrastructure
  • CiviCRM SparkCiviCRM Spark
  • Issues
  • #20

Closed
Open
Created Sep 01, 2020 by bgm@bgmOwner1 of 4 tasks completed1/4 tasks

Automatically disable an expired instance

Currently sites are manually disabled, then, after a month, deleted. As CiviCRM Spark grows in adoption, it's time to automate this process.

  • Implement a hook on civicrm.org to detect an expired Spark membership
  • Send an REST API request to disable the site (and implement that in hosting_restapi)
  • When a site is deleted in Aegir, delete the DNS entry for the site.
  • Cleanup DNS creation, which is currently duct-taped on www-prod-2, and standardize with how provision_symbiotic does it on a per-server basis, as part of the site creation/clone.

This would not automate the actual deletion of the data, which would still be manual. Ideally we would automate that too, 30 days after the expiration, but as far as I know, it would require us to add new membership status rules, which would create confusion with other types of membership, or to hack something on top of scheduled reminders? In either case, it's something we can do later, without major changes to this first iteration.

Edited Dec 03, 2020 by bgm
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None