Execute DBT core on Cloud Run Job
- Python 3.11+
- Poetry
- Docker
- Load the seed data under
dbt/seeds
- Update the following in
dbt/profiles.yml
to match to your environment:- project:
<change to yours>
- dataset:
<change to yours>
- project:
poetry update
poetry shell
cd dbt
dbt run
gcloud builds submit --config cloudbuild_build.yaml . --substitutions _REPO_NAME=demo
this uses the
deploy
command which manages both create and update
gcloud builds submit --config cloudbuild_create.yaml . --substitutions _REPO_NAME=demo