diff --git a/actions/utils/copy_template/action.yml b/actions/utils/copy_template/action.yml index ef04f129..b0abe8c2 100644 --- a/actions/utils/copy_template/action.yml +++ b/actions/utils/copy_template/action.yml @@ -12,5 +12,5 @@ inputs: description: "A string of the base image name for the deployed code location image." runs: using: "docker" - image: "docker://ghcr.io/dagster-io/dagster-cloud-action:0.1.31" + image: "docker://ghcr.io/dagster-io/dagster-cloud-action:0.1.37" entrypoint: "/copy_template.sh" diff --git a/actions/utils/deploy/action.yml b/actions/utils/deploy/action.yml index 99235086..3f9ef709 100644 --- a/actions/utils/deploy/action.yml +++ b/actions/utils/deploy/action.yml @@ -39,7 +39,7 @@ outputs: description: "The Cloud deployment associated with this branch." runs: using: "docker" - image: "docker://ghcr.io/dagster-io/dagster-cloud-action:0.1.31" + image: "docker://ghcr.io/dagster-io/dagster-cloud-action:0.1.37" entrypoint: "/deploy.sh" args: - ${{ inputs.pr }} diff --git a/actions/utils/get_branch_deployment/action.yml b/actions/utils/get_branch_deployment/action.yml index 89aff2cc..a194c4a9 100644 --- a/actions/utils/get_branch_deployment/action.yml +++ b/actions/utils/get_branch_deployment/action.yml @@ -15,5 +15,5 @@ outputs: description: "The Cloud deployment associated with this branch." runs: using: "docker" - image: "docker://ghcr.io/dagster-io/dagster-cloud-action:0.1.31" + image: "docker://ghcr.io/dagster-io/dagster-cloud-action:0.1.37" entrypoint: "/get_branch_deployment.sh" diff --git a/actions/utils/notify/action.yml b/actions/utils/notify/action.yml index b4782fba..75ae2f79 100644 --- a/actions/utils/notify/action.yml +++ b/actions/utils/notify/action.yml @@ -30,7 +30,7 @@ inputs: runs: using: "docker" - image: "docker://ghcr.io/dagster-io/dagster-cloud-action:0.1.31" + image: "docker://ghcr.io/dagster-io/dagster-cloud-action:0.1.37" entrypoint: "/notify.sh" args: - ${{ inputs.pr }} diff --git a/actions/utils/registry_info/action.yml b/actions/utils/registry_info/action.yml index 1773dbe3..a61fb509 100644 --- a/actions/utils/registry_info/action.yml +++ b/actions/utils/registry_info/action.yml @@ -12,5 +12,5 @@ inputs: description: "Alternative to providing organization ID. The URL of your Dagster Cloud organization." runs: using: "docker" - image: "docker://ghcr.io/dagster-io/dagster-cloud-action:0.1.31" + image: "docker://ghcr.io/dagster-io/dagster-cloud-action:0.1.37" entrypoint: "/registry_info.sh" diff --git a/actions/utils/run/action.yml b/actions/utils/run/action.yml index 05d6d1f4..9cca69f9 100644 --- a/actions/utils/run/action.yml +++ b/actions/utils/run/action.yml @@ -35,7 +35,7 @@ outputs: description: "The ID of the launched run." runs: using: "docker" - image: "docker://ghcr.io/dagster-io/dagster-cloud-action:0.1.31" + image: "docker://ghcr.io/dagster-io/dagster-cloud-action:0.1.37" entrypoint: "/run.sh" args: - ${{ inputs.pr }} diff --git a/generated/gha/dagster-cloud.pex b/generated/gha/dagster-cloud.pex index 1681f22c..14adead3 100755 Binary files a/generated/gha/dagster-cloud.pex and b/generated/gha/dagster-cloud.pex differ diff --git a/gitlab/dbt/serverless-ci-dbt.yml b/gitlab/dbt/serverless-ci-dbt.yml index 76273008..daed182b 100644 --- a/gitlab/dbt/serverless-ci-dbt.yml +++ b/gitlab/dbt/serverless-ci-dbt.yml @@ -10,7 +10,7 @@ deploy-branch: stage: deploy rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' - image: ghcr.io/dagster-io/dagster-cloud-action:0.1.31 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.37 script: # first create the branch deployment - export PR_TIMESTAMP=$(git log -1 --format='%cd' --date=unix) @@ -49,7 +49,7 @@ deploy-branch: close_branch: stage: deploy - image: ghcr.io/dagster-io/dagster-cloud-action:0.1.31 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.37 when: manual only: - merge_requests @@ -74,7 +74,7 @@ deploy: stage: deploy rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - image: ghcr.io/dagster-io/dagster-cloud-action:0.1.31 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.37 script: # install dbt package - pip install pip --upgrade diff --git a/gitlab/hybrid-ci.yml b/gitlab/hybrid-ci.yml index f4ef00c8..5f87931c 100644 --- a/gitlab/hybrid-ci.yml +++ b/gitlab/hybrid-ci.yml @@ -29,7 +29,7 @@ workflow: initialize: stage: setup - image: ghcr.io/dagster-io/dagster-cloud-action:0.1.31 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.37 script: - export - dagster-cloud ci check --project-dir=$DAGSTER_PROJECT_DIR --dagster-cloud-yaml-path=$DAGSTER_CLOUD_YAML_PATH @@ -75,7 +75,7 @@ deploy-docker: dependencies: - build-image - initialize - image: ghcr.io/dagster-io/dagster-cloud-action:0.1.31 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.37 script: - dagster-cloud ci set-build-output --image-tag=$IMAGE_TAG - dagster-cloud ci deploy @@ -87,7 +87,7 @@ deploy-docker-branch: dependencies: - build-image - initialize - image: ghcr.io/dagster-io/dagster-cloud-action:0.1.31 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.37 script: - dagster-cloud ci set-build-output --image-tag=$IMAGE_TAG - dagster-cloud ci deploy @@ -97,7 +97,7 @@ deploy-docker-branch: close-branch: stage: deploy - image: ghcr.io/dagster-io/dagster-cloud-action:0.1.31 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.37 when: manual only: - merge_requests diff --git a/gitlab/serverless-ci.yml b/gitlab/serverless-ci.yml index 2cfaf618..7276b3f1 100644 --- a/gitlab/serverless-ci.yml +++ b/gitlab/serverless-ci.yml @@ -7,7 +7,7 @@ deploy-branch: stage: deploy rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' - image: ghcr.io/dagster-io/dagster-cloud-action:0.1.31 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.37 script: # first create the branch deployment - export PR_TIMESTAMP=$(git log -1 --format='%cd' --date=unix) @@ -35,7 +35,7 @@ deploy-branch: close_branch: stage: deploy - image: ghcr.io/dagster-io/dagster-cloud-action:0.1.31 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.37 when: manual only: - merge_requests @@ -60,6 +60,6 @@ deploy: stage: deploy rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - image: ghcr.io/dagster-io/dagster-cloud-action:0.1.31 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.37 script: - /gitlab_action/deploy.py ./dagster_cloud.yaml diff --git a/gitlab/serverless-legacy-ci.yml b/gitlab/serverless-legacy-ci.yml index 7746391d..4354821f 100644 --- a/gitlab/serverless-legacy-ci.yml +++ b/gitlab/serverless-legacy-ci.yml @@ -10,7 +10,7 @@ workflow: parse-workspace: stage: setup - image: ghcr.io/dagster-io/dagster-cloud-action:0.1.31 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.37 script: - python /gitlab_action/parse_workspace.py dagster_cloud.yaml >> build.env - cp /Dockerfile.template . @@ -23,7 +23,7 @@ parse-workspace: fetch-registry-info: stage: setup - image: ghcr.io/dagster-io/dagster-cloud-action:0.1.31 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.37 script: dagster-cloud serverless registry-info --url $DAGSTER_CLOUD_URL/prod --api-token $DAGSTER_CLOUD_API_TOKEN | grep '=' >> registry.env artifacts: reports: @@ -53,7 +53,7 @@ deploy-docker: - build-image - parse-workspace - fetch-registry-info - image: ghcr.io/dagster-io/dagster-cloud-action:0.1.31 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.37 script: - dagster-cloud workspace add-location --url $DAGSTER_CLOUD_URL/prod @@ -74,7 +74,7 @@ deploy-docker-branch: - build-image - parse-workspace - fetch-registry-info - image: ghcr.io/dagster-io/dagster-cloud-action:0.1.31 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.37 script: - export PR_TIMESTAMP=$(git log -1 --format='%cd' --date=unix) - export PR_MESSAGE=$(git log -1 --format='%s') @@ -109,7 +109,7 @@ deploy-docker-branch: close_branch: stage: deploy - image: ghcr.io/dagster-io/dagster-cloud-action:0.1.31 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.37 when: manual only: - merge_requests diff --git a/scripts/release.py b/scripts/release.py index c84ff67c..bdbd9be3 100755 --- a/scripts/release.py +++ b/scripts/release.py @@ -114,7 +114,7 @@ def update_dagster_cloud_pex( "-o=dagster-cloud.pex", "--platform=manylinux2014_x86_64-cp-38-cp38", "--platform=macosx_12_0_x86_64-cp-38-cp38", - "--platform=macosx_12_0_arm64-cp-38-cp38", + # "--platform=macosx_12_0_arm64-cp-38-cp38", "--pip-version=23.0", "--resolver-version=pip-2020-resolver", "--venv=prepend", diff --git a/src/create_or_update_comment.py b/src/create_or_update_comment.py index 8bdf0f87..902759bd 100644 --- a/src/create_or_update_comment.py +++ b/src/create_or_update_comment.py @@ -49,15 +49,19 @@ def main(): break deployment_url = f"{org_url}/{deployment_name}/home" + changed_assets_url = f"{org_url}/{deployment_name}/asset-groups?changedInBranch=%5B%22CODE_VERSION%22%2C%22INPUTS%22%2C%22NEW%22%2C%22PARTITIONS_DEFINITION%22%5D" message = f"[View in Cloud]({deployment_url})" + changed_assets_message = f"[View Changed Assets]({changed_assets_url})" image_url = SUCCESS_IMAGE_URL if action == "pending": message = f"[Building...]({github_run_url})" + changed_assets_message = message image_url = PENDING_IMAGE_URL elif action == "failed": message = f"[Deploy failed]({github_run_url})" + changed_assets_message = message image_url = FAILED_IMAGE_URL status_image = f'[]({github_run_url})' @@ -67,9 +71,9 @@ def main(): message = f""" Your pull request is automatically being deployed to Dagster Cloud. -| Location | Status | Link | Updated | -| ----------------- | --------------- | ------- | --------------- | -| `{location_name}` | {status_image} | {message} | {time_str} | +| Location | Status | Link | Changed Assets | Updated | +| ----------------- | --------------- | --------- | ------------------------ | --------------- | +| `{location_name}` | {status_image} | {message} | {changed_assets_message} | {time_str} | """ if comment_to_update: