Commit Graph

64 Commits

Author SHA1 Message Date
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
Alex Dadgar
ef00766e31 Fix CLI handling of parameterized/periodic jobs 2017-02-16 14:29:34 -08:00
Diptanu Choudhury
67e6098f87 Removing un-neccessary conversions 2017-02-16 13:52:39 -08:00
Diptanu Choudhury
b56764a0ec Fixed the nomad status command 2017-02-16 13:52:39 -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
248c069652 Merge pull request #2128 from hashicorp/f-dispatch
Nomad Constructor Jobs and Dispatch
2017-01-06 05:22:49 +08:00
Diptanu Choudhury
e5ca8f4709 Added comments 2016-12-19 18:10:02 -08:00
Alex Dadgar
bf9355ac4f Children fixes + nomad status outputs summaries
Children object is always initialized instead of lazily.
`nomad status` outputs children summaries and has specialized view for
constructor jobs.
2016-12-14 16:58:54 -08:00
Diptanu Choudhury
5eb4e8adb3 Making the status command return the allocs of currently registered job 2016-11-24 16:31:30 +01:00
Cameron Davison
561d7e3e97 s/Created/Created At/ 2016-08-15 21:40:34 -05:00
Cameron Davison
0b7acd5825 move formatUnixNanoTime into a utility function 2016-08-08 21:24:38 -05:00
Cameron Davison
a66c568b3b remove time flag, and update docs with new column 2016-08-08 21:15:45 -05:00
Cameron Davison
40bc21fa8f add time flag to add created column to allocation 2016-08-07 19:44:56 -05:00
Cameron Davison
bc6db9c138 code cleanup of inconsistent naming, spacing, and duplicate code 2016-08-07 19:37:52 -05:00
Diptanu Choudhury
4cc24c0354 Removing the custom sorting logic 2016-08-04 13:17:21 -07:00
Diptanu Choudhury
6550a53b39 Sorting the task group names and not the output of the format list 2016-08-04 11:54:18 -07:00
Diptanu Choudhury
b8ffd9709f Sorting the job summaries while displaying 2016-08-04 10:42:53 -07:00
Diptanu Choudhury
03c6692f98 Fixed some bugs 2016-07-25 17:26:38 -07:00
Diptanu Choudhury
4095e33fa0 Displaying the job summary in nomad status command 2016-07-25 17:26:38 -07: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
fb81caa1bb unify cli output 2016-06-12 13:16:07 -07:00
Alex Dadgar
185c896ac0 helper 2016-06-10 11:02:15 -07:00
Alex Dadgar
f6aa384efb better placement failure text for blocked evals 2016-06-10 10:56:32 -07:00
Alex Dadgar
c77026f5da plan shows failure reasons and ordered annotations 2016-05-31 21:51:23 +00:00
Alex Dadgar
f5398d25e2 Clean failed placement output 2016-05-31 18:18:58 +00:00
Alex Dadgar
a932717c1c Handle the no allocation case in status 2016-05-27 11:50:15 -07:00
Alex Dadgar
63ee89ec26 Fix check of completed next eval 2016-05-27 11:50:15 -07:00
Alex Dadgar
edbbcd5deb Show failure reason in status 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
Diptanu Choudhury
b31b6b5d6e Showing the status of the first job when it's prefixed matched and the user input matched exact 2016-03-30 22:17:41 -07:00
Diptanu Choudhury
3fd9aaafea Always defaulting to prefix match 2016-03-17 17:25:38 -07:00
Alex Dadgar
bdb8512522 standardize on <> for required flags 2016-01-27 12:00:31 -08:00
Alex Dadgar
4836bd5656 limit length of string, taking into account its length 2016-01-27 10:42:10 -08:00
Ivo Verberk
2559bd68c8 Do not use the exact internal field names in the CLI output 2016-01-21 21:35:56 +01: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
648a3487c9 Merge branch 'master' into f-cli-short-ids 2016-01-15 09:19:53 +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
fd19855878 Add message to nomad status when there are no jobs 2016-01-14 11:56:06 -08:00
Alex Dadgar
36030f1c9a Change status message 2016-01-08 10:32:08 -08:00
Alex Dadgar
f13a9d934a Check parent id of prefix jobs and special case the output if no child job has been launched 2016-01-07 14:43:55 -08:00
Alex Dadgar
0dc60bed50 periodic status 2016-01-07 14:25:17 -08:00
Alex Dadgar
012db31100 Change multiple match cli output 2016-01-06 15:08:47 -08:00
Ivo Verberk
62951082e2 Improvements for short identifiers
* Fix tests
* Update documentation
2016-01-06 22:46:57 +01:00
Ivo Verberk
db82564041 Bring up-to-date with master 2015-12-24 21:16:32 +01:00
Ivo Verberk
905742249e Refactoring continued
* Refactor other cli commands to new design
* Add PrefixList method to api package
* Add more tests
2015-12-24 20:53:37 +01:00
Alex Dadgar
33cb3e13d1 Make nomad status id aware of periodic jobs 2015-12-23 18:26:39 -08:00