diff --git a/github/serverless/dbt/branch_deployments.yml b/github/serverless/dbt/branch_deployments.yml index 624b751d..9206efc2 100644 --- a/github/serverless/dbt/branch_deployments.yml +++ b/github/serverless/dbt/branch_deployments.yml @@ -10,9 +10,10 @@ concurrency: env: DAGSTER_CLOUD_URL: ${{ secrets.DAGSTER_CLOUD_URL }} DAGSTER_CLOUD_API_TOKEN: ${{ secrets.DAGSTER_CLOUD_API_TOKEN }} - ENABLE_FAST_DEPLOYS: 'true' - PYTHON_VERSION: '3.8' - DAGSTER_CLOUD_FILE: 'dagster_cloud.yaml' + ENABLE_FAST_DEPLOYS: "true" + PYTHON_VERSION: "3.8" + DAGSTER_CLOUD_FILE: "dagster_cloud.yaml" + IS_DAGSTER_DBT_DEPLOY: true jobs: dagster_cloud_default_deploy: @@ -54,7 +55,7 @@ jobs: rm ${{ env.DBT_PACKAGE_DATA_DIR }}/target/partial_parse.msgpack shell: bash env: - DAGSTER_PROJECT_NAME: 'dagster_dbt_scaffold' + DAGSTER_PROJECT_NAME: "dagster_dbt_scaffold" DBT_PROJECT_DIR: "$GITHUB_WORKSPACE/project-repo" DBT_PACKAGE_DATA_DIR: "$GITHUB_WORKSPACE/project-repo/$DAGSTER_PROJECT_NAME/dbt-project" diff --git a/github/serverless/dbt/deploy.yml b/github/serverless/dbt/deploy.yml index fafb0d72..c826bb10 100644 --- a/github/serverless/dbt/deploy.yml +++ b/github/serverless/dbt/deploy.yml @@ -12,9 +12,10 @@ concurrency: env: DAGSTER_CLOUD_URL: ${{ secrets.DAGSTER_CLOUD_URL }} DAGSTER_CLOUD_API_TOKEN: ${{ secrets.DAGSTER_CLOUD_API_TOKEN }} - ENABLE_FAST_DEPLOYS: 'true' - PYTHON_VERSION: '3.8' - DAGSTER_CLOUD_FILE: 'dagster_cloud.yaml' + ENABLE_FAST_DEPLOYS: "true" + PYTHON_VERSION: "3.8" + DAGSTER_CLOUD_FILE: "dagster_cloud.yaml" + IS_DAGSTER_DBT_DEPLOY: true jobs: dagster_cloud_default_deploy: @@ -56,7 +57,7 @@ jobs: rm ${{ env.DBT_PACKAGE_DATA_DIR }}/target/partial_parse.msgpack shell: bash env: - DAGSTER_PROJECT_NAME: 'dagster_dbt_scaffold' + DAGSTER_PROJECT_NAME: "dagster_dbt_scaffold" DBT_PROJECT_DIR: "$GITHUB_WORKSPACE/project-repo" DBT_PACKAGE_DATA_DIR: "$GITHUB_WORKSPACE/project-repo/$DAGSTER_PROJECT_NAME/dbt-project" diff --git a/gitlab/dbt/serverless-ci-dbt.yml b/gitlab/dbt/serverless-ci-dbt.yml index 15c6083d..02ceecc2 100644 --- a/gitlab/dbt/serverless-ci-dbt.yml +++ b/gitlab/dbt/serverless-ci-dbt.yml @@ -5,6 +5,7 @@ variables: DAGSTER_DBT_PROJECT_NAME: $DAGSTER_DBT_LOCATION_NAME DAGSTER_DBT_PROJECT_DIR: "${CI_PROJECT_DIR}" DAGSTER_DBT_PACKAGE_DATA_DIR: "${CI_PROJECT_DIR}/$DAGSTER_DBT_PROJECT_NAME/dbt-project" + IS_DAGSTER_DBT_DEPLOY: true deploy-branch: stage: deploy