Commit Graph

3453 Commits

Author SHA1 Message Date
Diptanu Choudhury
1e4da820a3 Running script checks periodically 2016-03-24 14:54:26 -07:00
Diptanu Choudhury
2b60e8b8a9 Updated consul related dependencies 2016-03-24 14:54:26 -07:00
Diptanu Choudhury
42dc8bea16 Added a check type for consul service to delegate certain checks 2016-03-24 14:54:26 -07:00
Diptanu Choudhury
4faf16b5c0 Added implementation to run checks for docker, exec and raw_exec 2016-03-24 14:54:26 -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
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
Diptanu Choudhury
1a9d71a1b5 Closing the shutdown ch on shutdown 2016-03-23 18:03:02 -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
Alex Dadgar
13343438c4 Merge branch 'master' of github.com:hashicorp/nomad 2016-03-23 14:09:13 -07:00
Alex Dadgar
aee3f3a624 changelog 2016-03-23 14:09:06 -07:00
Alex Dadgar
276b7a46f2 Merge pull request #970 from hashicorp/f-pass-env
Pass environment variables from host to exec based tasks
2016-03-23 14:07:29 -07:00
Alex Dadgar
5352bab6dc Comment and don't override 2016-03-23 14:07:12 -07:00
Diptanu Choudhury
701a1bd9bc Hooking up the executor in all drivers 2016-03-23 13:19:45 -07:00
Alex Dadgar
4f923f14b9 Pass environment variables from host to exec based tasks 2016-03-23 13:01:45 -07:00
Diptanu Choudhury
5568258d0a Making the docker driver register services and checks 2016-03-23 12:59:22 -07:00
Alex Dadgar
048fa5acc0 Fix rkt install in vagrant 2016-03-23 12:58:38 -07:00
Diptanu Choudhury
9a71225b9e Removing references to old consul services and adding consul config to executor context 2016-03-23 12:19:19 -07:00
Diptanu Choudhury
92e0cd6b3f Added a test for the sync 2016-03-23 11:49:40 -07:00
Diptanu Choudhury
617e0c3ddf Added the sync logic 2016-03-23 10:43:35 -07:00
Miquel Sabaté Solà
939a00aca8 client/driver: added the user config value
This way Nomad allows to set which user has to run the task.

Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
2016-03-23 12:57:31 +01:00
Diptanu Choudhury
388ab3cade Added consul sync 2016-03-23 00:50:41 -07:00
Diptanu Choudhury
4f0062a851 Merge pull request #966 from hashicorp/f-doc-nomad-agent-config
[Docs] Small update to retry join documentation
2016-03-22 22:25:58 -07:00
Pete Shima
f652abaea5 [Docs] Small update to retry join documentation 2016-03-22 21:43:38 -07:00
Alex Dadgar
186b761637 Make artifact escape analysis work on windows 2016-03-22 20:54:36 -07:00
Alex Dadgar
92a674eae5 changelog 2016-03-22 17:57:23 -07:00