Alex Dadgar
a9e3a41407
Enable more linters
2017-09-26 15:26:33 -07:00
Alex Dadgar
ddc2efa4ac
sync
2017-09-19 10:08:23 -05:00
Alex Dadgar
ac1539d5d9
Sync namespace changes
2017-09-07 17:04:21 -07:00
Chelsea Holland Komlo
e88228cc5d
add global flags to autocomplete
2017-08-23 22:58:44 +00:00
Chelsea Holland Komlo
335cf888b0
use PredictAnything when an flag accepts an argument
2017-08-23 22:58:44 +00:00
Chelsea Holland Komlo
c1e5c7132a
enable autocompletion of flags
2017-08-23 22:57:07 +00:00
Alex Dadgar
24912517ac
Autocomplete files
...
This PR makes run, validate and plan autocomplete their arg to
appropriate files.
2017-07-18 13:18:17 -07:00
Alex Dadgar
7515f778a9
Thread through warnings about deprecations
2017-05-09 20:52:47 -07:00
Alex Dadgar
b92e091a81
Handle periodic paramaterized jobs
...
Fixes https://github.com/hashicorp/nomad/issues/2382
2017-03-01 11:45:20 -08:00
Alex Dadgar
76ab4b6448
Merge branch 'master' into refactor-parser
2017-02-20 15:13:21 -08:00
Diptanu Choudhury
f551dcb83e
Making the job spec return api.Job
2017-02-16 13:52:39 -08:00
Alex Dadgar
8d101c0d25
Allow specification of timezones
2017-02-15 14:37:06 -08:00
Michael Schurter
1a845561dd
Rename Constructor -> Parameterized Job
2017-01-20 12:43:10 -08:00
Alex Dadgar
e495eecece
Rename structs
2016-12-14 14:28:43 -08:00
Alex Dadgar
ef778d7c92
Dispatch command
2016-12-05 15:10:23 -08:00
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