Skip to content

Commit

Permalink
chore(deps): use dbt 1.7 in CD and data pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
portovep committed Apr 9, 2024
1 parent 629aca2 commit db75ed0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/cd-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ name: CD Pipeline
on:
push:

env:
DBT_VERSION: "1.7.7"
jobs:
test:
name: Test
runs-on: ubuntu-latest
container:
image: ghcr.io/dbt-labs/dbt-postgres:1.6.3
image: ghcr.io/dbt-labs/dbt-postgres:${{ env.DBT_VERSION }}
env:
POSTGRES_HOST: ${{ vars.POSTGRES_HOST }}
POSTGRES_USER: ${{ vars.POSTGRES_USER }}
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ env:
POSTGRES_USER: ${{ vars.POSTGRES_USER }}
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
POSTGRES_DB: ${{ vars.POSTGRES_DB }}
DBT_VERSION: "1.7.7"

jobs:
seed-source-tables:
name: Seed source tables
runs-on: ubuntu-latest
environment: ${{ inputs.environment-name }}
container:
image: ghcr.io/dbt-labs/dbt-postgres:1.6.3
image: ghcr.io/dbt-labs/dbt-postgres:${{ env.DBT_VERSION }}
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -35,7 +36,7 @@ jobs:
runs-on: ubuntu-latest
environment: ${{ inputs.environment-name }}
container:
image: ghcr.io/dbt-labs/dbt-postgres:1.6.3
image: ghcr.io/dbt-labs/dbt-postgres:${{ env.DBT_VERSION }}
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -54,7 +55,7 @@ jobs:
runs-on: ubuntu-latest
environment: ${{ inputs.environment-name }}
container:
image: ghcr.io/dbt-labs/dbt-postgres:1.6.3
image: ghcr.io/dbt-labs/dbt-postgres:${{ env.DBT_VERSION }}
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -71,7 +72,7 @@ jobs:
runs-on: ubuntu-latest
environment: ${{ inputs.environment-name }}
container:
image: ghcr.io/dbt-labs/dbt-postgres:1.6.3
image: ghcr.io/dbt-labs/dbt-postgres:${{ env.DBT_VERSION }}
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down

0 comments on commit db75ed0

Please sign in to comment.