Diptanu Choudhury
|
0309506b57
|
Added tests for the executor
|
2016-02-04 17:00:40 -08:00 |
|
Diptanu Choudhury
|
7f790826af
|
Destroying the plugin if we can't connect to it
|
2016-02-04 17:00:40 -08:00 |
|
Diptanu Choudhury
|
63e0b20e5e
|
Removed duplicate code
|
2016-02-04 17:00:40 -08:00 |
|
Diptanu Choudhury
|
94a51a6a1b
|
Fixing the id generation logic for the java and qemu drivers
|
2016-02-04 17:00:40 -08:00 |
|
Diptanu Choudhury
|
02db2e5735
|
Fixed the raw_exec_driver tests
|
2016-02-04 17:00:40 -08:00 |
|
Diptanu Choudhury
|
83882eca3f
|
Fixed the kill test
|
2016-02-04 17:00:40 -08:00 |
|
Diptanu Choudhury
|
6c9f33ed19
|
Fixed creation of the command args
|
2016-02-04 17:00:40 -08:00 |
|
Diptanu Choudhury
|
675b5f898a
|
Fixed the wait rpc server
|
2016-02-04 17:00:40 -08:00 |
|
Diptanu Choudhury
|
7e3041e2ee
|
Fixed a test related to wait
|
2016-02-04 17:00:39 -08:00 |
|
Diptanu Choudhury
|
e5595fd8cb
|
Fixed a test
|
2016-02-04 17:00:39 -08:00 |
|
Diptanu Choudhury
|
38374e3703
|
Fixed a comment
|
2016-02-04 17:00:39 -08:00 |
|
Diptanu Choudhury
|
2f9c14c3e0
|
Fixed the rpc server
|
2016-02-04 17:00:39 -08:00 |
|
Diptanu Choudhury
|
356fb6abdb
|
Removed executor and spawn daemon
|
2016-02-04 17:00:39 -08:00 |
|
Diptanu Choudhury
|
263c89fdee
|
Moved qemu to executor plugin
|
2016-02-04 17:00:39 -08:00 |
|
Diptanu Choudhury
|
a821c162ff
|
Moving the java executor to the executor plugin
|
2016-02-04 17:00:39 -08:00 |
|
Diptanu Choudhury
|
17d2257a13
|
Enabling logs and killing the plugin if we couldn't start the job
|
2016-02-04 17:00:39 -08:00 |
|
Diptanu Choudhury
|
c6271d2408
|
Making the wait asynchronous
|
2016-02-04 17:00:38 -08:00 |
|
Diptanu Choudhury
|
6a719ef167
|
Turning on isolation for exec
|
2016-02-04 17:00:38 -08:00 |
|
Diptanu Choudhury
|
1c616deab3
|
Introduced the flag for the user
|
2016-02-04 17:00:38 -08:00 |
|
Diptanu Choudhury
|
3accb642e8
|
Creating the universal executor
|
2016-02-04 17:00:38 -08:00 |
|
Diptanu Choudhury
|
6eba0e46ec
|
Killing the plugin after wait returns
|
2016-02-04 17:00:38 -08:00 |
|
Diptanu Choudhury
|
14acbe7479
|
Limiting resources on a process
|
2016-02-04 17:00:38 -08:00 |
|
Diptanu Choudhury
|
a6f87c555c
|
Fixed the path to the log files
|
2016-02-04 17:00:38 -08:00 |
|
Diptanu Choudhury
|
9fc86deb43
|
Implemented the exec functioanlity for linux
|
2016-02-04 17:00:37 -08:00 |
|
Diptanu Choudhury
|
87f40135ea
|
Using the plugin to spawn processes from the raw_exec driver
|
2016-02-04 17:00:37 -08:00 |
|
Diptanu Choudhury
|
57453086a7
|
Fixed the executor command
|
2016-02-04 17:00:37 -08:00 |
|
Diptanu Choudhury
|
4ed85d0ab2
|
Using a plugin to create the executor
|
2016-02-04 17:00:37 -08:00 |
|
Alex Dadgar
|
21c2368626
|
Fix java test
|
2016-02-04 15:26:37 -08:00 |
|
Alex Dadgar
|
77b89d15e4
|
Extract artifacts to the root of the task, not in the local directory
|
2016-02-04 15:18:22 -08:00 |
|
Alex Dadgar
|
41e1174f72
|
Client handles updates to KillTimeout and Restart Policy
|
2016-02-03 19:43:44 -08:00 |
|
Alex Dadgar
|
2d42cb3e55
|
update the regex
|
2016-02-02 15:39:45 -08:00 |
|
Alex Dadgar
|
3b8e7a75d2
|
Merge pull request #704 from iverberk/f-env-ports
Pass a combination of ip and port to the task environment.
|
2016-01-29 08:53:47 -08:00 |
|
Alex Dadgar
|
4ce455be31
|
Merge pull request #712 from iverberk/f-cgroup-finterprinter
Add periodic cgroup fingerprinter
|
2016-01-29 08:50:43 -08:00 |
|
Ivo Verberk
|
22fef1766b
|
Add comments and small improvements to cgroup fingerprinter
|
2016-01-29 14:34:29 +01:00 |
|
Ivo Verberk
|
7f97dd8553
|
Only enable exec driver when cgroups are available
Make the exec driver fingerprinter periodic to disable the driver when
cgroups become unavailable.
|
2016-01-27 07:32:32 +01:00 |
|
Alex Dadgar
|
e2763e3d31
|
Update the interpretation of node.id/name on the client
|
2016-01-26 17:38:36 -08:00 |
|
Ivo Verberk
|
061445468b
|
Rename IPPort env variable and add a mapped host port to the env.
|
2016-01-25 20:46:01 +01:00 |
|
Ivo Verberk
|
e58bda9056
|
Pass a combination of ip and port to the task environment.
The different labels can be on different IPs.
|
2016-01-24 10:31:03 +01:00 |
|
Alex Dadgar
|
ec9c375c1c
|
Have docker use the task environment in the context
|
2016-01-22 15:00:36 -08:00 |
|
Alex Dadgar
|
a1cd55e53e
|
Merge pull request #690 from hashicorp/b-fix-root-tests
Fix failing tests running under root
|
2016-01-21 17:01:10 -08:00 |
|
Alex Dadgar
|
a3c22258cd
|
Use TestMultiplier on all waits
|
2016-01-21 15:24:24 -08:00 |
|
Alex Dadgar
|
0406a3a190
|
Handle case that pid is dead in ForceStop
|
2016-01-21 14:09:04 -08:00 |
|
Alex Dadgar
|
a4ddfc306b
|
ordering issue
|
2016-01-21 13:28:48 -08:00 |
|
Alex Dadgar
|
9656714f4e
|
Bump again
|
2016-01-21 12:55:35 -08:00 |
|
Alex Dadgar
|
fd21e890db
|
Time Duration fixes
|
2016-01-21 12:29:13 -08:00 |
|
Diptanu Choudhury
|
d1e4bf1f03
|
Simplied the logic of detecting the currently rotate log file
|
2016-01-20 16:50:31 -08:00 |
|
Diptanu Choudhury
|
5035699c14
|
Added a comment in the test
|
2016-01-20 16:30:55 -08:00 |
|
Diptanu Choudhury
|
7099aacbb3
|
Simplifying a test
|
2016-01-20 16:25:51 -08:00 |
|
Diptanu Choudhury
|
92cc950398
|
Using tmpdir and tmpfile in tests
|
2016-01-20 16:17:49 -08:00 |
|
Alex Dadgar
|
1ceb6f012a
|
Fix a bunch of tests
Up timeouts
trusty travis beta
Increase timeouts
|
2016-01-20 16:03:53 -08:00 |
|
Diptanu Choudhury
|
6b9dcd06c6
|
Renaming a test
|
2016-01-20 15:55:41 -08:00 |
|
Diptanu Choudhury
|
87eef5cd3f
|
Changing the logic of purging old rotated files
|
2016-01-20 15:53:17 -08:00 |
|
Diptanu Choudhury
|
46f09dd1f1
|
Added some comments
|
2016-01-20 14:14:37 -08:00 |
|
Alex Dadgar
|
9f5ccee7ff
|
Fix docker tests
|
2016-01-19 15:35:01 -08:00 |
|
Diptanu Choudhury
|
d3734a47cd
|
stating an existing file only once
|
2016-01-16 20:09:24 -08:00 |
|
Diptanu Choudhury
|
4122aeedc8
|
Added a comment for bufsize
|
2016-01-16 19:21:16 -08:00 |
|
Diptanu Choudhury
|
6e069369fe
|
Implemented a method to purge files
|
2016-01-16 19:19:52 -08:00 |
|
Diptanu Choudhury
|
c3fd960485
|
Fixing tests
|
2016-01-15 11:18:02 -08:00 |
|
Diptanu Choudhury
|
2bfdd71db9
|
add a logger
|
2016-01-14 23:16:30 -08:00 |
|
Diptanu Choudhury
|
3fb21b1b40
|
excluding directories before opening file for writing
|
2016-01-14 23:05:45 -08:00 |
|
Diptanu Choudhury
|
385fe065ec
|
Added a test for testing if logrotator creates an empty dir when it starts from scratch
|
2016-01-14 22:43:52 -08:00 |
|
Diptanu Choudhury
|
5835d0e436
|
Fixed the logic of rotating files
|
2016-01-14 22:36:55 -08:00 |
|
Diptanu Choudhury
|
97dca83866
|
Fixed the test for writing only N amount of bytes as much as capacity
|
2016-01-14 18:30:53 -08:00 |
|
Diptanu Choudhury
|
b474810134
|
Added a test for file rotation
|
2016-01-14 11:41:31 -08:00 |
|
Diptanu Choudhury
|
9749ee301d
|
Added an impl for log-rotator
|
2016-01-14 11:13:11 -08:00 |
|
Alex Dadgar
|
6d157a0337
|
Fix tests
|
2016-01-11 09:58:31 -08:00 |
|
Alex Dadgar
|
7fe6c8bd1b
|
Add folder
|
2016-01-11 09:58:31 -08:00 |
|
Alex Dadgar
|
3ba1c9b76b
|
merge
|
2016-01-11 09:58:26 -08:00 |
|
Bastiaan Bakker
|
fcfa8373b2
|
Add options ipc_mode, pid_mode and uts_mode to docker driver.
May only be used if priviliged mode is enabled in driver config.
|
2016-01-08 23:34:49 +01:00 |
|
Alex Dadgar
|
ef36ae0168
|
Use basic executor
|
2016-01-06 15:31:08 -08:00 |
|
Diptanu Choudhury
|
161f90abc6
|
Adding a , between args to netdav
|
2016-01-05 13:17:51 -08:00 |
|
Alex Dadgar
|
198230bae9
|
Merge pull request #645 from achanda/mount_dirs
Mount task and alloc dirs in the rkt driver
|
2016-01-05 10:34:03 -08:00 |
|
Abhishek Chanda
|
2fc6352076
|
Mount task and alloc dirs in the rkt driver
rkt docs herer https://coreos.com/rkt/docs/latest/subcommands/run.html#mounting-volumes
|
2016-01-05 10:27:44 +00:00 |
|
Alex Dadgar
|
1e5c776e40
|
Merge pull request #624 from hashicorp/f-adjustable-timeout
User specifiable kill timeout and operator configurable max
|
2016-01-04 11:44:22 -08:00 |
|
Alex Dadgar
|
813d3545e3
|
Merge pull request #633 from achanda/opts_change
Update the insecure flag
|
2015-12-28 13:35:36 -08:00 |
|
Kenneth Feng
|
a85b2c0e90
|
linux/exec: add /usr/share to ChrootEnv
|
2015-12-28 13:39:34 -05:00 |
|
Abhishek Chanda
|
60fe5e19e8
|
Update the insecure flag
The current call has been deprecated in
https://github.com/coreos/rkt/pull/1738
|
2015-12-25 15:59:54 +00:00 |
|
Alex Dadgar
|
ddf392c6be
|
User specifiable kill timeout and operator configurable max
|
2015-12-22 16:10:30 -08:00 |
|
Abhishek Chanda
|
a347cda6e3
|
Consolidate if else conditions
|
2015-12-22 18:23:29 +00:00 |
|
Alex Dadgar
|
29411d698a
|
Rkt comment and variable name update
|
2015-12-22 10:11:22 -08:00 |
|
Abhishek Chanda
|
74a5292789
|
Move constants to the top
|
2015-12-22 05:15:37 +00:00 |
|
Abhishek Chanda
|
0918a38221
|
Do not allow rkt version less than 0.14.0
|
2015-12-21 17:48:21 +00:00 |
|
Abhishek Chanda
|
1c4e380868
|
Use camelCase for variable names
|
2015-12-21 16:37:21 +00:00 |
|
Abhishek Chanda
|
3d2589e797
|
Run gofmt
|
2015-12-21 06:09:11 +00:00 |
|
Abhishek Chanda
|
b843b1a853
|
Support CPU and meory isolators for the rkt driver
The rkt community added supprt for these isolators recently
|
2015-12-21 06:06:45 +00:00 |
|
Clint Shryock
|
77b5639160
|
Executors/Linux: Update Executor config struct
|
2015-12-17 10:25:42 -06:00 |
|
Diptanu Choudhury
|
f6fb42835e
|
Using cgo dependencies to look up users
|
2015-12-15 11:12:13 -08:00 |
|
Alex Dadgar
|
b943c6e278
|
Remove all calls to the default logger
|
2015-12-11 15:02:13 -08:00 |
|
Chris Hines
|
5f5f91717d
|
Avoid leaking a time.Ticker.
|
2015-12-11 15:30:53 -05:00 |
|
Alex Dadgar
|
0a950a4070
|
Merge pull request #556 from hashicorp/b-cache-docker-client
Do.Once docker client initialization
|
2015-12-10 16:19:06 -08:00 |
|
Chris Bednarski
|
545f0ff120
|
Move raw_exec enabled into the DevMode config block
|
2015-12-10 15:24:21 -08:00 |
|
Chris Bednarski
|
36e828ea9a
|
Use ReadBoolDefault
|
2015-12-10 15:03:25 -08:00 |
|
Chris Bednarski
|
65d4aa889b
|
Enable raw exec in dev mode
|
2015-12-10 14:48:06 -08:00 |
|
Alex Dadgar
|
5eeec26102
|
Do Once docker client initialization
|
2015-12-10 13:49:29 -08:00 |
|
Diptanu Choudhury
|
de06482506
|
Sending the user process sigint during shutdown on linux
|
2015-12-08 08:14:13 -08:00 |
|
Chris Bednarski
|
9292a97062
|
Merge branch 'user-lookup-nocgo' of https://github.com/carlosdp/nomad into b-user-lookup
|
2015-12-01 13:44:56 -08:00 |
|
Carlos Diaz-Padron
|
55e49506f0
|
Refactor out userLookup to helper package
Also replaces user.Lookup in exec driver
|
2015-12-01 11:59:55 -08:00 |
|
Diptanu Choudhury
|
29915ddd16
|
Moving the args to helper
|
2015-11-26 14:13:19 -08:00 |
|
Chris Hines
|
37745f66c9
|
Speed up tests by allowing parallel execution.
|
2015-11-25 15:56:55 -05:00 |
|
Chris Hines
|
5b2168bb12
|
Use package testtask and httptest.Server to make client/driver tests OS independent.
|
2015-11-25 15:56:20 -05:00 |
|