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

Unify configuration of jobs and groups #112

Open
andrus opened this issue Jul 12, 2022 · 0 comments
Open

Unify configuration of jobs and groups #112

andrus opened this issue Jul 12, 2022 · 0 comments

Comments

@andrus
Copy link
Contributor

andrus commented Jul 12, 2022

Configuration of jobs and groups should look the same. Instead groups store their children in "jobs" map, and "jobs" - in "dependsOn" list. Let's create a unified recursive configuration like this:

g1:
  type: group
  dependsOn:
    j1: {}
    g2: {}
    j3:
      dependOn: 
         j6: {}
         j7:
            params: 
                 a: b
                 c: d
g2: 
  type: group
  dependsOn: 
    j4: {}
    j5: {}

The new 3.0 runtime should require very little tweaking (mostly tests) to make this work.

This will require more thought. E.g. using job names as keys is too limiting as we may want to have multiple instances of the same job with different parameters. We really need a concept of "execution" in the config

@andrus andrus changed the title Unify configiration of jobs and groups Unify configuration of jobs and groups Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant