26 Commits

Author SHA1 Message Date
Michelle Ark
945539e3ae add index.html to .gitignore (#11008) 2024-11-15 17:31:08 -05:00
Devon Fulcher
8a17a0d7e7 Behavior change for mf timespine without yaml configuration (#10857) 2024-10-31 11:40:39 -04:00
Michelle Ark
961d69d8c2 gitignore user.yml and profiles.yml (#8087) 2023-07-12 17:46:49 -07:00
Jeremy Cohen
723ac9493d Fix .gitignore to take heed of tests/functional/build (#7436) 2023-04-24 19:23:09 +02:00
Mila Page
1a6e4a00c7 Add clearer directions for custom test suite vars in Makefile. (#6764)
* Add clearer directions for custom test suite vars in Makefile.

* Fix up PR for review

* Fix erroneous whitespace.

* Fix a spelling error.

* Add documentation to discourage makefile edits but provide override tooling.

* Fix quotation marks. Very strange behavior

* Compact code and verify quotations happy inside bash and python.

* Fold comments into Makefile.

---------

Co-authored-by: Mila Page <versusfacit@users.noreply.github.com>
2023-01-31 13:53:55 -08:00
Stu Kilgore
b3440417ad Add GHA workflow to build CLI API docs (#6187) 2022-11-29 13:30:47 -06:00
Maximilian Roos
dc96352493 Add dmypy cache to gitignore (#5978)
* Add dmypy cache to gitignore
2022-10-10 09:14:55 -05:00
Maximilian Roos
02a69c8f4f Put black config in explicit config (#5947) 2022-10-06 11:47:04 -05:00
colin-rogers-dbt
0bd6df0d1b [CT-1101] 024_custom_schema_tests (#5828)
* create functional custom schema tests

* delete old integration tests

* changie log

* formatting fixes

* delete changie entry and errant comment
2022-09-20 10:42:07 -07:00
Callum McCann
94a7cfa58d Adding Metric Helper Functions (#5607)
* Adding helper functions

* adding bad test

* use ResolvedMetricReference

* adding pytest

* adding changie updates

* adding pre-commit changes

Co-authored-by: Chenyu Li <chenyu.li@dbtlabs.com>
2022-08-08 08:37:09 -05:00
Ian Knox
c112050455 Pre commit Hooks (black, flake8, mypy, etc) [CT-105] (#4639)
Added pre-commit and configured hooks (black, flake8, mypy, white space formatters)
Removed code checks from tox
updated CI
2022-02-11 12:57:16 -06:00
Fuchs, Stefan
d60f6bc89b added exposures property to manifest 2021-04-11 18:26:05 +02:00
Kyle Wigley
148f55335f address issue with py39 2020-12-16 11:25:31 -05:00
Matt Ball
69352d8414 Fix docker-based testing for Linux users
See https://github.com/fishtown-analytics/dbt/issues/2739

This change enables Linux users to run the dbt tests via the docker
image. It follows the recommendations from this article:
https://jtreminio.com/blog/running-docker-containers-as-current-host-user/

Notable changes:
*  Added new Makefile rule to generate a .env file that contains USER_ID
and GROUP_ID environment variables to the ID of the current user. This
is in turn used by docker-compose and the Dockerfile to make the Docker
image run as the current user. (Note that on Windows or Mac, this
behavior happens by default).
*  Reordered Dockerfile to allow for better caching of intermediate
images (i.e., put things that don't depend on ARGS earlier).
*  Bumped CircleCI's Dockerfile from version 7 to 9.  Jake rebuilt
9 off of this PR.
2020-09-11 11:15:18 -06:00
brunomurino
2025634417 added option --adapter to dbt init, to create sample profiles.yml based on chosen adapter 2020-06-25 23:27:08 +01:00
Jacob Beck
0e97b53e70 PR feedback
fix windows tests
mypy + added more stubs for easy modules
remove __future__ imports from python2
gitignore
2019-08-06 07:45:42 -05:00
Jacob Beck
d08d2915e0 mypy quality of life fixes 2019-08-06 07:37:57 -05:00
Jacob Beck
115ef7dd97 Add some dbt project-level tasks to the RPC server
Add seed_project
 - takes 'show' arg
Add run_project
 - takes 'models' and 'exclude' args
Add compile_project
 - takes 'models' and 'exclude' args
Add test_project
 - takes models and exclude args
 - takes 'data' and 'schema' args
Tests
2019-08-02 12:29:04 -06:00
Drew Banin
6d66ab06d1 Merge pull request #1049 from mikekaminsky/feature/profile-env-var
Allows the profile directory to be set with an environment var
2018-10-17 14:15:38 -04:00
Michael Kaminsky
b8c0602a37 Improves dbt --help documentation 2018-10-15 08:50:04 -05:00
Michael Kaminsky
45bbaf2af1 Allows the profile directory to be set with an environment var
Passing the CLI flag (as in `dbt run --profiles-dir ~/path/to/profile`)
should still work. Similarly, if no DBT_PROFILES_DIR environment
variable is set, DBT will look for profiles in the default location.
2018-10-09 18:06:24 -04:00
Connor McArthur
ce0e31c1d9 gitignore .pythonversion 2018-07-19 15:23:25 -04:00
Connor McArthur
7d7b557142 add .sublime-* files to .gitignore (#747) 2018-04-26 16:31:27 -04:00
Connor McArthur
172c7cef4a add snowflake support (#259) 2017-01-20 14:00:03 -05:00
Connor McArthur
2fe3758018 bugfix: respect config options in dbt_project.yml (#255)
* respect config options in dbt_project.yml
* add unit test harness
2016-12-28 11:30:28 -05:00
Christopher Merrick
fd7567fb4d Initial commit 2016-03-09 21:38:01 -05:00