forked from dbt-labs/jaffle_shop_duckdb
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from DataRecce/feature/drc-506-update-the-jaff…
…le-shop-to-use-the-cloud-mode [Chore] Update the jaffle shop to use the cloud mode
- Loading branch information
Showing
4 changed files
with
18 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM mcr.microsoft.com/vscode/devcontainers/python:3.11 | ||
|
||
RUN pip install dbt-duckdb==1.5.0 duckdb==0.7.1 recce |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,14 @@ | ||
{ | ||
"name": "Recce Cloud", | ||
"image": "infuseai/dev-container-base-image:latest", | ||
"containerEnv": { | ||
"RECCE_CI_WORKFLOW_NAME": ".github/workflows/recce_ci.yml", // Path to the Recce CI workflow file | ||
"DEPENDENCIES_FILE": "requirements.txt", // Path to the python dependencies file | ||
"POST_INSTALL_DEPENDENCIES_COMMAND": "pip install gradio", // Command to install python dependencies | ||
"PRE_LAUNCH_RECCE_SERVER_COMMAND": "cp .recce/recce-state-file/jaffle_shop.duckdb ." | ||
"build": { | ||
"dockerfile": "Dockerfile" | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"settings": { | ||
"terminal.integrated.shell.linux": "/bin/bash" | ||
} | ||
} | ||
"features": { | ||
"ghcr.io/devcontainers/features/github-cli:1": {} | ||
}, | ||
"forwardPorts": [ 8000 ], | ||
"portsAttributes": { | ||
"8000": { | ||
"label": "Recce Server", | ||
"onAutoForward": "openBrowser" | ||
} | ||
"postCreateCommand": { | ||
"dbt": "dbt deps", | ||
"artifact": "gh repo set-default DataRecce/jaffle_shop_duckdb && run_id=$(gh run list --workflow \"Jaffle Shop Recce CI\" --status success --limit 1 --json databaseId --jq '.[0].databaseId') && gh run download $run_id -n duckdb" | ||
}, | ||
"postStartCommand": "post_start_command" | ||
} | ||
"postStartCommand": "recce server --cloud --review" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
packages: | ||
- package: data-mie/dbt_profiler | ||
version: 0.8.1 | ||
- package: dbt-labs/dbt_project_evaluator | ||
version: 0.6.2 | ||
- package: dbt-labs/dbt_utils | ||
version: 0.9.6 | ||
- package: dbt-labs/audit_helper | ||
version: 0.11.0 | ||
|