From a1276d199521dc5248e7ed40dc9379867c0028bc Mon Sep 17 00:00:00 2001 From: popcorny Date: Tue, 18 Jun 2024 15:03:26 +0800 Subject: [PATCH] Add minimal codespace.json Signed-off-by: popcorny --- .devcontainer/mini/devcontainer.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .devcontainer/mini/devcontainer.json diff --git a/.devcontainer/mini/devcontainer.json b/.devcontainer/mini/devcontainer.json new file mode 100644 index 000000000..6683f25b4 --- /dev/null +++ b/.devcontainer/mini/devcontainer.json @@ -0,0 +1,13 @@ +{ + "name": "Recce CodeSpace (Minimal)", + "build": { + "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" +} \ No newline at end of file