2025-01-20 10:15:11 +00:00
|
|
|
trace $CLI bundle init experimental-jobs-as-code --config-file ./input.json --output-dir output
|
|
|
|
|
|
|
|
cd output/my_jobs_as_code
|
|
|
|
|
|
|
|
# silence uv output because it's non-deterministic
|
2025-01-27 14:25:56 +00:00
|
|
|
uv sync -q
|
2025-01-20 10:15:11 +00:00
|
|
|
|
|
|
|
# remove version constraint because it always creates a warning on dev builds
|
|
|
|
cat databricks.yml | grep -v databricks_cli_version > databricks.yml.new
|
|
|
|
mv databricks.yml.new databricks.yml
|
|
|
|
|
|
|
|
trace $CLI bundle validate -t dev --output json | jq ".resources"
|
2025-01-23 10:59:01 +00:00
|
|
|
|
|
|
|
rm -fr .venv resources/__pycache__ uv.lock my_jobs_as_code.egg-info
|