databricks-cli/integration/cmd
Denis Bilenko a26461c5a3
Do not modify/create .gitignore in bundle root (#2429)
## Changes
- Do not modify or edit .gitignore in bundle root.
- Instead create .databricks/.gitignore with content set to "*"

## Why
Merging our changes into existing .gitignore is complicated and adding
.gitignore where it's not expected adds to the noise. Other tools also
use the approach in this PR (e.g. ruff creates .ruff_cache/.gitignore).

## Tests
- Modified templates/default-sql to capture this new file.
2025-03-05 10:57:05 +00:00
..
alerts Clean up TestMain from integration tests to fix caching (#2090) 2025-01-08 11:59:22 +00:00
api Clean up TestMain from integration tests to fix caching (#2090) 2025-01-08 11:59:22 +00:00
auth Enable TestAuthDescribeFailure integration test (#2420) 2025-03-04 11:43:26 +00:00
clusters Clean up TestMain from integration tests to fix caching (#2090) 2025-01-08 11:59:22 +00:00
fs Enable linter 'copyloopvar' and fix the issues (#2160) 2025-01-16 11:20:50 +00:00
jobs Clean up TestMain from integration tests to fix caching (#2090) 2025-01-08 11:59:22 +00:00
repos Clean up TestMain from integration tests to fix caching (#2090) 2025-01-08 11:59:22 +00:00
secrets Clean up TestMain from integration tests to fix caching (#2090) 2025-01-08 11:59:22 +00:00
storage_credentials Clean up TestMain from integration tests to fix caching (#2090) 2025-01-08 11:59:22 +00:00
sync Do not modify/create .gitignore in bundle root (#2429) 2025-03-05 10:57:05 +00:00
version Clean up TestMain from integration tests to fix caching (#2090) 2025-01-08 11:59:22 +00:00
workspace Clean up TestMain from integration tests to fix caching (#2090) 2025-01-08 11:59:22 +00:00
unknown_command_test.go Remove calls to `t.Setenv` from integration tests (#2018) 2024-12-16 12:34:37 +01:00