Closed shalabhc closed 1 year ago
Your pull request is automatically being deployed to Dagster Cloud.
Location | Status | Link | Updated |
---|---|---|---|
from_gh_action |
Deploy failed | Apr 07, 2023 at 11:23 PM (UTC) |
I like the idea of consolidating the decision points, but I do wonder if some teams will need more flexibility. For instance in Purina we follow the branch deployment best practice of running a job to create a DB shallow clone on PR open, and running another job to delete the DB clone on PR close. In this case I think we'd still want the pre-run step, but I'm not sure we'd want to skip the rest
But I guess it's fine if skip
is only being interpreted by the other standard dagster deploy actions? So you could have a pipeline with custom steps that still run after the skip
pre-run result?
But I guess it's fine if skip is only being interpreted by the other standard dagster deploy actions? So you could have a pipeline with custom steps that still run after the skip pre-run result?
@slopp yes. I initially had the prerun fail but then decided just returning a result is best. Our steps will interpret it but other user steps will still run.
This PR changes the prerun return value to one of
pex-deploy
,docker-deploy
orskip
. This simplifies the conditional in the following steps and introduces a single decision point.Note the prerun step is not used anywhere yet.