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
This would be really helpful!
Bumping this. Are you planning to make elementary dbt 1.8 compliant?
Hi @noel ! Just merged these changes in a separate PR (needed to tweak a bit and add a pre-commit verification to the lock), this change will be included in the upcoming release.
Cheers, Itamar
Hi @noel ! Just merged these changes in a separate PR (needed to tweak a bit and add a pre-commit verification to the lock), this change will be included in the upcoming release.
Cheers, Itamar
@haritamar : which PR? Is it already included in a recent release ?