elementary
elementary copied to clipboard
add package-lock needed for dbt 1.8 in read-only deployments
When elementary is installed on a docker image in a read-only folder, dbt deps are run and that will generate a packages-lock file. The way to solve the packages issue is to include the lock file in the project. This PR will address this issue. The issue here is similar as it is related to running dbt deps
in a read-only folder.
With this change, edr commands can be run as follows to address both issues.
mkdir /tmp/elementary
export DBT_TARGET_PATH=/tmp/elementary &&
export DBT_PACKAGES_FOLDER=/tmp/elementary &&
edr send-report --days-back 60