pankaj_saini
03/02/2021, 9:34 AMRUN meltano install
step will upgrade(i.e. install latest) meltano package, update files, recompile models as specified in the meltano upgrade CLI reference. For the system database (which in my case is running externally on a postgresql), how will the upgrade happen? During the build my CICD pipeline has no access to the production meltano system database. While running the newly build docker image using the default docker-compose.prod.yml , there is no step which does meltano upgrade database
. Should upgrading the database happen in a custom entrypoint file? (I am using a custom entrypoint.sh files do to other stuff like creating/updating meltano users, copying a custom airflow webserver_config.py file to .meltano/run/airflow
folder etc.) Or is there a better way?douwe_maan
03/02/2021, 4:15 PMmeltano
commands that need the system database automatically run migrations when they're run, so there's no need to meltano upgrade database
manuallypankaj_saini
03/02/2021, 4:24 PMpankaj_saini
03/02/2021, 4:24 PM