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.
Signed-off-by: Wei-Chun, Chang <[email protected]>
- Loading branch information
1 parent
cffee59
commit 89c8bca
Showing
2 changed files
with
11 additions
and
22 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.7.0 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,11 @@ | ||
{ | ||
"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" | ||
} | ||
} | ||
}, | ||
"forwardPorts": [ 8000 ], | ||
"portsAttributes": { | ||
"8000": { | ||
"label": "Recce Server", | ||
"onAutoForward": "openBrowser" | ||
} | ||
}, | ||
"postStartCommand": "post_start_command" | ||
} | ||
"features": { | ||
"ghcr.io/devcontainers/features/github-cli:1": {} | ||
}, | ||
"postCreateCommand": "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": "recce server --cloud --review" | ||
} |