Changelog
To see the details of all changes, head to the GitHub repo
1.6
- Add
--filtertoimport-jobsto 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
--jsontoplanandsyncto output thestdoutchanges in JSON format. This can be useful for automating some processes and consuming the changes from scripts. We are still printing logs tostderrthough, so to remove those logs you can redirectstderrto/dev/nullor redirectstdoutto a file and then read from the file.
1.4
- Add
--templated-fieldstoimport-jobsto 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-onlyflag to theimportcommand to only import managed jobs - Add
--environment-idand--project-idflags tolink,unlinkanddeactivate-jobscommands
1.2
- Automatically set the identifier when using
import-jobson 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/jobsdirectory.
- i.e.
1.0
- Initial release of
1.0