Automate data updates in production #521
Labels
help wanted
Extra attention is needed
IMPORTANT
Take this immediately!
s:data
Scope: related to data retrieval, parsing, transformation, storage, update
s:infra
Scope: related to infrastructure, continuous integration, deployment
t:feat
Type: request of a new feature, functionality, enchancement
🙋 Feature Request
We want to update the data daily, however manual updates are very time-consuming and error-prone.
🔦 Context
😯 Describe the feature
We need to find a way to automate the data updates in production, while also performing some basic sanity checks. It is desirable for a human to review the update before it goes live.
This flow should be untied from the general release cycle.
Data should be updated consistently across all long-living branches (master, release, production), so that everyone is on the same page.
💻 Examples
💁 Possible Solution
implement single-step build for the data updates so that it can be run in CI environment
initiate data update build step daily, using a GitHub action (on
staging
branch)the bot automatically creates a branch and open pull request against
staging
branch, containing the new datamaintainer reviews the PR, as well as the results of automatic checks and the deployed version of the application
maintainer merges the PR, possibly adding more commits into it, or closes
PR is created against
master
branch and automatically merged if possibleif not, maintainer resolves conflicts in the
master
PR and mergesmaintainer releases the data changes by fast-forwarding
release
branch tostaging
eventually, as we are confident in the reliability of checks, the merge to staging can be automatic
Related
The text was updated successfully, but these errors were encountered: