Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve airflow dags and testing #223

Merged
merged 158 commits into from
Jan 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
2c203cb
Add Tests and best practices
Nov 12, 2024
45b35cf
update docker image
Nov 12, 2024
a6ee503
update ci airflow image with PIS
Nov 12, 2024
1c470f6
update command in airflow ci tests
Nov 12, 2024
41860d2
New ci-airflow image
BAntonellini Nov 13, 2024
0497f45
update paths and image
Nov 13, 2024
d72929c
add env vars
Nov 13, 2024
319d93e
add env var
Nov 13, 2024
0e8ccce
Add plugins and provider
BAntonellini Nov 13, 2024
09bc1c6
Merge branch 'improve_airflow_dags' of github.com:datacoves/balboa in…
BAntonellini Nov 13, 2024
935e30e
Update yml dags with retries, datacoves secrets backend, and retries
Nov 14, 2024
08e02c9
Updated dag default args, tags, etc
Nov 15, 2024
12e7db5
update GH concurrency groups
Nov 15, 2024
691dee7
update best practice dags
Nov 15, 2024
00dcef2
rename workflows
Nov 15, 2024
b95aef6
Add a warning to a test
Nov 15, 2024
65e1ddc
force color in GH Actions
Nov 15, 2024
377d816
use a custom action
Nov 15, 2024
b5eff28
update warning display
Nov 15, 2024
700a836
try to show a warning
Nov 15, 2024
cbc50bd
update action to show annotation
Nov 15, 2024
d3def02
Updated action to fix error
Nov 15, 2024
ebdcf38
Add My Airflow Setup
Nov 15, 2024
574a595
Add Dagster example
Nov 15, 2024
1746da9
add parameter dag sample and update startup script
Nov 17, 2024
5e5223c
remove extra docs line
Nov 17, 2024
ea6beb5
Add full path to scripts and move cache dirs to /tmp
Nov 18, 2024
67951ce
New data_sync decorators and dags
BAntonellini Nov 19, 2024
b59ebe0
Unify data_sync decorators on a single one
BAntonellini Nov 20, 2024
01d0c76
Sanitize db_type into lowercase
BAntonellini Nov 20, 2024
20d117a
Change db_type error message
BAntonellini Nov 20, 2024
3823bcd
remove extra items
Nov 25, 2024
76f6dcb
add addtional config and full paths
Nov 25, 2024
9291c49
Update Dagster local
Nov 25, 2024
cbd0f24
Update ci-airflow image
BAntonellini Nov 26, 2024
bf7c34d
separate deployment and drop db steps
Nov 26, 2024
4dede6d
Merge branch 'main' into improve_airflow_dags
Dec 7, 2024
45b4406
update docker image for airflow ci
Dec 7, 2024
99f7304
update action for airflow
Dec 7, 2024
5c76e9c
fit step
Dec 7, 2024
352b8ee
update ci image
Dec 9, 2024
264e0fd
update image
Dec 9, 2024
cbd1ba1
rename dag and update tags
Dec 9, 2024
f4dcc2e
add retries and allowed operators
Dec 9, 2024
ab45c5a
fix retries
Dec 9, 2024
513e5fd
fix allowed decorator names
Dec 9, 2024
de45301
rename data_testing folder to observe
Dec 9, 2024
6efed61
update airflow action
Dec 9, 2024
8ab27f1
New ci-airflow image
BAntonellini Dec 10, 2024
ac535d2
New ci-airflow image
BAntonellini Dec 10, 2024
6da64a0
New ci-airflow image
BAntonellini Dec 10, 2024
5237251
New ci-airflow image
BAntonellini Dec 10, 2024
ebea28d
Change output filename
BAntonellini Dec 10, 2024
07bb6ba
Bad variable usage dag
BAntonellini Dec 10, 2024
fa90bae
Implement pytest-summar
BAntonellini Dec 10, 2024
93a078f
Show 'all' tests in pytest-summary
BAntonellini Dec 11, 2024
e6ab438
Implement log-file
BAntonellini Dec 11, 2024
3499fac
Implement log-file
BAntonellini Dec 11, 2024
4426081
Configure log-level
BAntonellini Dec 11, 2024
9b9f26f
Roll-back to stdout piping to markdown
BAntonellini Dec 11, 2024
e590242
Upload artifact for debugging
BAntonellini Dec 11, 2024
95fe338
update recce version
Dec 11, 2024
d1c7982
update dbt-api sample script
Dec 11, 2024
9c5bcfa
dbt will default a ref of a versioned model to the latest version, so…
Dec 11, 2024
f6dc686
Implement NO_COLOR
BAntonellini Dec 12, 2024
7fb2af4
Merge branch 'improve_airflow_dags' of github.com:datacoves/balboa in…
BAntonellini Dec 12, 2024
22582be
add macro and view to track test errors for dynamic tables
Dec 12, 2024
649829e
Merge branch 'improve_airflow_dags' of github.com:datacoves/balboa in…
Dec 12, 2024
d85d9be
update sqlfluff ignored files
Dec 17, 2024
246d157
Add macro that can generate view of the latest version of a versioned…
Dec 20, 2024
c12946a
add missing yml file and update package version
Dec 20, 2024
aa13ce4
update airflow ci version and remove unused action
Dec 20, 2024
2742c1c
update airflow CI steps and force an dag errors
Dec 20, 2024
620ac05
make task run dlt
Dec 21, 2024
91fe2b9
update import
Dec 21, 2024
4be2076
update dags
Dec 21, 2024
54e9f7b
update dlt version
Dec 21, 2024
c248d72
add debug msgs
Dec 21, 2024
3ab7dde
update debug msg
Dec 21, 2024
78a6ea6
remove enlighten
Dec 21, 2024
192725d
add comment
Dec 21, 2024
d49e76d
remove enlighten progress
Dec 21, 2024
af95805
add debug statements
Dec 21, 2024
5231ecd
add debug statements
Dec 21, 2024
3bef7ea
add debug statements
Dec 21, 2024
6bd5f9a
add debug statements
Dec 21, 2024
9e1b826
add debug statements
Dec 21, 2024
cbbd201
add debug statements
Dec 21, 2024
f7f7e6d
add debug statements
Dec 21, 2024
08b4e5a
update dag and my_airflow requirements
Dec 21, 2024
67a32b3
Add commented create_latest_version_view to dbt_profile
Dec 21, 2024
e12a7ab
comment out sample test
Dec 21, 2024
998dc67
create test_failures view
Dec 21, 2024
bdf9b15
update integration steps
Dec 21, 2024
f478161
update gh action for airflow
Dec 21, 2024
7609d2c
update the upload command
Dec 21, 2024
e8e9760
change pytest step to exit with right code
Dec 21, 2024
83d0552
make validations only have a warning
Dec 21, 2024
7dc0197
update step
Dec 21, 2024
b4a36be
update step
Dec 21, 2024
ed24f63
update validation step
Dec 21, 2024
b85cc78
update step
Dec 21, 2024
4e11ec0
try change to step
Dec 21, 2024
c7d39b8
test another approach
Dec 21, 2024
a3bf19f
test posting comment
Dec 21, 2024
6a84a11
test comment
Dec 21, 2024
5ad0de2
test adding the comment
Dec 21, 2024
7e87857
test adding the comment
Dec 21, 2024
55f40d6
test commenting
Dec 21, 2024
8fe2de6
test comment
Dec 21, 2024
083ad2e
fix output file path
Dec 21, 2024
77f1f08
update message
Dec 21, 2024
015f9a8
try a custom formatter
Dec 21, 2024
375592c
update path
Dec 22, 2024
eb22dea
update airflow step
Dec 22, 2024
1853ad1
improve the reporter
Dec 22, 2024
c29bf12
update reporter
Dec 22, 2024
03a3128
New ci-airflow image
BAntonellini Dec 23, 2024
5343166
New ci-airflow image
BAntonellini Dec 24, 2024
a08930a
New ci-airflow image
BAntonellini Dec 24, 2024
885033e
Testing passing vars
Dec 24, 2024
72be272
test task group
Dec 26, 2024
e6ce768
test var
Dec 26, 2024
598dbed
test var in script
Dec 26, 2024
704961b
test var in script
Dec 26, 2024
6969d70
New ci-airflow image
BAntonellini Dec 27, 2024
a1e31ec
updated sample dag
Dec 29, 2024
7102d2b
Merge branch 'improve_airflow_dags' into airflow_development
Dec 29, 2024
5885ef6
Merge branch 'improve_airflow_dags' of github.com:datacoves/balboa in…
Dec 29, 2024
2af2524
update sample
Dec 29, 2024
92a873f
Merge branch 'improve_airflow_dags' into airflow_development
Dec 29, 2024
43aeca8
fix typo
Dec 29, 2024
2d25feb
fix bug
Dec 29, 2024
39a5da4
update dag
Dec 29, 2024
36dc5f2
add sample to run databricks notebook
Dec 29, 2024
8cdb416
add run or retry example
Dec 30, 2024
9a1c2d4
add missing operator import
Dec 30, 2024
7e2e73c
New CI-Airflow image with custom_reporter inside of it
BAntonellini Jan 2, 2025
0fda776
Fix conftest
BAntonellini Jan 2, 2025
8d5aad2
Provide Variables of default values
BAntonellini Jan 3, 2025
a1f67f6
Remove unnecessary comments
BAntonellini Jan 3, 2025
2c5f3ca
Remove var defaults, set them at pytest.ini
BAntonellini Jan 3, 2025
7305b17
Remove env vars from pytest.ini, use conftest session fixture
BAntonellini Jan 3, 2025
ead3607
New ci image with pytest-env, variables in pytest.ini
BAntonellini Jan 7, 2025
8bf8921
update file reference
Jan 23, 2025
986e46d
Update integration_airflow.yml
noel Jan 24, 2025
bbb541b
Add snowflake + Claude example
Jan 25, 2025
d94676c
Add sample data aware dag
Jan 25, 2025
0227af8
Merge branch 'improve_airflow_dags' of github.com:datacoves/balboa in…
Jan 25, 2025
e51494e
remove retry dag from branch
Jan 25, 2025
dc527a0
Merge branch 'main' into improve_airflow_dags
Jan 25, 2025
d5883a6
rename GH workflows
Jan 25, 2025
e7e599d
add a default value to variable get
Jan 25, 2025
0524c4e
simplify loans data dlt script
Jan 25, 2025
320155a
remove recce state file
Jan 25, 2025
7290632
ignore recce state file
Jan 25, 2025
b9bc4ca
update dbt api script and dags
Jan 25, 2025
fb432f6
revert changes to dbt models and enable gh action
Jan 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 67 additions & 0 deletions .github/workflows/10_integrate_airflow_changes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# orchestrate-workflow.yml
name: 🎯 Airflow Validations

on: # yamllint disable-line rule:truthy
pull_request:
paths:
- orchestrate/*
- orchestrate/**/*

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# This cancels a run if another change is pushed to the same branch
concurrency:
group: orchestrate-${{ github.ref }}
cancel-in-progress: true

jobs:
airflow:
name: Pull Request Airflow Tests
runs-on: ubuntu-latest
# container: datacoves/ci-airflow-dbt-snowflake:3.3
container: datacoves/ci-airflow-dbt-snowflake:3.3

env:
AIRFLOW__CORE__DAGS_FOLDER: /__w/${{ github.event.repository.name }}/${{ github.event.repository.name }}/orchestrate/dags
AIRFLOW__CORE__DAGBAG_IMPORT_TIMEOUT: 300
AIRFLOW__ARTIFACTS_PATH: /__w/${{ github.event.repository.name }}/${{ github.event.repository.name }}/orchestrate
DBT_PROFILES_DIR: /__w/${{ github.event.repository.name }}/${{ github.event.repository.name }}/automate/dbt
DATACOVES__DBT_HOME: /__w/${{ github.event.repository.name }}/${{ github.event.repository.name }}/transform
DATACOVES__REPO_PATH: /__w/${{ github.event.repository.name }}/${{ github.event.repository.name }}
PYTHONPATH: /__w/${{ github.event.repository.name }}/${{ github.event.repository.name }}
FORCE_COLOR: 1
OUTPUT_FILE: /__w/${{ github.event.repository.name }}/${{ github.event.repository.name }}/test_output.md

steps:
- name: Checkout branch
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}

- name: Test DAGs Load time and variable usage at top level
id: test_load_time_variables
run: python /usr/app/test_dags.py --dag-loadtime-threshold 1 --check-variable-usage --write-output --filename "$OUTPUT_FILE"

# if write-output is set in the prior step, the following step will run
- name: Add PR comment of results of test_load_time_variables tests
uses: thollander/actions-comment-pull-request@v2
with:
filePath: ${{ env.OUTPUT_FILE }}
comment_tag: Test DAGs Load time and variable usage at top level

- name: Custom Airflow Validation Tests
env:
NO_COLOR: 1
run: pytest $AIRFLOW__ARTIFACTS_PATH/test_dags/validate_dags.py --output-file "$OUTPUT_FILE"


- name: Add PR comment of results of custom Airflow validation tests
if: always()
uses: thollander/actions-comment-pull-request@v2
with:
# filePath: formatted_output.md
filePath: ${{ env.OUTPUT_FILE }}
comment_tag: Custom Tests
GITHUB_TOKEN: ${{ github.token }}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test and Check on Pull Request
name: 🔄 dbt Validations & Governance Checks"

on: # yamllint disable-line rule:truthy
pull_request:
Expand All @@ -11,7 +11,7 @@ on: # yamllint disable-line rule:truthy

# This cancels a run if another change is pushed to the same branch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: transform-${{ github.ref }}
cancel-in-progress: true

jobs:
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:

# There is an issue with --empty and dynamic tables so need to exclude them
- name: Governance run of dynamic tables
run: "dbt build --fail-fast -s config.materialized:dynamic_table --defer --state logs"
run: "dbt build --fail-fast -s config.materialized:dynamic_table -s test_failures --defer --state logs"

# There is an issue with --empty and dynamic tables so need to exclude them
- name: Governance run of dbt with EMPTY models using slim mode
Expand Down
60 changes: 60 additions & 0 deletions .github/workflows/20_drop_integration_db.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: 🗑️ Drop test databases

on: # yamllint disable-line rule:truthy
pull_request:
types:
- closed

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
# Drops the temporary PR database
drop-pr-db-on-close:
name: Drop PR Database on Close

runs-on: ubuntu-latest

# Set environment variables in
# https://github.com//<your org>/<your repo>/settings/variables/actions
#
# Alternatively, You can define multiple ENV for different workflows.
# https://github.com/<org>/<repo>/settings/environments
# environment: PR_ENV
container: datacoves/ci-basic-dbt-snowflake:3.2

defaults:
run:
working-directory: /__w/${{ github.event.repository.name }}/${{ github.event.repository.name }}/transform

env:
DBT_PROFILES_DIR: /__w/${{ github.event.repository.name }}/${{ github.event.repository.name }}/automate/dbt
DATACOVES__DBT_HOME: /__w/${{ github.event.repository.name }}/${{ github.event.repository.name }}/transform
DATACOVES__YAML_DAGS_FOLDER: /__w/${{ github.event.repository.name }}/${{ github.event.repository.name }}/schedule

DATACOVES__MAIN__ACCOUNT: ${{ vars.DATACOVES__MAIN__ACCOUNT }}

DATACOVES__MAIN__DATABASE: ${{ vars.DATACOVES__MAIN__DATABASE }}_PR_${{ github.event.number }}
DATACOVES__MAIN__SCHEMA: ${{ vars.DATACOVES__MAIN__SCHEMA }}

DATACOVES__MAIN__ROLE: ${{ vars.DATACOVES__MAIN__ROLE }}
DATACOVES__MAIN__WAREHOUSE: ${{ vars.DATACOVES__MAIN__WAREHOUSE }}

DATACOVES__MAIN__USER: ${{ vars.DATACOVES__MAIN__USER }}
DATACOVES__MAIN__PASSWORD: ${{ secrets.DATACOVES__MAIN__PASSWORD }}

steps:
- name: Checkout branch
uses: actions/checkout@v3.5.0
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}

- name: Set Secure Directory
run: git config --global --add safe.directory /__w/${{ github.event.repository.name }}/${{ github.event.repository.name }}

- name: Install dbt packages
run: "dbt deps"

- name: Drop PR database
run: "dbt --no-write-json run-operation drop_recreate_db --args '{db_name: ${{env.DATACOVES__MAIN__DATABASE}}, recreate: False}'" # yamllint disable-line rule:line-length
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: Perform deployment to production
name: 🚀 Deploy to Production

on: # yamllint disable-line rule:truthy
pull_request:
types:
- closed
push:
branches:
- main
paths:
Expand All @@ -19,9 +17,6 @@ jobs:

# Perform the deployment to Prod
build:
# Need to make sure that when the PR was closed, it was actually merged.
if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main'

name: Deployment Script
runs-on: ubuntu-latest

Expand Down Expand Up @@ -123,54 +118,3 @@ jobs:
- name: Drop staging db on Failure
if: always() && (steps.run-blue-green.outcome == 'failure')
run: "dbt --no-write-json run-operation drop_staging_db --args 'db_name: ${{env.DATACOVES__STAGING__DATABASE}}'" # yamllint disable-line rule:line-length

# Drops the temporary PR database
drop-pr-db-on-close:
name: Drop PR Database on Close
if: ${{ always() }}

runs-on: ubuntu-latest

# Set environment variables in
# https://github.com//<your org>/<your repo>/settings/variables/actions
#
# Alternatively, You can define multiple ENV for different workflows.
# https://github.com/<org>/<repo>/settings/environments
# environment: PR_ENV
container: datacoves/ci-basic-dbt-snowflake:3.2

defaults:
run:
working-directory: /__w/${{ github.event.repository.name }}/${{ github.event.repository.name }}/transform

env:
DBT_PROFILES_DIR: /__w/${{ github.event.repository.name }}/${{ github.event.repository.name }}/automate/dbt
DATACOVES__DBT_HOME: /__w/${{ github.event.repository.name }}/${{ github.event.repository.name }}/transform
DATACOVES__YAML_DAGS_FOLDER: /__w/${{ github.event.repository.name }}/${{ github.event.repository.name }}/schedule

DATACOVES__MAIN__ACCOUNT: ${{ vars.DATACOVES__MAIN__ACCOUNT }}

DATACOVES__MAIN__DATABASE: ${{ vars.DATACOVES__MAIN__DATABASE }}_PR_${{ github.event.number }}
DATACOVES__MAIN__SCHEMA: ${{ vars.DATACOVES__MAIN__SCHEMA }}

DATACOVES__MAIN__ROLE: ${{ vars.DATACOVES__MAIN__ROLE }}
DATACOVES__MAIN__WAREHOUSE: ${{ vars.DATACOVES__MAIN__WAREHOUSE }}

DATACOVES__MAIN__USER: ${{ vars.DATACOVES__MAIN__USER }}
DATACOVES__MAIN__PASSWORD: ${{ secrets.DATACOVES__MAIN__PASSWORD }}

steps:
- name: Checkout branch
uses: actions/checkout@v3.5.0
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}

- name: Set Secure Directory
run: git config --global --add safe.directory /__w/${{ github.event.repository.name }}/${{ github.event.repository.name }}

- name: Install dbt packages
run: "dbt deps"

- name: Drop PR database
run: "dbt --no-write-json run-operation drop_recreate_db --args '{db_name: ${{env.DATACOVES__MAIN__DATABASE}}, recreate: False}'" # yamllint disable-line rule:line-length
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Detect changes on /orchestrate/images/*
# when changed, docker build orchestrate/images/pandas, docker push datacoves/airflow-pandas..

name: Build and push orchestrate images
name: 🐳 Docker Image Build & Deployment

on: # yamllint disable-line rule:truthy
push:
Expand Down
40 changes: 0 additions & 40 deletions .github/workflows/integration_airflow.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dbt_packages/

.cache
nohup.out
.pytest_cache

# Virtual envs
venv/
Expand All @@ -29,4 +30,3 @@ __pycache__
.gitsecret/keys/random_seed
load/secrets/**/*.*
!*.secret

1 change: 0 additions & 1 deletion data_testing/recce/recce_state.json

This file was deleted.

1 change: 0 additions & 1 deletion data_testing/recce/requirements.txt

This file was deleted.

18 changes: 7 additions & 11 deletions load/dlt/loans_data.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#!/usr/bin/env -S uv run --cache-dir /tmp/.uv_cache
#!/usr/bin/env -S uv run --verbose --cache-dir /tmp/.uv_cache
# /// script
# dependencies = [
# "dlt[snowflake, parquet]==1.3.0",
# "dlt[snowflake, parquet]==1.5.0",
# "enlighten~=1.12.4",
# "psutil~=6.0.0",
# "pandas==2.2.2",
# "tqdm"
# ]
# ///
"""Loads a CSV file to Snowflake"""
Expand All @@ -26,12 +27,8 @@ def zip_coordinates():
yield df

@dlt.source
def personal_loans_source():
return [personal_loans]

@dlt.source
def zip_coordinates_source():
return [zip_coordinates]
def loans_data():
return personal_loans, zip_coordinates

if __name__ == "__main__":
datacoves_snowflake = dlt.destinations.snowflake(
Expand All @@ -40,7 +37,7 @@ def zip_coordinates_source():
)

pipeline = dlt.pipeline(
progress = "enlighten",
progress = "log",
pipeline_name = "loans",
destination = datacoves_snowflake,
pipelines_dir = pipelines_dir,
Expand All @@ -50,8 +47,7 @@ def zip_coordinates_source():
)

load_info = pipeline.run([
personal_loans(),
zip_coordinates()
loans_data()
])

print(load_info)
2 changes: 1 addition & 1 deletion load/dlt/us_population.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env -S uv run --cache-dir /tmp/.uv_cache
# /// script
# dependencies = [
# "dlt[snowflake, parquet]==1.3.0",
# "dlt[snowflake, parquet]==1.5.0",
# "enlighten~=1.12.4",
# "psutil~=6.0.0",
# "pandas==2.2.2",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions observe/recce/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
recce_state.json
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions observe/recce/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
recce==0.45.0
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ set -e

# Configuration
DBT_PROJECT_PATH=/config/workspace/transform
RECCE_CONFIG_PATH=/config/workspace/data_testing/recce/recce.yml
RECCE_CONFIG_PATH=/config/workspace/observe/recce/recce.yml

recce run --target-base-path $DBT_PROJECT_PATH/logs --target-path $DBT_PROJECT_PATH/target --project-dir $DBT_PROJECT_PATH --config $RECCE_CONFIG_PATH
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -e
# Configuration
PORT=8501
DBT_PROJECT_PATH=/config/workspace/transform
RECCE_CONFIG_PATH=/config/workspace/data_testing/recce/recce.yml
RECCE_CONFIG_PATH=/config/workspace/observe/recce/recce.yml

# Get IP address
IP_ADDRESS=$(hostname -I | awk '{print $1}')
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ set -e

# Configuration
DBT_PROJECT_PATH=/config/workspace/transform
RECCE_CONFIG_PATH=/config/workspace/data_testing/recce/recce.yml
RECCE_CONFIG_PATH=/config/workspace/observe/recce/recce.yml

recce summary --project-dir $DBT_PROJECT_PATH --config $RECCE_CONFIG_PATH recce_state.json >> summary.md
Loading
Loading