Skip to content

Commit

Permalink
add env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
clairelin135 committed Oct 3, 2023
1 parent c44fae7 commit 8e81256
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
9 changes: 5 additions & 4 deletions github/serverless/dbt/branch_deployments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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"

Expand Down
9 changes: 5 additions & 4 deletions github/serverless/dbt/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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"

Expand Down
1 change: 1 addition & 0 deletions gitlab/dbt/serverless-ci-dbt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8e81256

Please sign in to comment.