Commit Graph

45 Commits

Author SHA1 Message Date
Diptanu Choudhury
490026e67d Added a warning message if disk attribute is non zero 2016-11-08 17:06:37 -08:00
Ben Barnard
ce94317d00 Replace "the the" with "the" in documentation and comments 2016-10-11 15:31:40 -04:00
Alex Dadgar
176a71690b add import 2016-08-17 16:49:05 -07:00
Alex Dadgar
dd7d827eb0 Run command 2016-08-17 16:25:38 -07:00
Kenjiro Nakayama
bbc6a48596 Rename Helper to JobGetter 2016-08-17 11:06:08 +09:00
Kenjiro Nakayama
2c332cf539 Add help and documentation 2016-08-17 11:06:08 +09:00
Kenjiro Nakayama
d00090ab8b Use go-getter to get jobfile by URL 2016-08-17 11:06:08 +09:00
Kenjiro Nakayama
717f446d0e Support run/plan jobfile via URL location 2016-08-17 11:06:08 +09:00
Alex Dadgar
efc4700d42 fix indents 2016-07-25 11:16:54 -07:00
Alex Dadgar
c6968f18b7 small cleanup of run command error msg 2016-07-21 09:52:41 -07:00
Kenjiro Nakayama
9b02a7a90e Fix nomad run parse error 2016-07-21 19:41:36 +09:00
Alex Dadgar
288aea39fc InitFields to Canonicalize 2016-07-20 16:08:52 -07:00
Jake Champlin
c08b15b23b Add test for reading jobfile from stdin 2016-06-21 22:59:04 -04:00
Jake Champlin
d59add55d0 Formatting updates 2016-06-21 17:35:08 -04:00
Jake Champlin
97fe2a430e Formatting changes 2016-06-21 17:33:40 -04:00
Jake Champlin
46c0fde91f Update from comments, initial test function 2016-06-21 16:46:42 -04:00
Jake Champlin
82b529f81a 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
c692478a39 Give relative time 2016-06-15 15:28:35 -07:00
Alex Dadgar
e8b69052aa plan displays launch time of periodic jobs 2016-06-15 13:34:45 -07:00
Alex Dadgar
693299cd9b Add check-index flag to nomad run 2016-06-08 17:56:32 -07:00
Alex Dadgar
baff94f3ba docs 2016-06-07 11:33:55 -07:00
Alex Dadgar
cc80c2442f Run and plan automatically sets the region 2016-06-07 11:28:07 -07:00
Alex Dadgar
c993b51c4b eval-status website docs 2016-05-27 11:50:15 -07:00
Alex Dadgar
b63f3bb078 Periodic jobs always are evaluated in UTC TZ 2016-04-12 09:47:25 -07:00
Alex Dadgar
a4e4819716 run -output adds job key 2016-03-29 15:02:14 -07:00
Alex Dadgar
fb2534084f nomad run -output emits the JSON representation of the job 2016-03-25 18:24:51 -07:00
Ivo Verberk
9770a95608 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
ab9409184a 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
0a85e74aae Make monitoring based on prefix optional 2016-01-07 15:25:08 -08:00
Alex Dadgar
33cb3e13d1 Make nomad status id aware of periodic jobs 2015-12-23 18:26:39 -08:00
Alex Dadgar
e4d60c65c2 Fix nomad run 2015-12-23 18:26:39 -08:00
Alex Dadgar
699749c48c fix 2015-12-18 12:17:50 -08:00
Alex Dadgar
48f4db09aa Register gob type and remove slicetype 2015-11-18 15:26:38 -08:00
Diptanu Choudhury
e8236c0081 Fixed the parsing and encoding logic 2015-11-16 13:10:57 -08:00
Armon Dadgar
54f5b05b07 command/run: update synopsis 2015-09-22 21:48:44 -07:00
Armon Dadgar
ea240a5063 command/run: update help output 2015-09-22 21:48:43 -07:00
Ryan Uber
5596f8419d command: monitor output updates 2015-09-22 10:45:08 -07:00
Ryan Uber
e24e6a3a46 command/run: validate job before submission 2015-09-22 10:45:08 -07:00
Ryan Uber
ceab11b3f4 command: return 2 for scheduling failures when using monitor 2015-09-22 10:45:07 -07:00
Ryan Uber
5f92022c7e command: spelling 2015-09-22 10:45:07 -07:00
Ryan Uber
eb60a5fdc1 command: enter monitor mode by default 2015-09-22 10:45:06 -07:00
Ryan Uber
f186b7a3b0 command: only use prefixed UI during monitoring 2015-09-22 10:45:06 -07:00
Ryan Uber
10a776723f command: add prefixed output for monitor commands 2015-09-22 10:45:06 -07:00
Ryan Uber
3bb508c0b5 command: start implementing eval monitoring for run 2015-09-22 10:45:05 -07:00
Ryan Uber
6532abdf68 command: add primitive run command 2015-09-22 10:45:05 -07:00