mirror of https://github.com/databricks/cli.git
Do not gitignore .databricks and terraform (#2318)
For acceptance/bundle/templates I'd like to run "bundle deploy". This would create .databricks directory inside materialized output. It might makes sense to commit some of this as part of golden files output. Even if we did not commit anything, the test runner will see those files and show the difference. Thus git should also see them. Also rename .gitignore to out.gitignore in those tests, since that includes .databricks as well.
This commit is contained in:
parent
06e342afc5
commit
2175dd24a4
|
@ -25,11 +25,7 @@ coverage-acceptance.txt
|
||||||
__pycache__
|
__pycache__
|
||||||
*.pyc
|
*.pyc
|
||||||
|
|
||||||
.terraform
|
|
||||||
.terraform.lock.hcl
|
|
||||||
|
|
||||||
.vscode/launch.json
|
.vscode/launch.json
|
||||||
.vscode/tasks.json
|
.vscode/tasks.json
|
||||||
|
|
||||||
.databricks
|
|
||||||
.ruff_cache
|
.ruff_cache
|
||||||
|
|
|
@ -3,3 +3,6 @@ trace $CLI bundle init dbt-sql --config-file ./input.json --output-dir output
|
||||||
cd output/my_dbt_sql
|
cd output/my_dbt_sql
|
||||||
trace $CLI bundle validate -t dev
|
trace $CLI bundle validate -t dev
|
||||||
trace $CLI bundle validate -t prod
|
trace $CLI bundle validate -t prod
|
||||||
|
|
||||||
|
# Do not affect this repository's git behaviour #2318
|
||||||
|
mv .gitignore out.gitignore
|
||||||
|
|
|
@ -3,3 +3,6 @@ trace $CLI bundle init default-python --config-file ./input.json --output-dir ou
|
||||||
cd output/my_default_python
|
cd output/my_default_python
|
||||||
trace $CLI bundle validate -t dev
|
trace $CLI bundle validate -t dev
|
||||||
trace $CLI bundle validate -t prod
|
trace $CLI bundle validate -t prod
|
||||||
|
|
||||||
|
# Do not affect this repository's git behaviour #2318
|
||||||
|
mv .gitignore out.gitignore
|
||||||
|
|
|
@ -3,3 +3,6 @@ trace $CLI bundle init default-sql --config-file ./input.json --output-dir outpu
|
||||||
cd output/my_default_sql
|
cd output/my_default_sql
|
||||||
trace $CLI bundle validate -t dev
|
trace $CLI bundle validate -t dev
|
||||||
trace $CLI bundle validate -t prod
|
trace $CLI bundle validate -t prod
|
||||||
|
|
||||||
|
# Do not affect this repository's git behaviour #2318
|
||||||
|
mv .gitignore out.gitignore
|
||||||
|
|
|
@ -8,3 +8,6 @@ uv sync -q
|
||||||
trace $CLI bundle validate -t dev --output json | jq ".resources"
|
trace $CLI bundle validate -t dev --output json | jq ".resources"
|
||||||
|
|
||||||
rm -fr .venv resources/__pycache__ uv.lock my_jobs_as_code.egg-info
|
rm -fr .venv resources/__pycache__ uv.lock my_jobs_as_code.egg-info
|
||||||
|
|
||||||
|
# Do not affect this repository's git behaviour #2318
|
||||||
|
mv .gitignore out.gitignore
|
||||||
|
|
Loading…
Reference in New Issue