Bundles (Recommended)
Prerequisites¶
- Install Locally (optional):
- Python >= 3.8
- Configure the databricks cli cfg file.
pip install databricks-cli
and thendatabricks configure -t
which will configure the databricks cli with a token.
Setup Project¶
-
The first step is to initialize the project. It will do the following:
- Create the entrypoint.py file in your workflows module.
- Update your .gitignore file with the correct directories to ignore.
-
To initialize the project inside the bfs shell run:
-
It will prompt you for the:
- Project Name
- Git https url of your project
- Workflows Directory Path
- Brickflow Version
- Spark Expectations Version
gitignore¶
-
For now all the bundle.yml files will be code generated so you can add the following to your .gitignore file:
Post Setup¶
-
To deploy run the following command
-
To destroy run the following command