Skip to content

CI/CD

Overview

Balto has built-in support for CI/CD workflows. Integrate directly with Github using our Github App, or easily integrate Balto into your existing CI/CD workflows by simply calling the stored procedures provided by the Balto Native App.

Github Integration

  1. To install the Balto Gitub app first call the balto.config.setup_github procedure:

    1
    CALL balto.config.setup_github();
    

  2. Click the link that's returned to initiate the installation of the Github app: setup link

  3. Install the Github app for a specific repository or all repos: install

  4. Confirm your Snowflake Account confirm

  5. Success! The Github app is now connected and deploys will begin being routed to the Balto Snowflake App. success

Deploy Config

You repo must contain the following config file in order for the Balto Orchestrator to recognize it as a Balto project:

.balto/config.yml
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
on:
  push:
    branches:
      - main

jobs:
  deploy:
    project_directory: .
    environment:
      database: jaffle
      schema: test