Commit Graph

213 Commits

Author SHA1 Message Date
Alex Dadgar
dd7d827eb0 Run command 2016-08-17 16:25:38 -07:00
Kyle Havlovitz
145312c3ac Added NOMAD_HTTP_AUTH env var for basic auth 2016-08-17 15:13:35 -04:00
Cameron Davison
f9820349d0 allow multiple evals check last one in test 2016-08-12 21:48:49 -05:00
Diptanu Choudhury
938d512f49 Not running tests parallal 2016-08-11 21:53:27 -07:00
Diptanu Choudhury
6646a5d0ed Merge pull request #1542 from novilabs/fix-test-job-summary
just checked the known values in job summary instead of doing a deep equals
2016-08-09 15:59:39 -07:00
Cameron Davison
bf15a9356d go fmt error 2016-08-08 09:24:24 -05:00
Cameron Davison
9fb2733de8 just checked the known values in job summary instead of doing a deep equals 2016-08-07 22:51:24 -05:00
Cameron Davison
f52335700b it is possible to have more than 1 eval if the eval fails, use the last one 2016-08-07 22:30:48 -05:00
Alex Dadgar
53e265d1eb Merge pull request #1482 from hashicorp/b-fs-http
api.fs uses the api.Client rather than making raw requests
2016-07-28 15:29:18 -07:00
Alex Dadgar
44a17d595d Fix nomad inspect output 2016-07-28 14:48:25 -07:00
Alex Dadgar
fdaf530813 api.fs uses the api.Client rather than making raw requests 2016-07-28 14:27:17 -07:00
Diptanu Choudhury
adfe4a3575 Merge pull request #1473 from hashicorp/f-node-status-updated-ts
Added a test
2016-07-27 13:45:31 -07:00
Diptanu Choudhury
22dd584e75 Added a test 2016-07-27 13:44:30 -07:00
Alex Dadgar
ee2289613d Merge pull request #1472 from hashicorp/f-node-status-updated-ts
Added the status updated at timestamp
2016-07-27 13:12:34 -07:00
Diptanu Choudhury
3ef112b30e Added the status updated at timestamp 2016-07-27 11:50:06 -07:00
Diptanu Choudhury
03c6692f98 Fixed some bugs 2016-07-25 17:26:38 -07:00
Diptanu Choudhury
ba18de7d4e Added support for retreiving job summary in api 2016-07-25 17:26:38 -07:00
Alex Dadgar
67fe934342 control-c works 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
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
2530f7bd40 initial api and command 2016-07-25 11:16:01 -07:00
Alex Dadgar
7bb0a2336a Add killing event and mark task as not running when killed 2016-07-21 15:49:54 -07:00
Mathias Lafeldt
a61494166b Add HTTP basic auth support to Nomad client code
In order to authenticate against protected endpoints, e.g.

```
export NOMAD_ADDR=https://$USER:$PASSWORD@nomad.example.net
nomad status
```

Instead of adding username and password to `api.Config`, this is a
rather simple change to the request handler code that passes along any
basic auth information.
2016-07-18 15:34:34 +02:00
Alex Dadgar
a1b46b3a6d Allow following of files when cating and fix offsets 2016-07-13 15:33:17 -06:00
Alex Dadgar
398f888662 Add FrameReader test 2016-07-13 14:37:03 -06:00
Alex Dadgar
991220b5c7 implement -n for tail 2016-07-13 13:26:09 -06:00
Alex Dadgar
25dd45c763 frames to reader 2016-07-12 17:34:32 -06:00
Alex Dadgar
3cc13aeca1 initial comments 2016-07-11 10:58:18 -06:00
Alex Dadgar
4f7c5fa502 StreamFramer encapsulates the sending, heartbeating and batching behavior of frames 2016-07-10 13:57:04 -04:00
Alex Dadgar
3159859949 initial command implementation 2016-07-10 13:57:04 -04:00
Diptanu Choudhury
6cb5fd3694 Allowing ports to be overriden in check definitions 2016-07-08 14:14:25 -07:00
Alex Dadgar
e8b69052aa plan displays launch time of periodic jobs 2016-06-15 13:34:45 -07:00
Alex Dadgar
020f8b05d3 only support latest and remove ring buffer 2016-06-12 09:32:38 -07:00
Alex Dadgar
1a7df4e7d2 Allocation resources returned in a struct 2016-06-11 21:04:10 -07:00
Alex Dadgar
490e35da00 Merge pull request #1243 from hashicorp/f-run-modify-index
Add check-index flag to nomad run
2016-06-11 16:12:53 -07:00
Sean Chittenden
9b6e720fbe Merge pull request #1201 from hashicorp/f-dyn-server-list
Dynamic Server Lists/Client Bootstrapping via consul.
2016-06-11 18:58:25 -04:00
Alex Dadgar
a9c97cfb19 Don't require slash for node stats 2016-06-11 13:15:57 -07:00
Diptanu Choudhury
4ac1c673aa Implementing the total ticks per task for the docker driver 2016-06-10 23:33:25 +02:00
Diptanu Choudhury
358cdf8f63 Calculating total ticks consumed in the nomad client 2016-06-10 23:14:33 +02:00
Diptanu Choudhury
c13e750a02 Calculating the cpu ticks in nomad client 2016-06-10 22:22:32 +02:00
Sean Chittenden
2ac7ecb5b8 Remove useless statement 2016-06-10 15:54:39 -04:00
Sean Chittenden
2abd37c741 Silence unused variable warning 2016-06-10 15:50:11 -04:00
Sean Chittenden
681a7d6930 Remove testing for an API that doesn't exist any more. 2016-06-10 15:50:11 -04:00
Alex Dadgar
17af581d93 Annotate what is measured 2016-06-09 19:45:41 -07:00
Alex Dadgar
693299cd9b Add check-index flag to nomad run 2016-06-08 17:56:32 -07:00
Alex Dadgar
5ffb2f024c Merge pull request #1237 from hashicorp/b-regions
CLI can forward request to different regions
2016-06-08 11:00:23 -07:00
Diptanu Choudhury
4fc5eedfa7 Moving the stats error to the bottom of alloc status 2016-06-08 12:28:41 -04:00
Alex Dadgar
cc80c2442f Run and plan automatically sets the region 2016-06-07 11:28:07 -07:00
Alex Dadgar
c77026f5da plan shows failure reasons and ordered annotations 2016-05-31 21:51:23 +00:00