Skip to content

Commit

Permalink
Update deploy-jobs.md for self-deferral
Browse files Browse the repository at this point in the history
The CI Phase 2 beta will now include the ability for Deploy jobs to self-defer. This will be useful for jobs running compile, source_freshness:fresher, and other commands that need to defer to the last successful state of that particular job.

Feel free to suggest other language as well, this is not perfect.
  • Loading branch information
thorn14 authored Sep 5, 2023
1 parent 7abd5d3 commit 12db4fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/docs/deploy/deploy-jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ If you're interested in joining our beta, please fill out our Google Form to [si
- **Environment Variables** — Define [environment variables](/docs/build/environment-variables) to customize the behavior of your project when the deploy job runs.
- **Target Name** — Define the [target name](/docs/build/custom-target-names) to customize the behavior of your project when the deploy job runs. Environment variables and target names are often used interchangeably.
- **Run Timeout** — Cancel the deploy job if the run time exceeds the timeout value.
- **Compare changes against an environment (Deferral)** option — By default, it’s set to **No deferral**.
- **Compare changes against ** option — By default, it’s set to **No deferral**. For Deploy jobs, you can select either no deferral, deferral to an environment, or self defer (to the same job).

:::info
Older versions of dbt Cloud only allow you to defer to a specific job instead of an environment. Deferral to a job compares state against the project code that was run in the deferred job's last successful run. While deferral to an environment is more efficient as dbt Cloud will compare against the project representation (which is stored in the `manifest.json`) of the last successful deploy job run that executed in the deferred environment. By considering _all_ deploy jobs that run in the deferred environment, dbt Cloud will get a more accurate, latest project representation state.
Expand Down Expand Up @@ -148,4 +148,4 @@ Refer to the following example snippets:

- [Artifacts](/docs/deploy/artifacts)
- [Continuous integration (CI) jobs](/docs/deploy/ci-jobs)
- [Webhooks](/docs/deploy/webhooks)
- [Webhooks](/docs/deploy/webhooks)

0 comments on commit 12db4fb

Please sign in to comment.