You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PROFILE_NAME=$(grep -e "profile:"<"${CWD}/git_repo/dbt_project.yml"| sed -E "s/profile: *['\"]?([^'\"]*)['\"]?/\1/")
Describe the solution you’d like
we should write (a python?) script that uses a yaml parser to load the dbt_project.yml file and output the name of the profile being used, something like: load yaml file; print(config.get("profile")) it would be more robust
The text was updated successfully, but these errors were encountered:
Tell us about the problem you're trying to solve
As follow up to #4721, do proper yaml parsing/extract to be used in
airbyte/airbyte-workers/src/main/resources/dbt_transformation_entrypoint.sh
Line 7 in 7decb12
Describe the solution you’d like
we should write (a python?) script that uses a yaml parser to load the
dbt_project.yml
file and output the name of the profile being used, something like:load yaml file; print(config.get("profile"))
it would be more robustThe text was updated successfully, but these errors were encountered: