ci: a push here should trigger a backend sync_db and a frontend rebuild
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- django, git, github-actions
- Domain
- backend, ci-cd, devops, documentation, frontend
Research direction
Review the GitHub Actions workflows and deployment setup across gbdev/database, the GBA repository, and gbdev/virens, focusing on push events, runscript sync_db, and the workflow_dispatch entry point. Done means tracked-database pushes pull the changed database, run the Django sync, rebuild the frontend, and document the setup and SSH-key requirements in gbdev/homebrewhub.
Written by the indexing model from the issue text.
Description
Every push to the tracked databases (currently this repo and the GBA over https://github.com/gbadev-org/games) should trigger:
- A git pull of database that received a push on the deployment
- A
runscript sync_dbon the Django container on the deployment - A rebuild of the frontend. This should be feasible triggering the
workflow_dispatchevent over https://github.com/gbdev/virens
As such CI/CD setup this involves events and GH Actions workflows in 3 different repositories, this must be documented (ideally in the main repository, https://github.com/gbdev/homebrewhub, starting from the general idea and explaining our instance of setup/tracked database repositories + SSH keys set-up)
- Dominant language
- C
- Stars
- 95
- Forks
- 52
- Avg merge
- 7h 33m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from gbdev/database
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 35/100
-
database
Difficulty 2/5 1-3 hours Newbie friendliness 30/100
-
GBDK Gallery Opensource
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
Hardware features Openschema
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Similar issues
-
Status: Waiting triage Type: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
nanoframework/Home#1857 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
libsdl-org/SDL#16372 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
corazawaf/coraza-nginx#140 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100