-
Notifications
You must be signed in to change notification settings - Fork 4
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
Factor out more dbt YAML selectors #446
Labels
dbt
Related to dbt (tests, docs, schema, etc)
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In #373 we introduced a YAML selector in order to factor out a common node selection pattern that we use to run QC tests. We should factor out more of the node selection logic that we use in GitHub workflows so that everything is easier to reuse.
Note that since
--selector
overrides any behavior specified by other selection flags (issue context), we'll need to make use of YAML anchors and aliases inselectors.yml
to make this code DRY.Here are the patterns I think it would make sense to factor out:
--select state:modified state:new
into a selector callednew_or_modified
and assign it a YAML anchor with the same name--exclude tag:test_qc*
into a new selector calledexclude_qc_tests
and assign it a YAML anchor with the same namenew_or_modified
andexclude_qc_tests
as defined above--select tag:daily
into a new selector calleddaily
The text was updated successfully, but these errors were encountered: