Skip to content

Commit

Permalink
Add minimal codespace.json
Browse files Browse the repository at this point in the history
Signed-off-by: popcorny <[email protected]>
  • Loading branch information
popcornylu committed Jun 18, 2024
1 parent 4e2503d commit 596aa8b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .devcontainer/mini/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "Recce CodeSpace (Minimal)",
"image": "mcr.microsoft.com/vscode/devcontainers/python:3.11",
"containerEnv": {
"DBT_GOOGLE_PROJECT": "infuseai-dev",
"DBT_GOOGLE_DATASET": "oso_playground",
"DBT_GOOGLE_DEV_DATASET": "oso_playground_dev",
"DBT_GOOGLE_KEYFILE": "/home/vscode/.config/gcloud/google-service-account.json",
},
"postCreateCommand": "pipx install poetry && poetry install && poetry run pip install recce",
"postStartCommand": "mkdir -p /home/vscode/.config/gcloud && printenv GOOGLE_CLOUD_SERVICE_ACCOUNT_KEY_CONTENT > ${DBT_GOOGLE_KEYFILE} && poetry run recce server --cloud --review"
}

0 comments on commit 596aa8b

Please sign in to comment.