Jay Oster
593669ada2
Address review comments
...
- Simplify map length check in Linux Executor
- Added a `chroot_env` test for config parser
- Moved `ChrootEnv` field from ExecutorCommand to ExecutorContext
- Added a test for `chroot_env` functionality
2016-08-04 15:33:06 -07:00
Jay Oster
1876fc2b10
Add config field to specify chroot mapping for exec driver
...
- Same format as used by the internal chroot mapping
- Map: source_path -> dest_path
- Example HCL:
client {
chroot_env {
"/etc" = "/etc"
"/lib" = "/lib"
"/opt/projects/foo/bin" = "/usr/bin"
}
}
2016-08-03 17:17:17 -07:00
Kenjiro Nakayama
9449a34385
Add LevelFilter test
2016-07-27 13:42:24 +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
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
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
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
matt maier
28e5e63f03
Change circonus_broker_search_tag to circonus_broker_select_tag to match option in consul
2016-07-22 15:16:14 -04:00
matt maier
d92dd0dc5a
Circonus integration for telemetry metrics
2016-07-22 12:33:10 -04:00
Mathias Lafeldt
acb9997ca7
Fix typos in source code
2016-07-18 16:24:46 +02:00
Alex Dadgar
991220b5c7
implement -n for tail
2016-07-13 13:26:09 -06:00
Alex Dadgar
19ca6e7b55
address comments
2016-07-12 17:01:33 -06:00
Alex Dadgar
ffb57ffd6f
Address more comments
2016-07-12 10:45:05 -06:00
Alex Dadgar
12ae85ff0c
Tests and handle conn close behavior better
2016-07-12 10:18:48 -06:00
Alex Dadgar
3cc13aeca1
initial comments
2016-07-11 10:58:18 -06:00
Alex Dadgar
65a64fb1cb
StreamFramer tests
2016-07-10 13:57:20 -04:00
Alex Dadgar
4f7c5fa502
StreamFramer encapsulates the sending, heartbeating and batching behavior of frames
2016-07-10 13:57:04 -04:00
Alex Dadgar
5b7ea09a7c
Only initialize watcher once, fix offsetting, implement tail non-follow
2016-07-10 13:57:04 -04:00
Alex Dadgar
451d63cfa6
Set up for testing
2016-07-10 13:57:04 -04:00
Alex Dadgar
a3d82ee47f
Flush and use correct buffer size
2016-07-10 13:57:04 -04:00
Alex Dadgar
2368722146
initial tail impl
2016-07-10 13:57:04 -04:00
Diptanu Choudhury
473d165c0d
Using net.JoinHostPort instead of handcrafting addrs
2016-07-08 16:45:14 -07:00
Diptanu Choudhury
6cb5fd3694
Allowing ports to be overriden in check definitions
2016-07-08 14:14:25 -07:00
Diptanu Choudhury
11381b442b
Merge pull request #1344 from hashicorp/b-consul-service-name
...
Fixed parsing of consul agent service names
2016-06-22 15:47:34 -07:00
Alex Dadgar
dddf376a04
use microsecond granularity
2016-06-22 15:20:56 -07:00
Diptanu Choudhury
b71ace9c2c
Fixed parsing of consul agent service names
2016-06-22 13:52:43 -07:00
Alex Dadgar
213f21df45
remove resolving client rpc addr
2016-06-17 14:55:37 -07:00
Sean Chittenden
cb792ea036
Merge pull request #1310 from hashicorp/b-logger
...
Create and pass only one `logger` object around per Agent
2016-06-17 12:16:35 -07:00
Sean Chittenden
451c685f1c
Provide nomad.Config with a default LogOutput of os.StdErr
2016-06-17 06:44:10 -07:00
Sean Chittenden
bcf0929c95
Pass a logger arg to NewClient and NewServer
2016-06-16 23:29:23 -07:00
Sean Chittenden
d8d78d72f2
Remove the shutdownCh as an argument, it was already present in the receiver
2016-06-16 23:15:41 -07:00
Sean Chittenden
c093f4caf5
Teach config.ConsulConfig how to construct a consulapi TLS client.
...
Said differently, centralize the creation of consul's client config
in one place and use it everywhere.
2016-06-16 22:51:06 -07:00