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

[Feature] Run jobs from multiple YML files #122

Closed
christineberger opened this issue Jan 24, 2025 · 0 comments · Fixed by #123
Closed

[Feature] Run jobs from multiple YML files #122

christineberger opened this issue Jan 24, 2025 · 0 comments · Fixed by #123
Assignees
Labels
triage Issue needs to be triaged by the maintainer team.

Comments

@christineberger
Copy link

Describe the feature
I would like to organize jobs into different YML files, but in order to run all configurations together I would need to loop through YML files on my own with each command. I would love to be able to utilize jobs-as-code like these examples:

├── .dbt/
│   └── jobs/
│       ├── finance_jobs.yml
│       └── product_jobs.yml

or

└── .dbt/
    └── jobs/
        ├── dim_products.yml
        └── fct_orders.yml

It would be awesome if we could provide a path for jobs instead of supplying one file, like so:
dbt-jobs-as-code plan .dbt/jobs/
or provide a configuration file like this:

# config.yml
jobs_path: .dbt/jobs

Describe alternatives you've considered
I've considered writing a script to loop through JaC commands based on the YML files found in a folder.

Who will this benefit?
This use case is beneficial for anyone who needs to organize their jobs.

Are you interested in contributing this feature?
Would love to but not sure if I can make the time commitment! Feel free to reach out to me if there are any smaller tasks you think I can help with here!

@christineberger christineberger added the triage Issue needs to be triaged by the maintainer team. label Jan 24, 2025
@b-per b-per closed this as completed in #123 Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Issue needs to be triaged by the maintainer team.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants