I would like to set up DBT jobs on Airflow(astronomer).
When I run dbt run
in the astro container, I get an error:
Running with dbt=0.19.1
Encountered an error:
[Errno 30] Read-only file system: 'logs/dbt.log'
I suspect we need to customize the container for this: Is there something I am missing?
Been following this doc: https://www.astronomer.io/blog/airflow-dbt-1
On running the dag, I get an error:
Output:
INFO - Running with dbt=0.19.1
INFO - Encountered an error while reading the project:
INFO - ERROR: Runtime Error
INFO - Could not find profile named 'snowflakeprofile'
INFO - Encountered an error:
INFO - Runtime Error
INFO - Could not run dbt
INFO - Command exited with return code 2
ERROR - Bash command failed. The command returned a non-zero exit code.
However dbt debug
runs okay and the connection test is ok