Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.
/ homebrew-dbt Public archive

🍻 Homebrew formulae for installing dbt on macOS

Notifications You must be signed in to change notification settings

dbt-labs/homebrew-dbt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository is now archived

See our docs on core installation for alternative supported installation methods.


homebrew-dbt

This repository contains formulae for multiple versions of dbt and supported adapters.

Repo Structure


Aliases

Contains a single file for every minor release starting with 1.0.

These files define the most recent patch for a version when only given .

Example:
Installing dbt-postgres 1.0 actually installs dbt-postgres 1.0.7


Formula

Contains every formula for every version of dbt adapters released to homebrew.

Each adapter has a default version that points to the highest final version that has been released. This allows the crosswalk of brew install dbt-postgres to know what version to install. The default formula version gets updated when a new version is released.


.github

Contains workflows (automated and manually triggered) and scripts used to generate new formulae and test installation on published formulae.
  1. formula.yml

    Workflow to generate a new formula for the input version. Can check the is-default-version box on submission and it was generate the formular for the input version as well as replace the default verion.

    Uses homebrew-pypi-poet to generate the formula.

    • Modifies generated formula with .github/process-python-resources.py
    • Modifies generated formula with formula-template.j2
  2. formula-template.j2

    Modifications to formula produced by poet.

    • Uses j2cli to modify the file after the fact.

    • Adds some dependencies that poet does not.

  3. installation-tests.yml

    Automated tests of homebrew installations. Runs nightly to catch failures.


Local Development

  • Install act to be able to test locally.
  • Update .github/example.event.json accordingly, run act workflow_dispatch --eventpath .github/example.event.json -W .github/workflows/formula.ymlto test.

About

🍻 Homebrew formulae for installing dbt on macOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages