需先安装并配置 Databricks CLI(>= v0.236.0),否则无法拉取模板;初始化时会交互询问参数,需选择 CICD_and_Project、Project_Only 或 CICD_Only;该功能与 Databricks asset bundles 均处于 public preview 阶段,接口可能变动
mlops-stacks
databricksApache-2.0活跃维护在 Databricks 上快速搭建符合生产最佳实践的机器学习项目脚手架,开箱即用且可定制,省去从零配置 MLOps 流程的麻烦。
This repo provides a customizable stack for starting new ML projects on Databricks that follow production best-practices out of the box.
databricks bundle init mlops-stacksREADME 未说明,仅要求 Python 3.8+ 与 Databricks CLI >= v0.236.0,实际计算资源由 Databricks 工作区提供
在 Databricks 上一键生成带生产级 CI/CD 的 ML 项目脚手架
在 Databricks 上快速搭建符合生产最佳实践的机器学习项目脚手架,开箱即用且可定制,省去从零配置 MLOps 流程的麻烦。
核心能力
- 用 databricks bundle init 生成项目模板
- 内置训练与批量推理的示例 ML 代码结构
- 用 databricks CLI bundles 以代码定义 ML 资源
- 预置 GitHub Actions 或 Azure DevOps 的 CI/CD 工作流
- 按 dev、staging、prod 三环境走 PR 发布流程
容易踩的坑
- v0.5Databricks MLOps Stacks v0.5最新正式版2026-07-14 · 2026-07-14 20:25 UTC
Major Features
Deprecated & Removed
- Migrated off
FeatureStoreClientto the Feature Engineering client (databricks.feature_engineering) — action needed for existing stacks, as the old client is being sunset by Databricks - Removed non-Unity-Catalog code paths — UC is now the only supported model registry
- Removed classic cluster (
new_cluster/job_clusters) definitions in favor of serverless compute - Removed deprecated MLflow Recipes support
- Flattened project directory structure (removed nested
notebooks/subdirectories)
New Features
- Upgraded to MLflow 3.x across training, validation, and deployment
- All jobs now run on serverless compute by default (
environment_key/environments) - Added GitLab CI/CD support
What's Changed
- Feature eng dev mmt by @hengrumay in https://github.com/databricks/mlops-stacks/pull/157
- Model validation for FS models by @aliazzzdat in https://github.com/databricks/mlops-stacks/pull/165
- Fix dead links by @arpitjasa-db in https://github.com/databricks/mlops-stacks/pull/166
- Update Database name for Feature Engineering notebooks by @arpitjasa-db in https://github.com/databricks/mlops-stacks/pull/171
- Fix self-referencing filename by @kriscon-db in https://github.com/databricks/mlops-stacks/pull/177
- Explicitly set data security mode to SINGLE_USER, fix broken tests by @shichengzhou-db in https://github.com/databricks/mlops-stacks/pull/179
- Adding Gitlab support by @valx in https://github.com/databricks/mlops-stacks/pull/174
- Update python version from 3.8 to 3.10 in run-tests workflow by @mniels17 in https://github.com/databricks/mlops-stacks/pull/178
- Add bundle UUID and other metadata by @arpitjasa-db in https://github.com/databricks/mlops-stacks/pull/185
- Fix deploy pipeline failure ("staging: no such target...") by @ThomasHenckel in https://github.com/databricks/mlops-stacks/pull/187
- Add conditionals for catalog variable by @arpitjasa-db in https://github.com/databricks/mlops-stacks/pull/188
- Fix target naming in GitHub Actions files by @arpitjasa-db in https://github.com/databricks/mlops-stacks/pull/191
- Remove UC + GCP restriction by @arpitjasa-db in https://github.com/databricks/mlops-stacks/pull/193
- Updates to readme, and batch inference by @ThomasHenckel in https://github.com/databricks/mlops-stacks/pull/192
- Include notes and reference link on promoting model for stack-customization by @hengrumay in https://github.com/databricks/mlops-stacks/pull/200
- Pass python-version as string for GitHub Actions by @JaiLaff in https://github.com/databricks/mlops-stacks/pull/207
- Update MLflow 3.0 deprecated variable "higher_is_better" to "greater_is_better" by @isaacdtaylor in https://github.com/databricks/mlops-stacks/pull/210
- Simplify project structure — flatten notebooks, remove boilerplate by @veenaramesh in https://github.com/databricks/mlops-stacks/pull/219
- Remove deprecated MLflow Recipes support by @veenaramesh in https://github.com/databricks/mlops-stacks/pull/220
- Remove Unity Catalog conditionals — UC is the only model registry by @veenaramesh in https://github.com/databricks/mlops-stacks/pull/221
- Migrate from FeatureStoreClient to FeatureEngineeringClient by @veenaramesh in https://github.com/databricks/mlops-stacks/pull/222
- Upgrade to MLflow 3.x and simplify validation by @veenaramesh in https://github.com/databricks/mlops-stacks/pull/223
- Switch all job compute to serverless by @veenaramesh in https://github.com/databricks/mlops-stacks/pull/224
- Update docs for renamed products (Git folders, Lakeflow Jobs) by @janniklasrose in https://github.com/databricks/mlops-stacks/pull/225
- Bump stacks_version to 0.5 by @veenaramesh
New Contributors
- @hengrumay made their first contribution in https://github.com/databricks/mlops-stacks/pull/157
- @aliazzzdat made their first contribution in https://github.com/databricks/mlops-stacks/pull/165
- @kriscon-db made their first contribution in https://github.com/databricks/mlops-stacks/pu
- Migrated off
- v0.4Databricks MLOps Stacks v0.42024-06-07 · 2024-06-07 22:54 UTC
查看更新说明
Major Features
- Monitoring is now integrated into MLOps Stacks! 🎉
What's Changed
- Delete unused images by @arpitjasa-db in https://github.com/databricks/mlops-stacks/pull/154
- Update the version of matplotlib to avoid security issues by @lbcommer in https://github.com/databricks/mlops-stacks/pull/155
- Monitoring integration by @s-udhaya,@arpitjasa-db in https://github.com/databricks/mlops-stacks/pull/156
- Update monitoring resource by @arpitjasa-db in https://github.com/databricks/mlops-stacks/pull/161
- Make monitoring initially optional to allow creation of inference tables first by @arpitjasa-db in https://github.com/databricks/mlops-stacks/pull/162
- Bump up Stacks version by @arpitjasa-db in https://github.com/databricks/mlops-stacks/pull/163
New Contributors
- @lbcommer made their first contribution in https://github.com/databricks/mlops-stacks/pull/155
- @s-udhaya made their first contribution in https://github.com/databricks/mlops-stacks/pull/156
Full Changelog: https://github.com/databricks/mlops-stacks/compare/v0.3...v0.4
- v0.3Databricks MLOps Stacks v0.32024-03-01 · 2024-03-01 23:10 UTC
查看更新说明
Major Features
- Stacks can now be initialized as
Project_Only(recommended for Data Scientists) andCICD_Only(recommended for Machine Learning Engineers or MLEs) on top of the already supportedCICD_and_Projectoption. This will make it easier for everyone to get started with Stacks and provide native support for monorepos - GCP is now supported on MLOps Stacks 🎉 NOTE: Models in UC x GCP is not yet supported due to service principal-UC cluster restrictions.
What's Changed
- Make docs clearer by @arpitjasa-db in https://github.com/databricks/mlops-stacks/pull/109
- Add the minimum CLI version supported by the template by @shreyas-goenka in https://github.com/databricks/mlops-stacks/pull/116
- Use enum for selection type input parameters by @shreyas-goenka in https://github.com/databricks/mlops-stacks/pull/110
- Switch example staging and prod workspace URLs based on cloud provider by @shreyas-goenka in https://github.com/databricks/mlops-stacks/pull/111
- Set welcome message for the stack in the template schema by @shreyas-goenka in https://github.com/databricks/mlops-stacks/pull/112
- aws aod support by @qili86 in https://github.com/databricks/mlops-stacks/pull/114
- In the TrainWithFeatureStore notebook, set databricks-uc only when us model registry is used by @mingyu89 in https://github.com/databricks/mlops-stacks/pull/117
- Move regex validation checks to template schema by @shreyas-goenka in https://github.com/databricks/mlops-stacks/pull/108
- Update Docs in line with latest changes and BBoMLv2 by @arpitjasa-db in https://github.com/databricks/mlops-stacks/pull/118
- Update template to work with CLI v0.210.1 by @pietern in https://github.com/databricks/mlops-stacks/pull/121
- update MLOps Stacks repository landing page and the README template for created projects by @yinxi-db in https://github.com/databricks/mlops-stacks/pull/120
- Update README.md by @pietern in https://github.com/databricks/mlops-stacks/pull/126
- Fix Video Rendering on README by @arpitjasa-db in https://github.com/databricks/mlops-stacks/pull/130
- Add Support for Conditional Initialization by @arpitjasa-db in https://github.com/databricks/mlops-stacks/pull/132
- Fix the Model Validation by @qili86 in https://github.com/databricks/mlops-stacks/pull/131
- Fix README for GCP by @arpitjasa-db in https://github.com/databricks/mlops-stacks/pull/136
- Update ml-pull-request.md.tmpl by @yinxi-db in https://github.com/databricks/mlops-stacks/pull/139
- Fix Monorepo Setup & Separate by Role by @arpitjasa-db in https://github.com/databricks/mlops-stacks/pull/133
- Rename assets to resources by @arpitjasa-db in https://github.com/databricks/mlops-stacks/pull/145
- Fix schema validation by @arpitjasa-db in https://github.com/databricks/mlops-stacks/pull/146
- Fix README formatting & shorten initialization prompts by @arpitjasa-db in https://github.com/databricks/mlops-stacks/pull/147
- Remove workflow files to reduce repo size by @arpitjasa-db in https://github.com/databricks/mlops-stacks/pull/148
- Minor bug Fixes by @aravind-segu in https://github.com/databricks/mlops-stacks/pull/149
- Increment and standardize Stacks version by @arpitjasa-db in https://github.com/databricks/mlops-stacks/pull/150
- Fix doc links by @arpitjasa-db in https://github.com/databricks/mlops-stacks/pull/152
- Gcp workspace by @eric-golinko-db in https://github.com/databricks/mlops-stacks/pull/153
New Contributors
- @shreyas-goenka made their first contribution in https://github.com/databricks/mlops-stacks/pull/116
- @qili86 made their first contribution in https://github.com/databricks/mlops-stacks/pull/114
- @pietern made their first contribution in https://github.com/databricks/mlops-stacks/pull/121
- @aravind-segu made their first contribution in https://github.com/databricks/mlops-stacks/pull/149
Full Changelog: https://github.com/databricks/mlops-stacks/compare/v0.2...v0.3
- Stacks can now be initialized as
- v0.2Databricks MLOps Stacks v0.22023-10-19 · 2023-10-19 19:48 UTC
查看更新说明
Databricks MLOps Stacks Public Preview
MLOps Stacks is now in Public Preview, and the Private Preview sign-up blocker has been removed! 🎉 Anyone can get started with this project now with the latest version (>=
0.208.1) of the Databricks CLI.Major Features
- Project initialization is now done via Databricks Asset Bundle Templates instead of Cookiecutter
- Models in Unity Catalog is now supported and the recommended option in MLOps Stacks
What's Changed
- Remove an already resolved TODO block by @mingyu89 in https://github.com/databricks/mlops-stacks/pull/80
- Bump ADO workflow databricks cli version to 0.100.2 by @mingyu89 in https://github.com/databricks/mlops-stacks/pull/81
- Azure DevOps bundle cli installer update by @niall-turbitt in https://github.com/databricks/mlops-stacks/pull/82
- Fix link by @mingyu89 in https://github.com/databricks/mlops-stacks/pull/83
- Fix the path of requirements.txt in doc by @mingyu89 in https://github.com/databricks/mlops-stacks/pull/85
- Add env prefix to batch inference output table name by @mingyu89 in https://github.com/databricks/mlops-stacks/pull/87
- Fix inference output table name by @mingyu89 in https://github.com/databricks/mlops-stacks/pull/88
- Ado feature store by @eric-golinko-db in https://github.com/databricks/mlops-stacks/pull/91
- Enable azure ADO + feature store test by @mingyu89 in https://github.com/databricks/mlops-stacks/pull/92
- Replace MLflow Recipes as default option with Delta Tables by @arpitjasa-db in https://github.com/databricks/mlops-stacks/pull/93
- Migrate Mlops Stacks to use databricks asset templates for project creation by @mingyu89 in https://github.com/databricks/mlops-stacks/pull/96
- Add explicit link to databricks cli installation doc and releases page by @mingyu89 in https://github.com/databricks/mlops-stacks/pull/100
- Minor comments and doc improvement by @mingyu89 in https://github.com/databricks/mlops-stacks/pull/102
- Rename bundle.yml to databricks.yml by @mingyu89 in https://github.com/databricks/mlops-stacks/pull/101
- Update bundle related CICD to use ubuntu-22.04 by @mingyu89 in https://github.com/databricks/mlops-stacks/pull/104
- rename environments to targets and use -t instead of -e in bundle commands by @mingyu89 in https://github.com/databricks/mlops-stacks/pull/103
- Rename
databricks-resourcesfolder toresourcesby @zhe-db in https://github.com/databricks/mlops-stacks/pull/105 - Models uc update by @niall-turbitt in https://github.com/databricks/mlops-stacks/pull/106
- Rename Stack to Stacks and Fix Bugs by @arpitjasa-db in https://github.com/databricks/mlops-stacks/pull/107
New Contributors
- @eric-golinko-db made their first contribution in https://github.com/databricks/mlops-stacks/pull/91
Full Changelog: https://github.com/databricks/mlops-stacks/compare/v0.1...v0.2
- v0.1Databricks MLOps Stack v0.12023-05-23 · 2023-05-23 20:38 UTC
查看更新说明
What's Changed
- Update MLOps Stacks to Use Databricks Asset Bundles by @arpitjasa-db in https://github.com/databricks/mlops-stack/pull/77
- Bundles replace Terraform for resource and workflow deployment
Full Changelog: https://github.com/databricks/mlops-stack/compare/0.0.1...v0.1
- Update MLOps Stacks to Use Databricks Asset Bundles by @arpitjasa-db in https://github.com/databricks/mlops-stack/pull/77
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
Databricks MLOps Stacks
NOTE: This feature is in public preview.
This repo provides a customizable stack for starting new ML projects on Databricks that follow production best-practices out of the box.
Using Databricks MLOps Stacks, data scientists can quickly get started iterating on ML code for new projects while ops engineers set up CI/CD and ML resources management, with an easy transition to production. You can also use MLOps Stacks as a building block in automation for creating new data science projects with production-grade CI/CD pre-configured. More information can be found at https://docs.databricks.com/en/dev-tools/bundles/mlops-stacks.html.
The default stack in this repo includes three modular components:
| Component | Description | Why it's useful |
|---|---|---|
| ML Code | Example ML project structure (training and batch inference, etc), with unit tested Python modules and notebooks | Quickly iterate on ML problems, without worrying about refactoring your code into tested modules for productionization later on. |
| ML Resources as Code | ML pipeline resources (training and batch inference jobs, etc) defined through databricks CLI bundles | Govern, audit, and deploy changes to your ML resources (e.g. "use a larger instance type for automated model retraining") through pull requests, rather than adhoc changes made via UI. |
| CI/CD(GitHub Actions or Azure DevOps) | GitHub Actions or Azure DevOps workflows to test and deploy ML code and resources | Ship ML code faster and with confidence: ensure all production changes are performed through automation and that only tested code is deployed to prod |
See the FAQ for questions on common use cases.
ML pipeline structure and development loops
An ML solution comprises data, code, and models. These resources need to be developed, validated (staging), and deployed (production). In this repository, we use the notion of dev, staging, and prod to represent the execution environments of each stage.
An instantiated project from MLOps Stacks contains an ML pipeline with CI/CD workflows to test and deploy automated model training and batch inference jobs across your dev, staging, and prod Databricks workspaces.
Data scientists can iterate on ML code and file pull requests (PRs). This will trigger unit tests and integration tests in an isolated staging Databricks workspace. Model training and batch inference jobs in staging will immediately update to run the latest code when a PR is merged into main. After merging a PR into main, you can cut a new release branch as part of your regularly scheduled release process to promote ML code changes to production.
Develop ML pipelines
https://github.com/databricks/mlops-stacks/assets/87999496/00eed790-70f4-4428-9f18-71771051f92a
Create a PR and CI
https://github.com/databricks/mlops-stacks/assets/87999496/f5b3c82d-77a5-4ee5-85f5-8f00b026ae05
Merge the PR and deploy to Staging
https://github.com/databricks/mlops-stacks/assets/87999496/7239e4d0-2327-4d30-91cc-5e7f8328ef73
https://github.com/databricks/mlops-stacks/assets/87999496/013c0d32-c283-494b-8c3f-2a9a60366207
Deploy to Prod
https://github.com/databricks/mlops-stacks/assets/87999496/0d220d55-465e-4a69-bd83-1e66ad2e8464
See this page for detailed description and diagrams of the ML pipeline structure defined in the default stack.
Using MLOps Stacks
Prerequisites
- Python 3.8+
- Databricks CLI >= v0.236.0
Databricks CLI contains Databricks asset bundle templates for the purpose of project creation.
Please follow the instruction to install and set up databricks CLI. Releases of databricks CLI can be found in the releases section of databricks/cli repository.
Databricks asset bundles and Databricks asset bundle templates are in public preview.
Start a new project
To create a new project, run:
databricks bundle init mlops-stacks
This will prompt for parameters for initialization. Some of these parameters are required to get started:
input_setup_cicd_and_project: If both CI/CD and the project should be set up, or only one of them.CICD_and_Project- Setup both CI/CD and project, the default option.Project_Only- Setup project only, easiest for Data Scientists to get started with.CICD_Only- Setup CI/CD only, likely for monorepo setups or setting up CI/CD on an already initialized project. We expect Data Scientists to specifyProject_Onlyto get started in a development capacity, and when ready to move the project to Staging/Production, CI/CD can be set up. We expect that step to be done by Machine Learning Engineers (MLEs) who can specifyCICD_Onlyduring initialization and use the provided workflow to setup CI/CD for one or more projects.
input_root_dir: name of the root directory. When initializing withCICD_and_Project, this field will automatically be set toinput_project_name.input_cloud: Cloud provider you use with Databricks (AWS, Azure, or GCP).
Others must be correctly specified for CI/CD to work:
input_cicd_platform: CI/CD platform of choice. Currently we support GitHub Actions, GitHub Actions for GitHub Enterprise Servers, Azure DevOps and GitLab.input_databricks_staging_workspace_host: URL of staging Databricks workspace, used to preview config changes before they're deployed to production.
We encourage granting data scientists working on the current ML project non-admin (read) access to this workspace, to enable them to view and debug CI test resultsinput_databricks_prod_workspace_host: URL of production Databricks workspace. We encourage granting data scientists working on the current ML project non-admin (read) access to this workspace, to enable them to view production job status and see job logs to debug failures.input_default_branch: Name of the default branch, where the prod and staging ML resources are deployed from and the latest ML code is staged.input_release_branch: Name of the release branch. The production jobs (model training, batch inference) defined in this repo pull ML code from this branch.
Or used for project initialization:
input_project_name: name of the current projectinput_read_user_group: User group name to give READ permissions to for project resources (ML jobs, integration test job runs, and machine learning resources). A group with this name must exist in both the staging and prod workspaces. Defaults to "users", which grants read permission to all users in the staging/prod workspaces. You can specify a custom group name e.g. to restrict read permissions to members of the team working on the current ML project.input_schema_name: Specifies the name of the schema, under Models in Unity Catalog, under which the models should be registered, but we recommend keeping the name the same as the project name. We default to using the sameschema_nameacross catalogs, thus this schema must exist in each catalog used. For example, the training pipeline when executed in the staging environment will register the model tostaging.<schema_name>.<model_name>, whereas the same pipeline executed in the prod environment will register the mode toprod.<schema_name>.<model_name>. Also, be sure that the service principals in each respective environment have the right permissions to access this schema, which would beUSE_CATALOG,USE_SCHEMA,MODIFY,CREATE_MODEL, andCREATE_TABLE.input_unity_catalog_read_user_group: Defines the name of the user group to grantEXECUTE(read & use model) privileges for the registered model in Unity Catalog. Defaults to "account users".input_include_feature_store: If selected, will provide Databricks Feature Store stack components including: project structure and sample feature Python modules, feature engineering notebooks, ML resource configs to provision and manage Feature Store jobs, and automated integration tests covering feature engineering and training.
See the generated README.md for next steps!
Customize MLOps Stacks
Your organization can use the default stack as is or customize it as needed, e.g. to add/remove components or adapt individual components to fit your organization's best practices. See the stack customization guide for more details.
FAQ
Do I need separate dev/staging/prod workspaces to use MLOps Stacks?
We recommend using separate dev/staging/prod Databricks workspaces for stronger isolation between environments. For example, Databricks REST API rate limits are applied per-workspace, so if using Databricks Model Serving, using separate workspaces can help prevent high load in staging from DOSing your production model serving endpoints.
However, you can create a single workspace stack, by supplying the same workspace URL for
input_databricks_staging_workspace_host and input_databricks_prod_workspace_host.
If you go this route, we
recommend using different service principals to manage staging vs prod resources,
to ensure that CI workloads run in staging cannot interfere with production resources.
I have an existing ML project. Can I productionize it using MLOps Stacks?
Yes. Currently, you can instantiate a new project and copy relevant components
into your existing project to productionize it. MLOps Stacks is modularized, so
you can e.g. copy just the GitHub Actions workflows under .github or ML resource configs
under {{.input_root_dir}}/{{template `project_name_alphanumeric_underscore` .}}/resources
and {{.input_root_dir}}/{{template `project_name_alphanumeric_underscore` .}}/databricks.yml into your existing project.
Can I adopt individual components of MLOps Stacks?
For this use case, we recommend instantiating via Databricks asset bundle templates
and copying the relevant subdirectories. For example, all ML resource configs
are defined under {{.input_root_dir}}/{{template `project_name_alphanumeric_underscore` .}}/resources
and {{.input_root_dir}}/{{template `project_name_alphanumeric_underscore` .}}/databricks.yml, while CI/CD is defined e.g. under .github
if using GitHub Actions, or under .azure if using Azure DevOps.
Can I customize my MLOps Stack?
Yes. We provide the default stack in this repo as a production-friendly starting point for MLOps. However, in many cases you may need to customize the stack to match your organization's best practices. See the stack customization guide for details on how to do this.
Does the MLOps Stacks cover data (ETL) pipelines?
Since MLOps Stacks is based on databricks CLI bundles, it's not limited only to ML workflows and resources - it works for resources across the Databricks Lakehouse. For instance, while the existing ML code samples contain feature engineering, training, model validation, deployment and batch inference workflows, you can use it for Delta Live Tables pipelines as well.
How can I provide feedback?
Please provide feedback (bug reports, feature requests, etc) via GitHub issues.
Contributing
We welcome community contributions. For substantial changes, we ask that you first file a GitHub issue to facilitate discussion, before opening a pull request.
MLOps Stacks is implemented as a Databricks asset bundle template
that generates new projects given user-supplied parameters. Parametrized project code can be found under
the {{.input_root_dir}} directory.
Installing development requirements
To run tests, install actionlint,
databricks CLI, npm, and
act, then install the Python
dependencies listed in dev-requirements.txt:
pip install -r dev-requirements.txt
Running the tests
NOTE: This section is for open-source developers contributing to the default stack
in this repo. If you are working on an ML project using the stack (e.g. if you ran databricks bundle init
to start a new project), see the README.md within your generated
project directory for detailed instructions on how to make and test changes.
Run unit tests:
pytest tests
Run all tests (unit and slower integration tests):
pytest tests --large
Run integration tests only:
pytest tests --large-only
Previewing changes
When making changes to MLOps Stacks, it can be convenient to see how those changes affect a generated new ML project. To do this, you can create an example project from your local checkout of the repo, and inspect its contents/run tests within the project.
We provide example project configs for Azure (using both GitHub and Azure DevOps), AWS (using GitHub), and GCP (using GitHub) under tests/example-project-configs.
To create an example Azure project, using Azure DevOps as the CI/CD platform, run the following from the desired parent directory
of the example project:
# Note: update MLOPS_STACKS_PATH to the path to your local checkout of the MLOps Stacks repo
MLOPS_STACKS_PATH=~/mlops-stacks
databricks bundle init "$MLOPS_STACKS_PATH" --config-file "$MLOPS_STACKS_PATH/tests/example-project-configs/azure/azure-devops.json"
To create an example AWS project, using GitHub Actions for CI/CD, run:
# Note: update MLOPS_STACKS_PATH to the path to your local checkout of the MLOps Stacks repo
MLOPS_STACKS_PATH=~/mlops-stacks
databricks bundle init "$MLOPS_STACKS_PATH" --config-file "$MLOPS_STACKS_PATH/tests/example-project-configs/aws/aws-github.json"
To create an example GCP project, using GitHub Actions for CI/CD, run:
# Note: update MLOPS_STACKS_PATH to the path to your local checkout of the MLOps Stacks repo
MLOPS_STACKS_PATH=~/mlops-stacks
databricks bundle init "$MLOPS_STACKS_PATH" --config-file "$MLOPS_STACKS_PATH/tests/example-project-configs/gcp/gcp-github.json"