Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deploy-jobs.md for self-deferral #4023

Merged
merged 6 commits into from
Sep 7, 2023
Merged
Changes from 2 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
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).
nghi-ly marked this conversation as resolved.
Show resolved Hide resolved

:::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)
Loading