Changelog
To see the details of all changes, head to the GitHub repo
1.5
- Add
--filter
toimport-jobs
to allow importing jobs to specific environments. In the case where people maintain jobs in the dbt Cloud UI and want to promote them, they can mention what environments they want to import the jobs to using the identifier of the job:[[envs_filter:identifier]]
.
1.5
- Add
--json
toplan
andsync
to output thestdout
changes in JSON format. This can be useful for automating some processes and consuming the changes from scripts. We are still printing logs tostderr
though, so to remove those logs you can redirectstderr
to/dev/null
or redirectstdout
to a file and then read from the file.
1.4
- Add
--templated-fields
toimport-jobs
to add Jinja variables to the generated YAML file. This can be useful to allow users to maintain jobs in the dbt Cloud UI and set a process to automatically promote those to other environments.
1.3
- Add this docs site
- Add
--managed-only
flag to theimport
command to only import managed jobs - Add
--environment-id
and--project-id
flags tolink
,unlink
anddeactivate-jobs
commands
1.2
- Automatically set the identifier when using
import-jobs
on managed jobs. This automatically links the jobs to the generated YAML file.
1.1
- Add the ability to mention "glob" files for the YAML config and var files.
- i.e.
dbt-jobs-as-code plan ".dbt/jobs/*"
can be used to take into consideration all files in the.dbt/jobs
directory.
- i.e.
1.0
- Initial release of
1.0