-
Notifications
You must be signed in to change notification settings - Fork 6
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
Ability to create multiple groups and tasks #7
Comments
Hi, thanks for checking it out! I would like to be able to support more complex job structures, however, I could not think of a nice way of mapping those onto Rundeck UI. It does not seem to offer things like repeating panels, or elements that could be conditionally enabled (at least not in community edition). A hacky way of achieving this would be to allow injecting arbitrary fragments of job definition in hcl/json. However, this would kind of destroy the purpose of the plugin. I will think of it, being open to suggestions. In the meantime, would you consider the following workaround: create 2 separate jobs in Rundeck, one for each group/task and the third job referencing those 2 as workflow steps? You could also encapsulate the common settings in a "base nomad job" and expose the variable parameters via options. |
On second thought, I will probably go the "hacky" way and implement a sub-plugin that will accept an arbitrarily complex job definition (in json). Those with simpler use cases could still use the driver-specific plugins, in return for early input validation. |
Hmm, I think in common cases we only need to change versions in already created jobs. |
@bogdanov1609 you can pretty much achieve that with the current plugin, as long as the fact that each task group will run within a separate job does not pose a big trouble. |
Hey! Awesome project, thank you.
But what about support for multiple groups and tasks in that groups?
Our goal is to "stick" docker containers to datacenters, because of it in our case, we have one job, two groups - one per datacenter, and one task per that groups.
The text was updated successfully, but these errors were encountered: