Skip to content

Add acceptance for test for sync.paths equal to two dots - #2196

Merged
denik merged 2 commits into
mainfrom
denik/test-root-outside
Jan 21, 2025
Merged

Add acceptance for test for sync.paths equal to two dots#2196
denik merged 2 commits into
mainfrom
denik/test-root-outside

Conversation

@denik

@denikdenik commented Jan 20, 2025

Copy link
Copy Markdown
Contributor

Based on integration test from @andrewnester in #2194

Manually checked that this databricks.yml passes validation on v0.235.0 but fails on v0.236.0, most likely it was broken in #1945

This also adds replacements for tmpdir, it's parent and (just in case) grand parent.

@denik
denikforce-pushed the denik/test-root-outside branch from ebb1bbc to 8c8885dCompareJanuary 20, 2025 21:08
@denik
denik enabled auto-merge January 20, 2025 21:16
@denik
denik disabled auto-merge January 21, 2025 08:26
@denik
denik enabled auto-merge January 21, 2025 08:32
@@ -0,0 +1 @@
$CLI bundle validate

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Oh, I didn't realise it's reproducible by validate as well, struggled to right it for deploy

@denik
denik added this pull request to the merge queueJan 21, 2025
@github-merge-queue
github-merge-queueBot removed this pull request from the merge queue due to failed status checks Jan 21, 2025
@denik
denik added this pull request to the merge queueJan 21, 2025
Merged via the queue into main with commit de5155eJan 21, 2025
@denik
denik deleted the denik/test-root-outside branch January 21, 2025 11:55
@pietern

Copy link
Copy Markdown
Contributor

@denik Does this never work or only if the directory is not contained in a Git repository?

We can run the same test case when .. is contained in the same Git repository.

denik added a commit that referenced this pull request May 20, 2026
Based on integration test from @andrewnester in #2194
Manually checked that this databricks.yml passes validation on v0.235.0
but fails on v0.236.0, very like it was broken in
#1945
This also adds replacements for tmpdir, it's parent and (just in case)
grand parent.
Sign up for freeto 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.

3 participants

@denik@pietern@andrewnester