Git+metabase - now works with cards and dashboards (create and update)
- store you cards and dashboards in git repository
- manual deploy and configuration with desktop tool
- automatic deploy (with you runner) from repository
An electron-vue project (+bootstrap) And node console tool for CI/CD
# install dependencies
npm install
# serve with hot reload at localhost:9080
npm run dev
# build electron application for production
npm run build
# run unit & end-to-end tests
npm test
# lint all JS/Vue component files in `src/`
npm run lint
using
- metabase rest api
- nodejs
- electron (for desktop app)
- Be sure dev and stage environments equal to production (you can restore backup to dev and stage from production)
- create new empty git repository
- Open "metabase-ci" (desktop app - you can build from this repository)
- Choose repository folder
- Configure metabase envs in settings (enter url and credentials)
Load and link ids from environments
- Load remote for dev and Save to folder (commit to see changes in repo)
- Load remote for stage and Link Ids with Dev (commit to see changes in repo)
- Load remote for production and Link Ids with Dev (commit to see changes in repo)
Congrats! Now you have repo with you metabase items
- Open you metabase site (only dev) - and change you some collection or card or dashboard
- Open "metabase-ci" (desktop app - you can build from this repository)
- Click Load remote for dev and Save to folder (commit to see changes in repo)
Now you can see you changes in repo
stage for example
- Open "metabase-ci" (desktop app - you can build from this repository)
- Click Publish Remote for stage (commit to see changes in repo) publishing adding new ids from environment - don't forget commit them
console tool - using logic like manual publishing