Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TTAHUB-2813] Daily DB backup by CI #2099

Merged
merged 105 commits into from May 20, 2024
Merged

Conversation

GarrettEHill
Copy link
Collaborator

@GarrettEHill GarrettEHill commented Apr 12, 2024

Description of change

Uses CI to back up prod db to s3 in a password protected zip file

How to test

view successful execution in ci & verify the files are in s3 under ttahub-db-backups instance

Issue(s)

Checklists

Every PR

  • Meets issue criteria
  • JIRA ticket status updated
  • Code is meaningfully tested
  • Meets accessibility standards (WCAG 2.1 Levels A, AA)
  • API Documentation updated
  • Boundary diagram updated
  • Logical Data Model updated
  • Architectural Decision Records written for major infrastructure decisions
  • UI review complete

Before merge to main

  • OHS demo complete
  • Ready to create production PR

Production Deploy

  • Staging smoke test completed

After merge/deploy

  • Update JIRA ticket status

.circleci/config.yml Outdated Show resolved Hide resolved
@thewatermethod
Copy link
Collaborator

Service key deletion is not enabled. Set DELETION_ALLOWED=yes to enable.

Is this something set at the individual level?

@GarrettEHill GarrettEHill removed the Requires Group Code Review Add this label to any PR that takes longer than 30 minutes to review. label May 16, 2024
Copy link
Collaborator

@kcirtapfromspace kcirtapfromspace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!

.circleci/config.yml Outdated Show resolved Hide resolved
.circleci/config.yml Outdated Show resolved Hide resolved
.circleci/config.yml Show resolved Hide resolved
@GarrettEHill
Copy link
Collaborator Author

Service key deletion is not enabled. Set DELETION_ALLOWED=yes to enable.

Is this something set at the individual level?

if you just wanted to see the new files but not get them, it can delete the service key right after use, which will invalidate the urls

@GarrettEHill GarrettEHill merged commit 18a746e into main May 20, 2024
10 checks passed
@GarrettEHill GarrettEHill deleted the TTAHUB-2813/daily-db-backup-ci branch May 20, 2024 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants