Commit graph

4920 commits

Author SHA1 Message Date
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
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
Alex Dadgar 429a59a3c3 Changelog 2016-07-28 14:32:41 -07:00
Alex Dadgar ddbd9261c1 Merge pull request #1471 from hashicorp/b-handle-old-batch-allocs
filterCompleteAllocs filters replaced batch allocs
2016-07-28 14:31:19 -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 cc029dc11b Merge pull request #1481 from hashicorp/b-summary-accounting
Updated tests and added logic to system sched
2016-07-28 14:03:36 -07:00
Diptanu Choudhury eb08405467 Updated tests and added logic to system sched 2016-07-28 14:02:50 -07:00
Alex Dadgar 419acaa440 Changelog 2016-07-28 13:17:03 -07:00
Alex Dadgar 460fb404b4 Merge pull request #1480 from hashicorp/b-docker-disable-swap
Disable swap on docker driver
2016-07-28 13:16:22 -07:00
Diptanu Choudhury 6187b6aef8 Merge pull request #1479 from hashicorp/b-summary-accounting
Setting the queued count as zero if there is nothing to place
2016-07-28 13:10:00 -07:00
Diptanu Choudhury 2e84d246f9 fixed a comment 2016-07-28 12:22:44 -07:00
Alex Dadgar 2999c12ef1 disable swap 2016-07-28 12:17:00 -07:00