dagster-dg-cli 1.12.10__py3-none-any.whl → 1.12.11__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -77,7 +77,7 @@ jobs:
77
77
  if: steps.prerun.outputs.result != 'skip'
78
78
  uses: dagster-io/dagster-cloud-action/actions/utils/dg-cli@TEMPLATE_DAGSTER_CLOUD_ACTION_VERSION
79
79
  with:
80
- command: "plus deploy refresh-defs-state"
80
+ command: "plus deploy refresh-defs-state --target-path=${{ env.DAGSTER_PROJECT_DIR }}"
81
81
 
82
82
  # Any value can be used as the docker image tag. It is recommended to use a unique value
83
83
  # for each build so that multiple builds do not overwrite each other.
@@ -18,6 +18,10 @@ variables:
18
18
  # The IMAGE_TAG determines the tag for the built Docker image
19
19
  IMAGE_TAG: $CI_COMMIT_SHORT_SHA-$CI_PIPELINE_ID
20
20
 
21
+ # Required for Docker-in-Docker
22
+ DOCKER_HOST: tcp://docker:2375
23
+ DOCKER_TLS_CERTDIR: ""
24
+
21
25
  stages:
22
26
  - deploy
23
27
 
@@ -47,11 +51,17 @@ dagster-cloud-deploy:
47
51
  --yes
48
52
 
49
53
  # Sync all projects (workspace or single project)
50
- - find . -maxdepth 3 -name "pyproject.toml" -type f -execdir python -m uv sync \;
54
+ - |
55
+ for project in $(python -m uv run dg list projects); do
56
+ (cd "$project" && python -m uv sync)
57
+ done
51
58
 
52
59
  # Refresh state for any StateBackedComponents in the project
53
60
  - python -m uv run dg plus deploy refresh-defs-state
54
61
 
62
+ # Ensure .venv is excluded from Docker builds
63
+ - echo ".venv" >> .dockerignore
64
+
55
65
  # Login to the container registry
56
66
  # TEMPLATE_CONTAINER_REGISTRY_LOGIN_FRAGMENT
57
67
 
@@ -80,7 +80,7 @@ jobs:
80
80
  if: steps.prerun.outputs.result != 'skip'
81
81
  uses: dagster-io/dagster-cloud-action/actions/utils/dg-cli@TEMPLATE_DAGSTER_CLOUD_ACTION_VERSION
82
82
  with:
83
- command: "plus deploy refresh-defs-state"
83
+ command: "plus deploy refresh-defs-state --target-path=${{ env.DAGSTER_PROJECT_DIR }}"
84
84
 
85
85
  # If using fast build, install setuptools for PEX builds
86
86
  - name: Install setuptools
@@ -9,8 +9,9 @@ variables:
9
9
  DAGSTER_PROJECT_DIR: TEMPLATE_PROJECT_DIR
10
10
  # State directory for deploy session
11
11
  DAGSTER_BUILD_STATEDIR: /tmp/dagster-build-state-$CI_PIPELINE_ID
12
- # Enable PEX-based fast deploys (set to "false" to use Docker builds instead)
13
- ENABLE_FAST_DEPLOYS: "TEMPLATE_ENABLE_FAST_DEPLOYS"
12
+ # Required for Docker-in-Docker
13
+ DOCKER_HOST: tcp://docker:2375
14
+ DOCKER_TLS_CERTDIR: ""
14
15
 
15
16
  stages:
16
17
  - deploy
@@ -32,19 +33,27 @@ dagster-cloud-serverless-deploy:
32
33
  - pip install uv
33
34
  script:
34
35
  - cd $DAGSTER_PROJECT_DIR
36
+
37
+ # Sync all projects (workspace or single project)
38
+ - |
39
+ for project in $(python -m uv run dg list projects); do
40
+ (cd "$project" && python -m uv sync)
41
+ done
42
+
43
+ # Initialize build session
35
44
  - >
36
45
  python -m uv run dg plus deploy start
37
46
  --deployment=TEMPLATE_DEFAULT_DEPLOYMENT_NAME
38
47
  --yes
39
48
 
40
- # Sync all projects (workspace or single project)
41
- - find . -maxdepth 3 -name "pyproject.toml" -type f -execdir python -m uv sync \;
42
-
43
49
  # Refresh state for any StateBackedComponents in the project
44
50
  - python -m uv run dg plus deploy refresh-defs-state
45
51
 
52
+ # Ensure .venv is excluded from Docker builds
53
+ - echo ".venv" >> .dockerignore
54
+
46
55
  # Build and push (PEX or Docker based on project configuration)
47
- - python -m uv run dg plus deploy build-and-push --agent-type=serverless --python-version $PYTHON_VERSION
56
+ - python -m uv run dg plus deploy build-and-push --agent-type=serverless
48
57
 
49
58
  # Deploy all code locations in this build session to Dagster Cloud
50
59
  - python -m uv run dg plus deploy finish
dagster_dg_cli/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "1.12.10"
1
+ __version__ = "1.12.11"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dagster-dg-cli
3
- Version: 1.12.10
3
+ Version: 1.12.11
4
4
  Home-page: https://github.com/dagster-io/dagster/tree/master/python_modules/libraries/dagster-dg-cli
5
5
  Author: Dagster Labs
6
6
  Author-email: hello@dagsterlabs.com
@@ -13,9 +13,9 @@ Classifier: Programming Language :: Python :: 3.14
13
13
  Classifier: License :: OSI Approved :: Apache Software License
14
14
  Classifier: Operating System :: OS Independent
15
15
  License-File: LICENSE
16
- Requires-Dist: dagster-dg-core==1.12.10
17
- Requires-Dist: dagster==1.12.10
18
- Requires-Dist: dagster-cloud-cli==1.12.10
16
+ Requires-Dist: dagster-dg-core==1.12.11
17
+ Requires-Dist: dagster==1.12.11
18
+ Requires-Dist: dagster-cloud-cli==1.12.11
19
19
  Requires-Dist: typer
20
20
  Provides-Extra: test
21
21
  Requires-Dist: syrupy>=4.0.0; extra == "test"
@@ -1,7 +1,7 @@
1
1
  dagster_dg_cli/__init__.py,sha256=80p8sRHsNt96gbJE2KbIngs986h8JjgTu3WF4UC5EM8,187
2
2
  dagster_dg_cli/py.typed,sha256=mDShSrm8qg9qjacQc2F-rI8ATllqP6EdgHuEYxuCXZ0,7
3
3
  dagster_dg_cli/scaffold.py,sha256=ZZ_eJqG_-ztTfNN9szp32tyQ2OY-kQpON3d-aztPVII,4306
4
- dagster_dg_cli/version.py,sha256=GX6pK-MXEc7Qkjz8JfsyRXF34LXYUDbzbFGeDjwSQ5c,24
4
+ dagster_dg_cli/version.py,sha256=V9Hrmon3VMx6Fm-BKFFV3DZcAfdU2IO-xs1MB4F4LlI,24
5
5
  dagster_dg_cli/api_layer/__init__.py,sha256=RbGp1TIwWjxwfXa0nXJvuSRxpdLJsvPYayNQPQ9I4Xs,39
6
6
  dagster_dg_cli/api_layer/api/__init__.py,sha256=azdRdTpi85fSuGiz5CCIqPN7UCzgHQUl_eo1Ksnjx-Y,28
7
7
  dagster_dg_cli/api_layer/api/agent.py,sha256=KpNZHpveh7S0SB1iiOQMjE75rir6LWKA7K5R_6_jMls,709
@@ -98,10 +98,10 @@ dagster_dg_cli/templates/build-location-fragment-gitlab.yaml,sha256=V-5zuK68ZeHF
98
98
  dagster_dg_cli/templates/build-location-fragment.yaml,sha256=rc_9r4UYLnShvhj_v7wqFPLZCkho4qFLpH0_wS-4H54,774
99
99
  dagster_dg_cli/templates/deploy_uv_Dockerfile.jinja,sha256=faE-Lg3ugsfVVYZrtf6ox271pPL-I4KIny4t909yIp8,1536
100
100
  dagster_dg_cli/templates/deploy_uv_editable_Dockerfile.jinja,sha256=MWhknoN5y2bJj47aMcH5iTE7WtRw3Fl0ubKaPRkfGlg,1984
101
- dagster_dg_cli/templates/hybrid-github-action.yaml,sha256=Yjb4oyEXM_XPwBemqSsDlBmel6TCIffwsuYRikKZ-oo,5600
102
- dagster_dg_cli/templates/hybrid-gitlab-ci.yaml,sha256=EfHHPXCMOISwowGTgPbHfnr8kiKwekIvUAQXVD88TyU,2260
103
- dagster_dg_cli/templates/serverless-github-action.yaml,sha256=c3woat-OQy94vMDLT4TV_ixHxNnE0Hz9qpe-_ayPI0Q,5282
104
- dagster_dg_cli/templates/serverless-gitlab-ci.yaml,sha256=ZjEuYNxOkAL7_KEm7ii0iMxv1gE7Dy1DD8jDO7IIl6w,2065
101
+ dagster_dg_cli/templates/hybrid-github-action.yaml,sha256=ith308AV-E4vjc-w45WeSl9nEZKS0slEAfJy_QHmP8o,5645
102
+ dagster_dg_cli/templates/hybrid-gitlab-ci.yaml,sha256=7xjf0BT3SUqB5FMW760HlTWjN3fMOvHjMS3xil_c1xU,2480
103
+ dagster_dg_cli/templates/serverless-github-action.yaml,sha256=-h1T_3gGsYeq7iNNSEmXfhtUvjiEFNnwUsdcD5eW3N8,5327
104
+ dagster_dg_cli/templates/serverless-gitlab-ci.yaml,sha256=eHJaQMewMX9TBWQ8qNANfQTZxb84OVJ0UAZNRj8pQHY,2149
105
105
  dagster_dg_cli/templates/COMPONENT_TYPE/COMPONENT_TYPE_NAME_PLACEHOLDER.py.jinja,sha256=gAZsuldk-aynvD8zh4Gs4Gqbf0i9K-XW0UybLTP5rEc,776
106
106
  dagster_dg_cli/templates/registry_fragments/github/azure-container-registry-login-fragment.yaml,sha256=LwNxK__IhTRTLIeJU0Gu3xfvWtOuHilgB-3-M9Xpmu0,362
107
107
  dagster_dg_cli/templates/registry_fragments/github/dockerhub-login-fragment.yaml,sha256=Ur4Lrt275kRE8P2TvdejYDwUGbljMH0JIAV3nRZZGww,268
@@ -122,9 +122,9 @@ dagster_dg_cli/utils/plus/build.py,sha256=58UiYQdqMJtMV639k8L8ypmf3P2uC4LVLDlF1z
122
122
  dagster_dg_cli/utils/plus/defs_state_storage.py,sha256=gCDFBtwJybGbWVw2psjFP3UcYbNpPUjRBwwRpv7Cvms,5838
123
123
  dagster_dg_cli/utils/plus/gql.py,sha256=oQpat_iLvNNtXcQzSdwpgpiCPIo0BaG-ghF6nz2KwOI,4317
124
124
  dagster_dg_cli/utils/plus/gql_client.py,sha256=_ffeQVjYuwnvVlvU4x89bkko-4iSq7ECl70qUv-QrdQ,3517
125
- dagster_dg_cli-1.12.10.dist-info/licenses/LICENSE,sha256=lY5yc1KHX4HoXjlWnIPGcCAsnNney2rb8M8ccT6NzRQ,11347
126
- dagster_dg_cli-1.12.10.dist-info/METADATA,sha256=a5_U_-VWEYc4x47R-HT3UNbY_Ck48lhM5YHqy86oMhA,1224
127
- dagster_dg_cli-1.12.10.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
128
- dagster_dg_cli-1.12.10.dist-info/entry_points.txt,sha256=2uH29TlJoAj0sbmXFpt7cZpvF5ebkPBMSACrrcB7BG4,47
129
- dagster_dg_cli-1.12.10.dist-info/top_level.txt,sha256=WdK02rUdexe_tv4BCyOvZbigxRiXtR1q-kcF7Kn_sKQ,15
130
- dagster_dg_cli-1.12.10.dist-info/RECORD,,
125
+ dagster_dg_cli-1.12.11.dist-info/licenses/LICENSE,sha256=lY5yc1KHX4HoXjlWnIPGcCAsnNney2rb8M8ccT6NzRQ,11347
126
+ dagster_dg_cli-1.12.11.dist-info/METADATA,sha256=_H2MGkTMbFJnPABcnKDlbg4eyG0Bm9bsO2l6H2B54ks,1224
127
+ dagster_dg_cli-1.12.11.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
128
+ dagster_dg_cli-1.12.11.dist-info/entry_points.txt,sha256=2uH29TlJoAj0sbmXFpt7cZpvF5ebkPBMSACrrcB7BG4,47
129
+ dagster_dg_cli-1.12.11.dist-info/top_level.txt,sha256=WdK02rUdexe_tv4BCyOvZbigxRiXtR1q-kcF7Kn_sKQ,15
130
+ dagster_dg_cli-1.12.11.dist-info/RECORD,,