Repository navigation
feat(ui): create a new job from a template with n, or from a file with :run - #103
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
Start a new job from urga (#87), two commits.
non the jobs list opens a job template in your editor: a service jobwebwith one task, the docker driver and annginximage, ready to change into yours. Saved, it goes through the plan, as an edit does, andysubmits it. Saved unchanged, it sends nothing, as an edit does.:run <file>reads a local job file, HCL or JSON, and opens its plan.~/is the home directory; a relative path is from where urga runs. A file that cannot be read says why, and:runwith no path says it needs one.A job named web exists already: a new one cannot replace it.and offers no submit.defaultwhen the session looks at all of them. The file is parsed without canonicalizing to tell the two apart.y, the watch of the deploy opens for a job that runs itself, as after any submit; a new periodic or parameterized job opens none.n, and:runsays it is off.docs/keys.mdanddocs/jobs.mddescribe both.Closes #87
Checklist
make checkis greenfeat(ui): ...,fix(nomad): ...