databricks-ci-integration

Featured

Configure Databricks CI/CD integration with GitHub Actions and Asset Bundles. Use when setting up automated testing, configuring CI pipelines, or integrating Databricks deployments into your build process. Trigger with phrases like "databricks CI", "databricks GitHub Actions", "databricks automated tests", "CI databricks", "databricks pipeline".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Databricks CI Integration ## Overview Automate Databricks deployments with Declarative Automation Bundles (DABs) and GitHub Actions. Covers bundle validation, unit testing PySpark transforms locally, deploying to staging on PR, production on merge, and integration testing against live workspaces. Uses `databricks/setup-cli` action and OAuth M2M for secure CI auth. ## Prerequisites - Databricks workspace with service principal (OAuth M2M) - Asset Bundle (`databricks.yml`) configured - GitHub repo with Actions enabled - GitHub environment secrets: `DATABRICKS_HOST`, `DATABRICKS_CLIENT_ID`, `DATABRICKS_CLIENT_SECRET` ## Instructions ### Step 1: GitHub Actions — Validate and Test on PR ```yaml # .github/workflows/databricks-ci.yml name: Databricks CI on: pull_request: paths: ['src/**', 'resources/**', 'databricks.yml', 'tests/**'] jobs: validate-and-test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: '3.10' - name: Install dependencies run: | pip install pytest pyspark delta-spark databricks-sdk pip install -e . # If using pyproject.toml - name: Run unit tests (local Spark, no cluster needed) run: pytest tests/unit/ -v --tb=short - name: Install Databricks CLI uses: databricks/setup-cli@main - name: Validate bundle env: DATABRICKS_HOST: ${{ secrets.DATABRICKS_HOST }} ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category