diff --git a/actions/utils/copy_template/action.yml b/actions/utils/copy_template/action.yml index 7cb4014..c49fe37 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.40" + image: "docker://ghcr.io/dagster-io/dagster-cloud-action:0.1.43" entrypoint: "/copy_template.sh" diff --git a/actions/utils/deploy/action.yml b/actions/utils/deploy/action.yml index bfa2755..c17ee0f 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.40" + image: "docker://ghcr.io/dagster-io/dagster-cloud-action:0.1.43" 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 7f3a5dc..08b9f0c 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.40" + image: "docker://ghcr.io/dagster-io/dagster-cloud-action:0.1.43" entrypoint: "/get_branch_deployment.sh" diff --git a/actions/utils/notify/action.yml b/actions/utils/notify/action.yml index 907bf51..eb65d0b 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.40" + image: "docker://ghcr.io/dagster-io/dagster-cloud-action:0.1.43" entrypoint: "/notify.sh" args: - ${{ inputs.pr }} diff --git a/actions/utils/registry_info/action.yml b/actions/utils/registry_info/action.yml index 92cdddd..9fd506b 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.40" + image: "docker://ghcr.io/dagster-io/dagster-cloud-action:0.1.43" entrypoint: "/registry_info.sh" diff --git a/actions/utils/run/action.yml b/actions/utils/run/action.yml index 85ffd38..ef331e7 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.40" + image: "docker://ghcr.io/dagster-io/dagster-cloud-action:0.1.43" entrypoint: "/run.sh" args: - ${{ inputs.pr }} diff --git a/generated/gha/dagster-cloud.pex b/generated/gha/dagster-cloud.pex index fbb4f32..d497711 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 436f8f8..cbae1f3 100644 --- a/gitlab/dbt/serverless-ci-dbt.yml +++ b/gitlab/dbt/serverless-ci-dbt.yml @@ -12,7 +12,7 @@ deploy-branch: stage: deploy rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' - image: ghcr.io/dagster-io/dagster-cloud-action:0.1.40 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.43 script: # first create the branch deployment - export PR_TIMESTAMP=$(git log -1 --format='%cd' --date=unix) @@ -51,7 +51,7 @@ deploy-branch: close_branch: stage: deploy - image: ghcr.io/dagster-io/dagster-cloud-action:0.1.40 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.43 when: manual only: - merge_requests @@ -76,7 +76,7 @@ deploy: stage: deploy rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - image: ghcr.io/dagster-io/dagster-cloud-action:0.1.40 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.43 script: # install dbt package - pip install pip --upgrade diff --git a/gitlab/hybrid-ci.yml b/gitlab/hybrid-ci.yml index a617c4d..b4a14f5 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.40 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.43 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.40 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.43 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.40 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.43 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.40 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.43 when: manual only: - merge_requests diff --git a/gitlab/serverless-ci.yml b/gitlab/serverless-ci.yml index 1958569..587b9cd 100644 --- a/gitlab/serverless-ci.yml +++ b/gitlab/serverless-ci.yml @@ -9,7 +9,7 @@ deploy-branch: stage: deploy rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' - image: ghcr.io/dagster-io/dagster-cloud-action:0.1.40 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.43 script: # first create the branch deployment - export PR_TIMESTAMP=$(git log -1 --format='%cd' --date=unix) @@ -37,7 +37,7 @@ deploy-branch: close_branch: stage: deploy - image: ghcr.io/dagster-io/dagster-cloud-action:0.1.40 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.43 when: manual only: - merge_requests @@ -62,6 +62,6 @@ deploy: stage: deploy rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - image: ghcr.io/dagster-io/dagster-cloud-action:0.1.40 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.43 script: - /gitlab_action/deploy.py ./dagster_cloud.yaml diff --git a/gitlab/serverless-legacy-ci.yml b/gitlab/serverless-legacy-ci.yml index d8c4986..5167f80 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.40 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.43 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.40 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.43 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.40 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.43 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.40 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.43 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.40 + image: ghcr.io/dagster-io/dagster-cloud-action:0.1.43 when: manual only: - merge_requests diff --git a/src/Dockerfile b/src/Dockerfile index 8b0b1ea..4ad9ee3 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -1,22 +1,21 @@ # Use an official manylinux builder (https://github.com/pypa/manylinux#docker-images) -FROM --platform=linux/amd64 quay.io/pypa/manylinux2014_x86_64:latest +FROM --platform=linux/amd64 quay.io/pypa/manylinux_2_28_x86_64:latest # Install deps -RUN yum update && yum install -y git +RUN yum update -y & yum install -y git RUN /opt/python/cp38-cp38/bin/python -m pip install pex RUN /opt/python/cp38-cp38/bin/python -m pip install dagster-cloud-cli RUN /opt/python/cp39-cp39/bin/python -m pip install dagster-cloud-cli RUN /opt/python/cp310-cp310/bin/python -m pip install dagster-cloud-cli RUN /opt/python/cp311-cp311/bin/python -m pip install dagster-cloud-cli -RUN /opt/python/cp312-cp312/bin/python -m pip install dagster-cloud-cli # Create virtual environment using PEX COPY generated/gha/dagster-cloud.pex /dagster-cloud.pex RUN PEX_TOOLS=1 /opt/python/cp38-cp38/bin/python /dagster-cloud.pex venv /venv-dagster-cloud # Add all the relevant Python binaries to the PATH -ENV PATH="/venv-dagster-cloud/bin:/opt/python/cp38-cp38/bin:/opt/python/cp39-cp39/bin:/opt/python/cp310-cp310/bin:/opt/python/cp311-cp311/bin:/opt/python/cp312-cp312/bin:$PATH" +ENV PATH="/venv-dagster-cloud/bin:/opt/python/cp38-cp38/bin:/opt/python/cp39-cp39/bin:/opt/python/cp310-cp310/bin:/opt/python/cp311-cp311/bin:$PATH" # Copy all src scripts diff --git a/src/Dockerfile.dagster-manylinux-builder b/src/Dockerfile.dagster-manylinux-builder index 613d3be..3e07dd0 100644 --- a/src/Dockerfile.dagster-manylinux-builder +++ b/src/Dockerfile.dagster-manylinux-builder @@ -20,7 +20,7 @@ # --- # Use an official manylinux builder (https://github.com/pypa/manylinux#docker-images) -FROM --platform=linux/amd64 quay.io/pypa/manylinux2014_x86_64:latest +FROM --platform=linux/amd64 quay.io/pypa/manylinux_2_28_x86_64:latest # Add all the relevant Python binaries to the PATH ENV PATH="/opt/python/cp38-cp38/bin:/opt/python/cp37-cp37m/bin:/opt/python/cp39-cp39/bin:/opt/python/cp310-cp310/bin:$PATH"