Skip to content

Commit

Permalink
Update deploy-dagster-cloud.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cnolanminich committed Nov 13, 2024
1 parent d43a529 commit f4aa926
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/deploy-dagster-cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,22 +63,22 @@ jobs:
# needed for `dagster ci deploy` command, which needs one --location-name per code location.
LOCATIONS=""
if [ "${{ steps.changed-files.outputs.hooli_data_eng_any_changed}}" == "true"]; then
LOCATIONS="$LOCATIONS --location-name data-eng-pipeline --docker-image-tag=$IMAGE_TAG-data-eng-pipeline"
LOCATIONS="$LOCATIONS --location-name data-eng-pipeline --image-tag=$IMAGE_TAG-data-eng-pipeline"
fi
if [ "${{ steps.changed-files.outputs.hooli_basics_any_changed}}" == "true"]; then
LOCATIONS="$LOCATIONS --location-name basics --docker-image-tag=$IMAGE_TAG-basics"
LOCATIONS="$LOCATIONS --location-name basics --image-tag=$IMAGE_TAG-basics"
fi
if [ "${{ steps.changed-files.outputs.hooli_batch_enrichment_any_changed}}" == "true"]; then
LOCATIONS="$LOCATIONS --location-name batch_enrichment --docker-image-tag=$IMAGE_TAG-batch-enrichment"
LOCATIONS="$LOCATIONS --location-name batch_enrichment --image-tag=$IMAGE_TAG-batch-enrichment"
fi
if [ "${{ steps.changed-files.outputs.hooli_snowflake_insights_any_changed}}" == "true"]; then
LOCATIONS="$LOCATIONS --location-name hooli_snowflake_insights --docker-image-tag=$IMAGE_TAG-snowflake-insights"
LOCATIONS="$LOCATIONS --location-name hooli_snowflake_insights --image-tag=$IMAGE_TAG-snowflake-insights"
fi
if [ "${{ steps.changed-files.outputs.hooli-data-ingest_any_changed}}" == "true"]; then
LOCATIONS="$LOCATIONS --location-name hooli_data_ingest --docker-image-tag=$IMAGE_TAG-hooli-data-ingest"
LOCATIONS="$LOCATIONS --location-name hooli_data_ingest --image-tag=$IMAGE_TAG-hooli-data-ingest"
fi
if [ "${{ steps.changed-files.outputs.hooli-bi_any_changed}}" == "true"]; then
LOCATIONS="$LOCATIONS --location-name hooli_bi --docker-image-tag=$IMAGE_TAG-hooli-bi"
LOCATIONS="$LOCATIONS --location-name hooli_bi --image-tag=$IMAGE_TAG-hooli-bi"
fi
echo $LOCATIONS
echo "LOCATIONS=$LOCATIONS" >> $GITHUB_ENV
Expand Down Expand Up @@ -248,7 +248,7 @@ jobs:
tags: ${{ env.IMAGE_REGISTRY }}:latest-pipes-example

#set build output
- name: Deploy to Dagster Cloud
- name: Set build output for Dagster Cloud
id: ci-set-build-output
if: steps.prerun.outputs.result != 'skip'
uses: dagster-io/dagster-cloud-action/actions/utils/[email protected]
Expand Down

0 comments on commit f4aa926

Please sign in to comment.