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

Support purging of jobs when using rd jobs load #274

Open
rubda opened this issue Dec 16, 2019 · 0 comments
Open

Support purging of jobs when using rd jobs load #274

rubda opened this issue Dec 16, 2019 · 0 comments

Comments

@rubda
Copy link

rubda commented Dec 16, 2019

We use rd jobs load --file some-file.yaml -F yaml to load jobs into our Rundeck instance. Our file some-file.yaml is the single source of truth for our jobs, which means when we delete a job in that file we would like to reflect the same change in our Rundeck instance.

With the current CLI this is not possible to do with rd jobs load as it does not have e.g. a --purge option. So ideally I would like to be able to run something like this rd jobs load --purge --file some-file.yaml -F yaml which would delete jobs that are not present in some-file.yaml anymore.

So this issue is basically an enhancement request to support --purge for rd jobs load to support the scenario I mentioned above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants