From 067ba4519e1e5eb9a0ed5fbaa47eafd9b4ff88a2 Mon Sep 17 00:00:00 2001 From: Claire Carroll <20294432+clrcrl@users.noreply.github.com> Date: Wed, 2 Dec 2020 16:52:38 -0500 Subject: [PATCH] Update circle jobs --- .circleci/config.yml | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 07822b5..4dfbc55 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,31 +13,27 @@ jobs: command: | python3 -m venv venv . venv/bin/activate - pip install -e . + pip install cookiecutter - run: - name: "Create Starter Project - BigQuery" + name: "Create Starter Project - Snowflake" command: | - mkdir jaffle_shop_bigquery . venv/bin/activate - dbt-init --client jaffle-shop --warehouse bigquery --target-dir ./jaffle_shop_bigquery + cookiecutter --no-input gh:fishtown-analytics/dbt-init --checkout ${CIRCLE_BRANCH} name=jaffle_shop project_name=jaffle_shop_snowflake warehouse=snowflake - run: - name: "Create Starter Project - Postgres" + name: "Create Starter Project - Redshift" command: | - mkdir jaffle_shop_postgres . venv/bin/activate - dbt-init --client jaffle-shop --warehouse postgres --target-dir ./jaffle_shop_postgres + cookiecutter --no-input gh:fishtown-analytics/dbt-init --checkout ${CIRCLE_BRANCH} name=jaffle_shop project_name=jaffle_shop_redshift warehouse=redshift - run: - name: "Create Starter Project - Redshift" + name: "Create Starter Project - BigQuery" command: | - mkdir jaffle_shop_redshift . venv/bin/activate - dbt-init --client jaffle-shop --warehouse redshift --target-dir ./jaffle_shop_redshift + cookiecutter --no-input gh:fishtown-analytics/dbt-init --checkout ${CIRCLE_BRANCH} name=jaffle_shop project_name=jaffle_shop_bigquery warehouse=bigquery - run: - name: "Create Starter Project - Snowflake" + name: "Create Starter Project - Postgres" command: | - mkdir jaffle_shop_snowflake . venv/bin/activate - dbt-init --client jaffle-shop --warehouse snowflake --target-dir ./jaffle_shop_snowflake + cookiecutter --no-input gh:fishtown-analytics/dbt-init --checkout ${CIRCLE_BRANCH} name=jaffle_shop project_name=jaffle_shop_postgres warehouse=postgres - save_cache: key: deps1-{{ .Branch }} paths: