Ben Barnard
83f647ed84
Replace "the the" with "the" in documentation and comments
2016-10-11 15:31:40 -04:00
Alex Dadgar
0b9a07b19b
add import
2016-08-17 16:49:05 -07:00
Alex Dadgar
5966c74df7
Run command
2016-08-17 16:25:38 -07:00
Kenjiro Nakayama
c25baab028
Rename Helper to JobGetter
2016-08-17 11:06:08 +09:00
Kenjiro Nakayama
c77fbcc67b
Add help and documentation
2016-08-17 11:06:08 +09:00
Kenjiro Nakayama
7fb866ae4c
Use go-getter to get jobfile by URL
2016-08-17 11:06:08 +09:00
Kenjiro Nakayama
b16afbc366
Support run/plan jobfile via URL location
2016-08-17 11:06:08 +09:00
Alex Dadgar
8b819a343a
fix indents
2016-07-25 11:16:54 -07:00
Alex Dadgar
ed919f4d87
small cleanup of run command error msg
2016-07-21 09:52:41 -07:00
Kenjiro Nakayama
d766ee5c32
Fix nomad run parse error
2016-07-21 19:41:36 +09:00
Alex Dadgar
e0114fee05
InitFields to Canonicalize
2016-07-20 16:08:52 -07:00
Jake Champlin
37b546617f
Add test for reading jobfile from stdin
2016-06-21 22:59:04 -04:00
Jake Champlin
054572a048
Formatting updates
2016-06-21 17:35:08 -04:00
Jake Champlin
86854f032f
Formatting changes
2016-06-21 17:33:40 -04:00
Jake Champlin
84ad9925d7
Update from comments, initial test function
2016-06-21 16:46:42 -04:00
Jake Champlin
597892e1bc
Read Nomad Jobfile from STDIN if specified.
...
Allows `nomad run` to read a nomad jobfile from stdin. This allows
templating, and in-memory configuration to occur without writing a
static Nomad jobfile.
2016-06-21 13:50:18 -04:00
Alex Dadgar
122d035457
Give relative time
2016-06-15 15:28:35 -07:00
Alex Dadgar
bf14fd355f
plan displays launch time of periodic jobs
2016-06-15 13:34:45 -07:00
Alex Dadgar
5d181d203c
Add check-index flag to nomad run
2016-06-08 17:56:32 -07:00
Alex Dadgar
77dd3af134
docs
2016-06-07 11:33:55 -07:00
Alex Dadgar
a0557e766e
Run and plan automatically sets the region
2016-06-07 11:28:07 -07:00
Alex Dadgar
55d48196b2
eval-status website docs
2016-05-27 11:50:15 -07:00
Alex Dadgar
273dfaf2c7
Periodic jobs always are evaluated in UTC TZ
2016-04-12 09:47:25 -07:00
Alex Dadgar
9a1b1f01c8
run -output adds job key
2016-03-29 15:02:14 -07:00
Alex Dadgar
f9a48e23f9
nomad run -output emits the JSON representation of the job
2016-03-25 18:24:51 -07:00
Ivo Verberk
427d3d650d
Refactoring of full-id argument and id length constants
...
* full-id argument is now called verbose to be more future-proof
* constants for identifier length are a little more concise
2016-01-15 23:32:38 +01:00
Ivo Verberk
91a9f2c4ce
Shorten CLI identifiers
...
* Truncate all UUID identifiers to eight characters by default
* Refactor the node identifier to an auto-generated UUID
* Created and updated tests and mocks
2016-01-14 21:57:43 +01:00
Alex Dadgar
dca1a9ad85
Make monitoring based on prefix optional
2016-01-07 15:25:08 -08:00
Alex Dadgar
8b76a0718c
Make nomad status id aware of periodic jobs
2015-12-23 18:26:39 -08:00
Alex Dadgar
bd4eda0b05
Fix nomad run
2015-12-23 18:26:39 -08:00
Alex Dadgar
55cc8c61b3
fix
2015-12-18 12:17:50 -08:00
Alex Dadgar
f84fc88b60
Register gob type and remove slicetype
2015-11-18 15:26:38 -08:00
Diptanu Choudhury
b083a3f307
Fixed the parsing and encoding logic
2015-11-16 13:10:57 -08:00
Armon Dadgar
692e10603f
command/run: update synopsis
2015-09-22 21:48:44 -07:00
Armon Dadgar
b7f1447d4b
command/run: update help output
2015-09-22 21:48:43 -07:00
Ryan Uber
75c79b705e
command: monitor output updates
2015-09-22 10:45:08 -07:00
Ryan Uber
0e36424c6e
command/run: validate job before submission
2015-09-22 10:45:08 -07:00
Ryan Uber
6f8d0040f9
command: return 2 for scheduling failures when using monitor
2015-09-22 10:45:07 -07:00
Ryan Uber
ac70a19ea5
command: spelling
2015-09-22 10:45:07 -07:00
Ryan Uber
646612175d
command: enter monitor mode by default
2015-09-22 10:45:06 -07:00
Ryan Uber
5df780ccc5
command: only use prefixed UI during monitoring
2015-09-22 10:45:06 -07:00
Ryan Uber
e4b7aa1e3a
command: add prefixed output for monitor commands
2015-09-22 10:45:06 -07:00
Ryan Uber
bd40b1f5ad
command: start implementing eval monitoring for run
2015-09-22 10:45:05 -07:00
Ryan Uber
43a33dd054
command: add primitive run command
2015-09-22 10:45:05 -07:00