Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 0 additions & 86 deletions .github/workflows/dagster-cloud-branch-deployments.yml

This file was deleted.

89 changes: 0 additions & 89 deletions .github/workflows/dagster-cloud-deploy.yml

This file was deleted.

9 changes: 5 additions & 4 deletions dagster_cloud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ locations:
code_source:
module_name: orchestration.definitions
build:
# PEX fast-deploy build root. orchestration/pyproject.toml declares the
# dagster deps and the `nmuwd` path-dependency (tool.uv.sources); the
# builder recurses into the repo root to collect backend/ + its deps.
directory: orchestration
# Build from the repo root so the source PEX's working_directory holds
# both orchestration/ and backend/ as importable top-level packages
# (module_name orchestration.definitions imports from both). Runtime
# deps come from requirements.txt here at the root.
directory: .
6 changes: 5 additions & 1 deletion orchestration/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ description = "DIE Dagster orchestration (internal, not published)"
requires-python = ">=3.10"
dependencies = [
"dagster>=1.8",
"dagster-cloud",
"dagster-gcp>=0.24",
"dagster-webserver>=1.8",
"google-cloud-storage",
Expand All @@ -17,8 +18,11 @@ dependencies = [
"nmuwd",
]

# Trailing slash is required: the dagster-cloud PEX builder only treats a
# uv.sources path as a local package when it starts with "./", "../", or "/".
# Bare ".." is parsed as a (broken) dependency string instead.
[tool.uv.sources]
nmuwd = { path = "..", editable = true }
nmuwd = { path = "../", editable = true }

[tool.hatch.build.targets.wheel]
packages = ["orchestration"]
14 changes: 14 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Runtime dependencies for the Dagster+ serverless code location.
# dagster_cloud.yaml builds from the repo root, so the PEX dependency
# resolver reads this file (plus the root pyproject.toml, which supplies the
# backend/nmuwd deps). The dagster stack lives here because it is not part of
# the published nmuwd package.
#
# NOTE: must NOT contain editable/path entries (e.g. `-e .`) — the PEX deps
# builder cannot resolve those. The local packages (backend/, orchestration/)
# are bundled into the source PEX automatically.
dagster>=1.8
dagster-cloud
dagster-gcp>=0.24
google-cloud-storage
google-cloud-secret-manager
Loading