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

Type/provider for managing jobs #33

Closed
liamjbennett opened this issue Dec 23, 2014 · 8 comments · Fixed by #530
Closed

Type/provider for managing jobs #33

liamjbennett opened this issue Dec 23, 2014 · 8 comments · Fixed by #530
Labels
enhancement New feature or request

Comments

@liamjbennett
Copy link
Member

We should have a basic way of managing the rundeck jobs using the api:

Here is a gist of roughly how it should work (this can be split into examples):

https://gist.github.com/liamjbennett/741c9139a66198dc38b2

@ozbillwang
Copy link
Contributor

@liamjbennett
Could you please provide detail or give some comments on how to use it?

@liamjbennett
Copy link
Member Author

Yes, this work still remains in a branch for that very reason. Two things that need to be done to get this branch merged in 1) validations and tests 2) documentation.

@liamjbennett liamjbennett added the enhancement New feature or request label May 22, 2015
@jyaworski
Copy link
Member

@liamjbennett I thought about this. It seems like way too much to specify in YAML/config.

What I did for this was to cron rd-jobs import and rd-jobs export so I could manage everything in the GUI and store the YAML files generated in a git repo. Something to think about.

@liamjbennett
Copy link
Member Author

Interesting.

I am not 100% sold on the idea of a type/provider because of some of the challenges of that approach. It does, as you point out, some across as a little verbose. This is the reason I have kept the work on a branch.

The problem(s) that it solves for us (we are expimenting with it internally) is that we have some common jobs between projects and some variation is jobs between environments.

This clearly requires a bit more thought and discussion. I may raise some additional issues (marked as questions) in order to give us space to try and work though some of that discussion.

@jyaworski
Copy link
Member

I find this issue moot now that the SCM plugin has debuted in 2.6.0.

@jyaworski
Copy link
Member

@liamjbennett update on this? I have a few open PRs against Rundeck to have better API options for #181.

@liamjbennett
Copy link
Member Author

We'be been using it internally for a while. I'm happy to raise a PR so we can at least have the discussion.

@jyaworski
Copy link
Member

Sounds good to me. The Jenkins module for puppet just added this, actually.

I am still skeptical of my personal use-case for this, given that the SCM plugin exists, but there is definitely a use-case for someone.

bastelfreak pushed a commit to bastelfreak/puppet-rundeck that referenced this issue Jan 13, 2017
Update from puppet-community modulesync_configs
@wyardley wyardley mentioned this issue Nov 9, 2017
@jwbraucher jwbraucher mentioned this issue Dec 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants