File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 6
6
"features" : {
7
7
"ghcr.io/devcontainers/features/github-cli:1" : {}
8
8
},
9
- "postCreateCommand" : {
10
- "dbt" : " dbt deps" ,
11
- "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"
12
- },
13
- "postStartCommand" : " recce server --cloud --review"
9
+ "postStartCommand" : " ./.devcontainer/script/post_start.sh"
14
10
}
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # Install dbt dependencies
4
+ dbt deps
5
+
6
+ # Download duckdb file
7
+ gh repo set-default DataRecce/jaffle_shop_duckdb
8
+ branch=$( git branch --show-current)
9
+ run_id=$( gh run list --workflow " Jaffle Shop Recce CI" --branch $branch --status success --limit 1 --json databaseId --jq ' .[0].databaseId' )
10
+ gh run download $run_id -n duckdb
11
+
12
+ # Exec Recce
13
+ recce server --cloud --review
You can’t perform that action at this time.
0 commit comments