Skip to content
Snippets Groups Projects

Add backup policy with DrupalProjectConfig

Merged Francisco Borges Aurindo Barros requested to merge updatebackup-policy into master

Part of https://gitlab.cern.ch/webservices/webframeworks-planning/-/issues/725

  • Add a new CRD, DrupalProjectConfig, which defines which site is the "primary" site of the project
  • Deprecate DrupalSite.spec.configuration.ScheduledBackups
  • Declare primary site automatically when only 1 site is present
  • Add DrupalSite.status.isPrimary, which reports if this site is the primary site
  • Enable scheduled backups only for the primary site (but still allow the ScheduledBackups: "enabled" setting to override this and always allow backups)
Edited by Konstantinos Samaras-Tsakiris

Merge request reports

Merge request pipeline #3460137 passed

Merge request pipeline passed for d6b751a0

Merged by Konstantinos Samaras-TsakirisKonstantinos Samaras-Tsakiris 3 years ago (Jan 18, 2022 5:31pm UTC)

Loading

Pipeline #3460156 passed

Pipeline passed for 8c1b07b2 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added 1 commit

    • 23b2e84b - Applied suggestions and fixed bug

    Compare with previous version

  • added 10 commits

    • 23b2e84b...c55062f6 - 3 commits from branch master
    • 47e7da50 - First part....
    • 72cce4f4 - Changing to new CRD approach...
    • d36751d7 - Update code to acomodate new CRD, still logic missing to fill Primary in case...
    • b4363f03 - DrupalProjectConfig gets updated in case of null and just 1 drupalsite
    • 7d6921a1 - Cosmetic changes
    • 4283e299 - Refactoring some code...
    • ad63a989 - Applied suggestions and fixed bug

    Compare with previous version

  • Francisco Borges Aurindo Barros marked this merge request as ready

    marked this merge request as ready

  • resolved all threads

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading