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

Dispatch parameterized jobs from UI [feature request] #9313

Closed
optiz0r opened this issue Nov 10, 2020 · 3 comments · Fixed by #10675
Closed

Dispatch parameterized jobs from UI [feature request] #9313

optiz0r opened this issue Nov 10, 2020 · 3 comments · Fixed by #10675
Labels
stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/ui type/enhancement

Comments

@optiz0r
Copy link
Contributor

optiz0r commented Nov 10, 2020

Feature

It would be useful to dispatch simple parameterized jobs from the ui, rather than having to use the cli/api to do this. Currently I have various housekeeping jobs which operate on a single parameter, which is typically a single word. It would be very quick and easy to open the webui, find the job, click a dispatch button, enter the meta parameter and hit go. The cli alternative requires a lot of typing, and wrangling of tokens from vault, managing env vars etc. As the nomad administrator, I have the tools and info readily to hand, ops teammates do not always have this setup, or do it often enough that the commands to do so are in muscle memory. The ethos for the UI appears to be "make life easier" and this would fit well with that.

Possible implementation

i can imagine a very simple UI which simply renders text inputs for the defined meta parameters (with indication as to which ones are required) and a textarea/file upload widget for the payload data.

Use cases

Example operations which would become much easier to operate via UI:

  • A batch job which clones the production database to a staging/dev environment taking the target environment as a meta parameter
  • A user onboarding batch job which takes a username and a role as meta parameters and registers them in some system
@DingoEatingFuzz DingoEatingFuzz added stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/ui labels Nov 10, 2020
@DingoEatingFuzz
Copy link
Contributor

This is an excellent idea and one that I have given some backburner thought to as well. Here's a wireframe from some prior noodling:

image

@tgross tgross added this to Needs Roadmapping in Nomad - Community Issues Triage Feb 12, 2021
@tgross tgross removed this from Needs Roadmapping in Nomad - Community Issues Triage Mar 4, 2021
@pznamensky
Copy link

@DingoEatingFuzz looks really awesome!

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/ui type/enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants