Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tails.com flow #20

Merged
merged 4 commits into from
Feb 20, 2022
Merged

Add tails.com flow #20

merged 4 commits into from
Feb 20, 2022

Conversation

alanmcruickshank
Copy link
Member

I've finally set up a good robust github action flow on the tails.com dbt project.

This documents our flow, which is heavily inspired by the surfline flow. Based on input from @NiallRees I'm posting this as a new flow but with many links back to the surfline version.

This solves the problem of #15 by using the new --write-output option released in sqlfluff 0.10.1.

Feedback very welcome!

# NOTE: It's best to keep this fixed to a version for stability, and this
# flow requires at least 0.10.1. Do update to a later versions as they are released.
sqlfluff==0.10.1
sqlfluff-templater-dbt==0.10.1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would recommend just using dbt-snowflake~=1.0.0 and sqlfluff-templater-dbt==0.10.1, and adding those to the tox.ini deps

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed on stripping the other deps. Why add them to the tox file? That's not what gets called to set up the environment.

@NiallRees - can you clarify what you mean?

I wonder if using a tox.ini file here is distracting because it's only really being used as a .sqlfluff file.

@alanmcruickshank alanmcruickshank merged commit 08bb979 into main Feb 20, 2022
@alanmcruickshank alanmcruickshank deleted the ac/tail_workflow branch February 20, 2022 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants