do not add 'trace' in front of diff.py to avoid slashes difference on Windows

This commit is contained in:
Denis Bilenko 2025-02-14 13:15:33 +01:00
parent dca31a792f
commit 406cd3f894
6 changed files with 4 additions and 10 deletions

View File

@ -8,5 +8,3 @@ Workspace to use (auto-detected, edit in 'my_default_python/databricks.yml'): [D
Please refer to the README.md file for "getting started" instructions.
See also the documentation at https://docs.databricks.com/dev-tools/bundles/index.html.
>>> diff.py [TESTROOT]/bundle/templates/default-python/serverless-auto-disabled/../classic/output output/

View File

@ -2,6 +2,6 @@ trace $CLI bundle init default-python --config-file ./input.json --output-dir ou
mv output/my_default_python/.gitignore output/my_default_python/out.gitignore
# serverless is disabled, same output as for classic
trace diff.py $TESTDIR/../classic/output output/
diff.py $TESTDIR/../classic/output output/
rm -fr output

View File

@ -8,5 +8,3 @@ Workspace to use (auto-detected, edit in 'my_default_python/databricks.yml'): [D
Please refer to the README.md file for "getting started" instructions.
See also the documentation at https://docs.databricks.com/dev-tools/bundles/index.html.
>>> diff.py [TESTROOT]/bundle/templates/default-python/serverless-auto-enabled/../serverless/output output/

View File

@ -2,6 +2,6 @@ trace $CLI bundle init default-python --config-file ./input.json --output-dir ou
mv output/my_default_python/.gitignore output/my_default_python/out.gitignore
# serverless is enabled, same output as serverless enabled explicitly:
trace diff.py $TESTDIR/../serverless/output output/
diff.py $TESTDIR/../serverless/output output/
rm -fr output

View File

@ -9,5 +9,3 @@ Workspace to use (auto-detected, edit in 'my_default_python/databricks.yml'): [D
Please refer to the README.md file for "getting started" instructions.
See also the documentation at https://docs.databricks.com/dev-tools/bundles/index.html.
>>> diff.py [TESTROOT]/bundle/templates/default-python/serverless-auto-error/../classic/output output/

View File

@ -1,6 +1,6 @@
trace $CLI bundle init default-python --config-file ./input.json --output-dir output
mv output/my_default_python/.gitignore output/my_default_python/out.gitignore
# Could not check if serverless is enabled, same output as classic:
trace diff.py $TESTDIR/../classic/output output/
# If serverless is "auto" and there was an error reaching settings-api, we should get the same output as 'classic'
diff.py $TESTDIR/../classic/output output/
rm -fr output