Commit Graph

3471 Commits

Author SHA1 Message Date
Alex Dadgar
aaff02ca49 Merge pull request #978 from hashicorp/f-enforce-user
Operator specifiable blacklist for task's using certain users
2016-03-25 12:44:05 -07:00
Alex Dadgar
a1ff98a69a swap raw_exec and qemu in the blacklist 2016-03-25 12:43:50 -07:00
Alex Dadgar
9e7d0d93a1 Merge pull request #981 from hashicorp/f-eval-force
Deregister creates an eval for a job even if it doesn't exist
2016-03-25 11:54:15 -07:00
Alex Dadgar
3698bcabf7 small fixes 2016-03-25 11:38:18 -07:00
Alex Dadgar
b253416342 Merge pull request #985 from hashicorp/b-interpret-job-tg-meta
client: Add job and task group meta interpretation
2016-03-25 10:48:20 -07:00
Alex Dadgar
aea4a2f3e7 Merge pull request #974 from hashicorp/b-remove-gc-field
Remove the GC field on the job and use the job type
2016-03-25 10:41:08 -07:00
Alex Dadgar
77f5c6eab0 Merge pull request #975 from hashicorp/f-rename-complete-alloc
Successful allocations are marked as complete instead of dead
2016-03-25 10:35:11 -07:00
Alex Dadgar
a9575287d7 Merge pull request #983 from hashicorp/f-destroy-conf
Confirmation on destructive commands
2016-03-25 10:31:38 -07:00
Alex Dadgar
be6da2a446 Fix test 2016-03-25 10:26:32 -07:00
Alex Dadgar
9643d63c6e add test for precedence 2016-03-25 10:16:04 -07:00
Alex Dadgar
bb81d2ebd0 add job and task group meta 2016-03-24 17:39:09 -07:00
Alex Dadgar
36346c0244 Merge pull request #969 from hashicorp/f-cli-output-server-update
Add a log line to the cli output for updating server address list
2016-03-24 16:01:43 -07:00
Diptanu Choudhury
bbfb4508b7 Merge pull request #982 from hashicorp/b-perform-sync
Fixing check registration in perform sync
2016-03-24 14:54:10 -07:00
Diptanu Choudhury
3c7d3cdca5 Changing the log line 2016-03-24 14:53:53 -07:00
Alex Dadgar
f1b485511e Confirmation on destructive commands 2016-03-24 14:43:20 -07:00
Diptanu Choudhury
6c5f546e86 Fixing check registration in perform sync 2016-03-24 14:12:09 -07:00
Pete Shima
80f28ebf0b Move update servers cli output to the correct commands location 2016-03-24 13:31:23 -07:00
Alex Dadgar
f33bd97f69 deregister creates an eval for a job even if it doesn't exist 2016-03-24 11:41:46 -07:00
Alex Dadgar
2d472734a3 Merge pull request #979 from hashicorp/f-travis-qemu
install qemu on travis
2016-03-24 11:19:34 -07:00
Alex Dadgar
473be7c8bf install qemu on travis 2016-03-24 11:02:18 -07:00
Alex Dadgar
cd89a97529 Operator specifiable blacklist for task's using certain users 2016-03-24 10:55:14 -07:00
Alex Dadgar
743f3621de Merge pull request #976 from hashicorp/default-resources
wbsite: document default resources
2016-03-24 09:46:01 -07:00
Jack Pearkes
ef581b265d wbsite: document default resources
Pulled this info from https://github.com/hashicorp/nomad/blob/master/nomad/structs/structs.go#L623-L630 and https://github.com/hashicorp/nomad/blob/master/nomad/structs/structs.go#L769.
2016-03-24 09:44:24 -07:00
Alex Dadgar
de91134d2b changelog 2016-03-24 09:01:02 -07:00
Alex Dadgar
324a11003f Merge pull request #950 from mssola/raw-exec-user
client: added the "user" option to tasks
2016-03-24 08:57:13 -07:00
Miquel Sabaté Solà
b41608df51 client/driver: added more tests
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
2016-03-24 08:47:23 +01:00
Diptanu Choudhury
ba12ba2127 Merge pull request #972 from hashicorp/scripts
Moving consul service to executor
2016-03-24 00:12:45 -07:00
Diptanu Choudhury
4a2bc83c14 Changed a log line 2016-03-23 19:20:08 -07:00
Diptanu Choudhury
c8622d8547 Added some comments to the keep services method 2016-03-23 19:14:03 -07:00
Diptanu Choudhury
bca2793d1c Using a helper method to copy taskStates 2016-03-23 19:11:54 -07:00
Diptanu Choudhury
b9972856e5 Added a note about backward compatibility 2016-03-23 19:08:07 -07:00
Diptanu Choudhury
408fea015d Reworded the log line 2016-03-23 19:04:59 -07:00
Diptanu Choudhury
a6e382f5fb Locking the task states 2016-03-23 19:02:29 -07:00
Diptanu Choudhury
66430737eb Fixed the tests 2016-03-23 18:39:17 -07:00
Diptanu Choudhury
ef52a7a2c2 Renamed vars and methods 2016-03-23 18:21:27 -07:00
Diptanu Choudhury
5b652bcfd8 Renaming the SyncWithConsul method 2016-03-23 18:13:13 -07:00
Diptanu Choudhury
5918e99089 Fixing log and statements 2016-03-23 18:08:32 -07:00
Alex Dadgar
e0699c2abb Successful allocations are marked as complete instead of dead 2016-03-23 18:08:19 -07:00
Diptanu Choudhury
1a9d71a1b5 Closing the shutdown ch on shutdown 2016-03-23 18:03:02 -07:00
Alex Dadgar
80a1fa0e11 remove the GC field on the job and use the job type 2016-03-23 18:02:01 -07:00
Diptanu Choudhury
167f2f0937 Locking on alloc runners before syncing with consul 2016-03-23 17:54:32 -07:00
Diptanu Choudhury
1f6137aba5 Using the name of the task and the alloc id in the service name 2016-03-23 17:35:29 -07:00
Diptanu Choudhury
8efe41e52a removing ids of services and checks on the server side 2016-03-23 17:12:53 -07:00
Diptanu Choudhury
6905740234 Added a test to check whether services get updated 2016-03-23 16:25:53 -07:00
Diptanu Choudhury
0e4a236e6a Added comments 2016-03-23 15:39:25 -07:00
Diptanu Choudhury
38fc2ac93f Fixing the test 2016-03-23 15:36:46 -07:00
Diptanu Choudhury
56ccea8f18 Client sync with consul and removed unwanted services 2016-03-23 15:28:55 -07:00
Diptanu Choudhury
5b6714cf53 Re-syncing task when it's updated 2016-03-23 14:34:43 -07:00
Diptanu Choudhury
715c59f806 Syncing consul periodically 2016-03-23 14:27:49 -07:00
Diptanu Choudhury
a69649688d Handling errors during service and check registration 2016-03-23 14:23:32 -07:00