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

Feature/allow backup cronjobs to be run by a k8s cronjob ams #310

Conversation

LorenzoJokhan
Copy link
Contributor

Description

Please include

  • a summary of the changes
  • relevant motivation and context
  • a list of any dependencies that are required for this change

Issue reference

Fixes # (issue)

Type of change

Is it a new feature, bug fix, code improvement, etc.
If it is a breaking change what needs to be done to fix that

Documentation

Is the documentation updated, maybe a link

Tests

(How) has the change been tested

Branch

If the branch to merge to is not development

stijnvandervegt and others added 24 commits January 24, 2021 20:02
This allows the react-admin to list and view the submissions, and generate a CSV export.

Related ticket: https://trello.com/c/MHQ88xsW/81-inzendingen-resource-form-submission-beschikbaar-maken-voor-export
Also changes some `var` to `const` at the top-level requires and remove some unnecessary & commented code.
…-and-viewable-rebase

Feature/make submissions listable and viewable rebase
add github workflows with gitops flow
This allows us to create a cronjob in Kubernetes which runs just this file, while also allowing us to skip the built-in backup cronjobs with the PREVENT_BACKUP_CRONJOBS environment variable set to `true`.

This commit also prevents the normal mysql & mongodb backups to be run when the S3 variant is turned on.
…w-backup-cronjobs-to-be-run-by-a-k8s-cronjob
Copy link
Contributor

Choose a reason for hiding this comment

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

The changes in this file don't belong in this PR

Comment on lines +29 to +32
## UNRELEASED
* Change mongoDB S3 backup to read the database dump in chunks and upload it to the S3 bucket using a MultiPart upload setup.
* Allow s3 backups to be disabled from the cronjobs, but instead be run through a different entrypoint (backup.js) to allow kubernetes cronjobs to be used.

Copy link
Contributor

Choose a reason for hiding this comment

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

Can you push this to the top of the file?

@rudivanhierden
Copy link
Contributor

See #312 for correct PR

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.

3 participants