Jay Oster
20d3d00b29
Add documentation for chroot_env client configuration
2016-08-05 15:59:06 -07:00
Jay Oster
2ae059b41d
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
24e8f752ab
Add chroot_env to Java driver (which uses the exec driver internally)
2016-08-04 11:15:35 -07:00
Jay Oster
7df692226a
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
Alex Dadgar
558c357ee1
changelog
2016-08-03 11:11:55 -07:00
Alex Dadgar
7b64adfcdd
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
91db768430
Fix tests
2016-08-03 11:09:50 -07:00
Alex Dadgar
e8d3e45495
changelog
2016-08-03 10:28:45 -07:00
Alex Dadgar
2eb9127ef1
Merge pull request #1513 from mlafeldt/workdir
...
Docker driver: allow to configure working directory
2016-08-03 10:27:49 -07:00
Alex Dadgar
1611cd0488
Merge pull request #1491 from nak3/add-format-to-test
...
Add go fmt before running test in Makefile
2016-08-03 10:02:48 -07:00
Alex Dadgar
31e2cfc3f8
Merge pull request #1512 from mlafeldt/restart-policy-link
...
Job Spec: Link restart policy reference
2016-08-03 09:50:08 -07:00
Mathias Lafeldt
0727db4ca0
Test configuration of Docker working directory
2016-08-03 16:35:49 +02:00
Mathias Lafeldt
d91f7dbdf8
Docker driver: allow to configure working directory
2016-08-03 16:18:15 +02:00
Mathias Lafeldt
dba6183b38
Job Spec: Link restart policy reference
...
For easier lookup.
2016-08-03 15:42:51 +02:00
Diptanu Choudhury
d73d708a98
Merge pull request #1509 from hashicorp/fix-accounting
...
Not updating summary if create index of summary not same as job's cre…
2016-08-02 19:58:04 -07:00
Alex Dadgar
2662bfb2f9
changelog
2016-08-02 19:33:45 -07:00
Diptanu Choudhury
b95cf91ee3
using the job associated with the alloc to determine if job is present
2016-08-02 19:14:05 -07:00
Diptanu Choudhury
6f8c40fca7
Not updating summary if create index of summary not same as job's create index
2016-08-02 18:59:45 -07:00
Diptanu Choudhury
b2d388bcba
Merge pull request #1508 from hashicorp/b-dont-update-job
...
Do not update the job of allocations that are being stopped
2016-08-02 18:58:39 -07:00
Alex Dadgar
2332a58944
Do not update the job of allocations that are being stopped
2016-08-02 17:53:31 -07:00
Diptanu Choudhury
c02f9a52df
Merge pull request #1505 from hashicorp/f-fix-summary
...
Fix the logic for updating summary
2016-08-02 16:24:51 -07:00
Alex Dadgar
797509be8c
changelog
2016-08-02 16:17:09 -07:00
Alex Dadgar
08bae69bf1
Merge pull request #1506 from hashicorp/b-priviledge-gate
...
Handle privileged correctly and don't gate various configs on it
2016-08-02 16:16:02 -07:00
Alex Dadgar
47f5c8f523
use priviledge of the config
2016-08-02 16:10:15 -07:00
Diptanu Choudhury
87fdeb5393
Updated the logic to update job summary
2016-08-02 16:08:20 -07:00
Alex Dadgar
cec6d8a1eb
remove gating of ipc, user ns and pidmode based on hosts priviledge mode config
2016-08-02 16:02:34 -07:00
Diptanu Choudhury
3966a46996
Updating the summary after we have updated the current allocation when client updates the alloc
2016-08-02 15:06:39 -07:00
Diptanu Choudhury
92e32e46f1
Updating the summary after we have updated the current allocation
2016-08-02 14:59:41 -07:00
Alex Dadgar
63eca3040f
Merge pull request #1504 from mlafeldt/atttempts
...
Fix typo: atttempts
2016-08-02 10:05:31 -07:00
Mathias Lafeldt
acbee08a0a
Fix typo: atttempts
2016-08-02 18:11:03 +02:00
Alex Dadgar
3a9f3a31bc
KillTimeout can be modified in place
2016-08-01 20:19:12 -07:00
Alex Dadgar
e474ea7cce
plan returns appropriate exit code
2016-08-01 20:07:49 -07:00
Kenjiro Nakayama
a1765f0297
Add go fmt before running test in Makefile
2016-08-02 10:36:26 +09:00
Alex Dadgar
7c57ba286f
Merge pull request #1490 from nak3/fix-gofmt
...
Fix gofmt in restarts_test.go
2016-08-01 17:11:07 -07:00
Diptanu Choudhury
1b47f39d76
Merge pull request #1496 from hashicorp/b-summary
...
Using the parent transaction to query the allocation while updating s…
2016-08-01 17:07:16 -07:00
Diptanu Choudhury
3aa4f39094
Checking if a job is nil before updating the allocation
2016-08-01 17:05:48 -07:00
Alex Dadgar
b4a661ca7d
Merge pull request #1492 from nak3/fs-update
...
Add validation of -n and -c options
2016-08-01 17:04:45 -07:00
Diptanu Choudhury
b69b7129a6
Using the parnet transaction to query the allocation while updating summary
2016-08-01 16:46:05 -07:00
Kenjiro Nakayama
5edffb6025
Add validation of -n and -c options
2016-08-01 21:51:13 +09:00
Kenjiro Nakayama
e8ce8408a4
Fix gofmt in restarts_test.go
2016-07-30 21:11:06 +09:00
Diptanu Choudhury
f304ec9e53
Merge pull request #1486 from novilabs/add-intellij-ignore
...
add intellij iml as an ignored file
2016-07-28 22:57:28 -07:00
Diptanu Choudhury
399e6eba7b
Merge pull request #1485 from novilabs/fix-consul-error-log
...
fix setup consul syncer error message
2016-07-28 22:57:12 -07:00
Cameron Davison
8f1cd0507b
add intellij iml as an ignored file
2016-07-28 22:20:20 -05:00
Cameron Davison
777bdf4a1e
fix setup consul syncer error message
2016-07-28 22:14:52 -05:00
Alex Dadgar
e661c09898
fix filter logic
2016-07-28 15:57:56 -07:00
Diptanu Choudhury
96d1e96228
Merge pull request #1483 from hashicorp/b-task-stop
...
Not updating job summaries if jobs are not present
2016-07-28 15:37:46 -07: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
Diptanu Choudhury
b0e1f02e26
Not updating job summaries if jobs are not present
2016-07-28 15:24:27 -07:00
Alex Dadgar
849eafbae4
Fix nomad inspect output
2016-07-28 14:48:25 -07:00
Alex Dadgar
6f3f5c8ba5
Merge branch 'master' of github.com:hashicorp/nomad
2016-07-28 14:32:58 -07:00