Alex Dadgar
af036be754
Struct/api/parsing
2016-10-18 11:24:20 -07:00
Alex Dadgar
53eeec9bc1
Merge pull request #1801 from hashicorp/f-signals
...
Consul-template signal change mode
2016-10-18 11:23:47 -07:00
Diptanu Choudhury
0f6e0d10b6
Enable serf encryption ( #1791 )
...
* Added the keygen command
* Added support for gossip encryption
* Changed the URL for keyring management
* Fixed the cli
* Added some tests
* Added tests for keyring operations
* Added a test for removal of keys
* Added some docs
* Fixed some docs
* Added general options
2016-10-17 10:48:04 -07:00
Alex Dadgar
bc35eaee21
Task runner sends signals
2016-10-10 15:09:00 -07:00
Alex Dadgar
8fb07bb083
Fix handling of restart in TaskEvents
2016-10-06 15:06:54 -07:00
Alex Dadgar
8eb7fa91cf
Start of integration
2016-10-06 15:05:49 -07:00
Diptanu Choudhury
d50c395421
Getting snapshot of allocation from remote node ( #1741 )
...
* Added the alloc dir move
* Moving allocdirs when starting allocations
* Added the migrate flag to ephemeral disk
* Stopping migration if the allocation doesn't need migration any more
* Added the GetAllocDir method
* refactored code
* Added a test for alloc runner
* Incorporated review comments
2016-10-03 09:59:57 -07:00
Alex Dadgar
e925f8ca58
Add template structs
2016-09-26 15:36:11 -07:00
Alex Dadgar
22f150b17a
Add env
2016-09-21 16:37:04 -07:00
Alex Dadgar
50efdb00e9
Merge pull request #1713 from hashicorp/f-alloc-runner-vault
...
Vault integration in client
2016-09-20 16:15:55 -07:00
Mathias Lafeldt
c2503adb83
Include parent ID in job info returned by Go API
...
At the moment, this ID is only included when using `Jobs().List()`, which returns `api.JobListStub`.
With this change, the ID will also be available when using `Jobs().Info()`, which returns `api.Job`.
In fact, `ParentID` is currently the only field present in `api.JobListStub` that is not part of `api.Job`.
Note: This has the side effect that `nomad run -output` will now include an empty `ParentID`.
2016-09-15 14:37:13 +02:00
Alex Dadgar
ada5d8dd0c
alloc-status
2016-09-14 18:27:13 -07:00
Diptanu Choudhury
1b3c5e98c8
Renaming LocalDisk to EphemeralDisk ( #1710 )
...
Renaming LocalDisk to EphemeralDisk
2016-09-14 15:43:42 -07:00
Diptanu Choudhury
605a5b52b2
Fixed api tests
2016-08-25 22:10:25 -05:00
Diptanu Choudhury
d156f32f94
Implemented job spec parsing for sticky volumes
2016-08-24 13:51:15 -05:00
Marin
9ad8ecc149
api/tasks.go: add check initial_status
2016-08-23 14:09:42 -07:00
Alex Dadgar
1da8566322
Merge pull request #1580 from hashicorp/f-disk-usage-monitoring
...
Monitor and enforce shared allocation directory disk usage
2016-08-23 09:49:53 -07:00
Diptanu Choudhury
94571eab5d
Attempting to fix alloc status test
2016-08-22 15:07:49 -05:00
Ivo Verberk
2a17895a83
Disk resource monitoring and enforcement
2016-08-18 07:59:03 +02:00
Alex Dadgar
5966c74df7
Run command
2016-08-17 16:25:38 -07:00
Kyle Havlovitz
40f9d35833
Added NOMAD_HTTP_AUTH env var for basic auth
2016-08-17 15:13:35 -04:00
Cameron Davison
2165e39197
allow multiple evals check last one in test
2016-08-12 21:48:49 -05:00
Diptanu Choudhury
dd7e69006e
Not running tests parallal
2016-08-11 21:53:27 -07:00
Diptanu Choudhury
56c78f84a4
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
f17e8bb222
go fmt error
2016-08-08 09:24:24 -05:00
Cameron Davison
b3920e7019
just checked the known values in job summary instead of doing a deep equals
2016-08-07 22:51:24 -05:00
Cameron Davison
df8aaaaaf4
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
4cc9eb7232
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
849eafbae4
Fix nomad inspect output
2016-07-28 14:48:25 -07:00
Alex Dadgar
ef47612606
api.fs uses the api.Client rather than making raw requests
2016-07-28 14:27:17 -07:00
Diptanu Choudhury
3c96e29ca1
Merge pull request #1473 from hashicorp/f-node-status-updated-ts
...
Added a test
2016-07-27 13:45:31 -07:00
Diptanu Choudhury
4000a5864d
Added a test
2016-07-27 13:44:30 -07:00
Alex Dadgar
a4b15ad36d
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
3c64fa562b
Added the status updated at timestamp
2016-07-27 11:50:06 -07:00
Diptanu Choudhury
50842b88c7
Fixed some bugs
2016-07-25 17:26:38 -07:00
Diptanu Choudhury
ef97956333
Added support for retreiving job summary in api
2016-07-25 17:26:38 -07:00
Alex Dadgar
43d78b6d23
control-c works
2016-07-25 11:16:54 -07:00
Alex Dadgar
85cc520365
Support non-following logs
2016-07-25 11:16:54 -07:00
Alex Dadgar
c808f2eefa
remove file events and last offset
2016-07-25 11:16:01 -07:00
Alex Dadgar
605dd5cef9
unblock the readers to add liveness when using -n
2016-07-25 11:16:01 -07:00
Alex Dadgar
b2df901158
initial api and command
2016-07-25 11:16:01 -07:00
Alex Dadgar
90748cedad
Add killing event and mark task as not running when killed
2016-07-21 15:49:54 -07:00
Mathias Lafeldt
626404b19c
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
104a5baa33
Allow following of files when cating and fix offsets
2016-07-13 15:33:17 -06:00
Alex Dadgar
4aabced8ce
Add FrameReader test
2016-07-13 14:37:03 -06:00
Alex Dadgar
d37651995f
implement -n for tail
2016-07-13 13:26:09 -06:00
Alex Dadgar
dba8a3df22
frames to reader
2016-07-12 17:34:32 -06:00
Alex Dadgar
e9ffadfdc6
initial comments
2016-07-11 10:58:18 -06:00
Alex Dadgar
1fe435a130
StreamFramer encapsulates the sending, heartbeating and batching behavior of frames
2016-07-10 13:57:04 -04:00
Alex Dadgar
92a6f0f8ba
initial command implementation
2016-07-10 13:57:04 -04:00