dbx
dbx copied to clipboard
[Feature] `--dry-run` option for deployment
Expected Behavior
an option to dry-run a deployment would read and parse the deployment file, make all plans for upload and deployment, print the planned changes and uploads to the console, but would not execute any of these changes.
The usecase is that we have a CICD pipline where we would like to detect broken templates in the unit-test phase, before the PR is merged and deployed.
Current Behavior
Currently deploy always applies the planned changes.
Steps to Reproduce (for bugs)
n/a
Context
Your Environment
- dbx version used: 0.6.3
- Databricks Runtime version:
On my project, we have developed a validator using the Jobs API json schema, but it did not have any planning in place. The schema detects broken deployment files but it does not plan any changes. Having something like this would solve your issue?
well partially. In our pipeline we have replicated something to build our deployment file because we use a lot of jinja2. What you are offering is a step up, but what I really need is confirmation from dbx that it is working as expected. We update our dependencies in a PR with a CICD pipeline to check that everything still works with updated dependencies. But dbx is one thing we cannot test, and we have had breakdowns because of this.
Are there any updates on this?