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

Set up automatic superset backups #142

Closed
dianabarsan opened this issue Aug 30, 2024 · 1 comment
Closed

Set up automatic superset backups #142

dianabarsan opened this issue Aug 30, 2024 · 1 comment
Assignees
Labels
Priority: 1 - High Blocks the next release. Type: Feature Add something new

Comments

@dianabarsan
Copy link
Member

Is your feature request related to a problem? Please describe.
Dashboards currently only exist in superset. They're crafted in the UI and the queries are autogenerated.
There is no way to write dashboards as code, and no way to do actual version control. Unfortunately.
However there is a way to export dashboards, and there is a way to import them later.
The output is a collection of yaml files that are not meant to be read by humans.

Describe the solution you'd like
Set up a process as part of cht-sync that does automatic backups for all dashboards and stores them to be available for backups.
If there is an automated way of pushing config to the instance, backups should be part of this process.

Describe alternatives you've considered
Automatic backups can be outside of cht-sync but should be ready out of the box anyway.

@dianabarsan dianabarsan added Type: Feature Add something new Priority: 1 - High Blocks the next release. labels Aug 30, 2024
dianabarsan added a commit that referenced this issue Sep 23, 2024
…et dashboard export (#154)

This reusable GH action will store a Superset export within the repo that triggers the action.
Can be further parametrized if desired, but for now:

only supports saving in the current repo
saves on hardcoded path
#142
medic-ci pushed a commit that referenced this issue Sep 23, 2024
# [1.1.0](v1.0.2...v1.1.0) (2024-09-23)

### Features

* **#142:** adds reusable github action that creates backup of superset dashboard export ([#154](#154)) ([b0045d4](b0045d4)), closes [#142](#142) [#142](#142)
@dianabarsan
Copy link
Member Author

This has been implemented through a reusable GitHub action: https://github.com/medic/cht-sync/tree/main/.github/actions/superset-backup

@github-project-automation github-project-automation bot moved this from In Progress to Done in Product Team Activities Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: 1 - High Blocks the next release. Type: Feature Add something new
Projects
No open projects
Archived in project
Development

No branches or pull requests

1 participant