Commit Graph

778 Commits

Author SHA1 Message Date
Diptanu Choudhury
ece625166f Merge pull request #1501 from hashicorp/f-stats-opt-in
Allow operators to opt into publishing node and alloc metrics
2016-08-04 13:33:56 -07:00
Diptanu Choudhury
b140b03947 Merge pull request #1520 from hashicorp/f-sort-tg-names-summaries
Sorting the job summaries while displaying
2016-08-04 13:32:29 -07: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
ca857d95a5 Merge pull request #1517 from hashicorp/f-reconcile-summaries
Endpoint for reconciling job summaries
2016-08-04 11:31:33 -07:00
Diptanu Choudhury
3bdaf91dd1 Updated tests and comments 2016-08-04 11:29:36 -07:00
Diptanu Choudhury
b8ffd9709f Sorting the job summaries while displaying 2016-08-04 10:42:53 -07:00
Diptanu Choudhury
72cd53d6e5 Added an endpoint for users to reconcile job summaries 2016-08-03 16:12:47 -07:00
Alex Dadgar
2c48b7b42c Merge pull request #1502 from hashicorp/f-plan-exit-code
Plan exit code map to whether allocations would change + bug fix
2016-08-03 11:10:21 -07:00
Alex Dadgar
7ee48809de Fix tests 2016-08-03 11:09:50 -07:00
Alex Dadgar
ded46507e9 plan returns appropriate exit code 2016-08-01 20:07:49 -07:00
Diptanu Choudhury
3593649e18 Allow operators to opt into publishing node and alloc metrics 2016-08-01 19:52:20 -07:00
Kenjiro Nakayama
2247ca45f9 Add validation of -n and -c options 2016-08-01 21:51:13 +09:00
Alex Dadgar
fdaf530813 api.fs uses the api.Client rather than making raw requests 2016-07-28 14:27:17 -07:00
Kenjiro Nakayama
9449a34385 Add LevelFilter test 2016-07-27 13:42:24 +09:00
Diptanu Choudhury
5081b940e9 Merge pull request #1455 from hashicorp/f-job-summary
Job Summary - Part 2
2016-07-26 16:08:37 -07:00
Alex Dadgar
6349cd3ff9 Merge pull request #1466 from hashicorp/d-logs
Document logs command and API
2016-07-26 09:41:58 -07:00
Kenjiro Nakayama
f31a53dfcf Add TestFSCommand_Fails to fs command 2016-07-26 22:45:09 +09:00
Diptanu Choudhury
c91f477d6f Renamed Job.GetJobSummary to Job.Summary 2016-07-25 17:31:40 -07:00
Diptanu Choudhury
c18e431298 Fixed more tests 2016-07-25 17:31:40 -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
Diptanu Choudhury
7628283c78 Moved the job endpoint around 2016-07-25 17:26:38 -07:00
Diptanu Choudhury
38b1ba7e4e Added the job summary related endpoints 2016-07-25 17:26:38 -07:00
Alex Dadgar
449ba5a531 remove unused file 2016-07-25 16:24:28 -07:00
Alex Dadgar
d322eb5297 Merge pull request #1465 from 42wim/ipv6-1318
Fix IPv6 advertise addresses
2016-07-25 16:14:15 -07:00
Wim
c576c2339b Use net.JoinHostPort 2016-07-25 23:34:08 +02:00
Diptanu Choudhury
00d2ed6daf Removing un-wanted dependencies 2016-07-25 14:17:52 -07:00
Wim
b3df64c976 Fix IPv6 advertise addresses 2016-07-25 22:52:18 +02:00
Alex Dadgar
5ae28927aa logs command docs 2016-07-25 13:08:39 -07:00
Alex Dadgar
0b9449fe7e better flush and connection closed handling 2016-07-25 11:16:54 -07:00
Alex Dadgar
67fe934342 control-c works 2016-07-25 11:16:54 -07:00
Alex Dadgar
cbcb32096f small fixes 2016-07-25 11:16:54 -07:00
Alex Dadgar
2a32e839ac Add logs command test 2016-07-25 11:16:54 -07:00
Alex Dadgar
f3a71e0143 Handle skipping indexes 2016-07-25 11:16:54 -07:00
Alex Dadgar
f22e228e82 log tests 2016-07-25 11:16:54 -07:00
Alex Dadgar
b65fd2624e Support non-following logs 2016-07-25 11:16:54 -07:00
Alex Dadgar
fff91cf8f0 Look up the tasks automatically 2016-07-25 11:16:54 -07:00
Alex Dadgar
efc4700d42 fix indents 2016-07-25 11:16:54 -07:00
Alex Dadgar
8cb4f76a65 remove file events and last offset 2016-07-25 11:16:01 -07:00
Alex Dadgar
ac1cfd1821 unblock the readers to add liveness when using -n 2016-07-25 11:16:01 -07:00
Alex Dadgar
4cf65d7944 Read from correct offset 2016-07-25 11:16:01 -07:00
Alex Dadgar
53f198932f Fix buffer reuse 2016-07-25 11:16:01 -07:00
Alex Dadgar
065cf0915a tests 2016-07-25 11:16:01 -07:00
Alex Dadgar
2530f7bd40 initial api and command 2016-07-25 11:16:01 -07:00
Alex Dadgar
cc0fec53f1 initial log api impl 2016-07-25 11:16:01 -07:00
Alex Dadgar
74c2a400f5 Merge pull request #1458 from nak3/plan-stdin
Support nomad plan to take jobfile from stdin
2016-07-25 11:13:09 -07:00
Kenjiro Nakayama
df302a2c59 Support nomad plan to take jobfile from stdin 2016-07-23 18:18:56 +09:00
Alex Dadgar
590e5e9e9c Merge pull request #1457 from hashicorp/f-kill-event
Add killing event and mark task as not running when killed
2016-07-22 17:33:18 -07:00
Alex Dadgar
432277a608 Merge pull request #1453 from hashicorp/d-fs-tail
Documentation for tail and the stream endpoint
2016-07-22 16:21:25 -07:00