forked from opensource-observer/oso
-
Notifications
You must be signed in to change notification settings - Fork 1
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: popcorny <[email protected]>
- Loading branch information
1 parent
4e2503d
commit 1ccce89
Showing
2 changed files
with
19 additions
and
0 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,5 @@ | ||
FROM mcr.microsoft.com/vscode/devcontainers/python:3.11 | ||
|
||
RUN pipx install poetry \ | ||
&& poetry install \ | ||
&& poetry run pip install 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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "Recce CodeSpace (Minimal)", | ||
"build": { | ||
"context": "../..", | ||
"dockerfile": "Dockerfile" | ||
}, | ||
"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", | ||
}, | ||
"postStartCommand": "mkdir -p /home/vscode/.config/gcloud && printenv GOOGLE_CLOUD_SERVICE_ACCOUNT_KEY_CONTENT > ${DBT_GOOGLE_KEYFILE} && poetry run recce server --cloud --review" | ||
} |