Commit Graph

530 Commits

Author SHA1 Message Date
Jonathan Leibiusky @xetorthio
3db24bf6a6 Show a message when connection to terminal has been lost 2017-09-08 15:32:20 -03:00
Jonathan Leibiusky @xetorthio
f5c337e03d Few fixes to terms 2017-09-08 12:20:29 -03:00
Jonathan Leibiusky @xetorthio
45137438db Make sure instance does not exist before reconnecting 2017-09-08 11:22:23 -03:00
Jonathan Leibiusky @xetorthio
eeff2ed652 Use L2 router to reach windows instances 2017-09-08 10:03:38 -03:00
Jonathan Leibiusky @xetorthio
560a3ae05a Add OOC check and error on new session creation 2017-09-07 17:30:04 -03:00
Jonathan Leibiusky @xetorthio
ef9be2a5ac Add support for out of capacity error message 2017-09-07 17:05:05 -03:00
Jonathan Leibiusky @xetorthio
d29a02bb22 Make sure channel and connection exists before closing 2017-09-07 16:41:37 -03:00
Marcos Lilljedahl
4b7589bc67 Add Env variable to control container storage size 2017-09-07 15:52:03 -03:00
Jonathan Leibiusky @xetorthio
150b089602 Reimplement terminal connections 2017-09-07 15:27:25 -03:00
Marcos Lilljedahl
f3307d964c Change SSH container to use SSH remoting 2017-09-04 17:33:56 -03:00
Jonathan Leibiusky @xetorthio
6a8c3df9f6 Add mongo labels to types 2017-09-04 17:17:28 -03:00
Jonathan Leibiusky @xetorthio
d8ec0eb754 Make storage NotFoundError available 2017-09-01 20:29:54 -03:00
Jonathan Leibiusky @xetorthio
954c52471b Refactor storage to support shallow types.
Add Client to storage.
Fix client resizing issues.
2017-09-01 20:12:19 -03:00
Jonathan Leibiusky @xetorthio
4b00a9c0eb If session doesn't exist, don't panic! 2017-08-30 18:55:13 -03:00
Jonathan Leibiusky @xetorthio
e079517803 Don't call resize several times on instance creation.
Fix a few race conditions for terminal resize and terminal buffer
writing.
2017-08-30 16:36:38 -03:00
Jonathan Leibiusky @xetorthio
ed3492eb38 Don't send empty terminal buffer 2017-08-30 11:16:37 -03:00
Jonathan Leibiusky @xetorthio
fc3dfa6844 Add let's encrypt support 2017-08-30 10:31:26 -03:00
Jonathan Leibiusky @xetorthio
beec1628be Don't have parallel execution of task if it takes longer than interval
time
2017-08-28 11:53:12 -03:00
Jonathan Leibiusky @xetorthio
26724c51be Add a small buffer on terminal input so we don't send every single
keystroke as a single message on the socket, and optimize data transfer.
2017-08-28 10:36:38 -03:00
Marcos Lilljedahl
305b15ff6c Fix network options in tests 2017-08-25 15:03:03 -03:00
Marcos Lilljedahl
5511d20d1b Fix error 2017-08-25 14:58:28 -03:00
Marcos Lilljedahl
e9f5de5677 Change networks opts into a slice when creating a container 2017-08-25 14:57:29 -03:00
Jonathan Leibiusky @xetorthio
a8567d8670 Add routable IP 2017-08-25 14:55:08 -03:00
Marcos Lilljedahl
19176966e2 Assign network endpoints to config object 2017-08-25 14:08:26 -03:00
Jonathan Leibiusky @xetorthio
6941b8b69a Make networks a list so it can be decided by the provisioner to which to
connect to
2017-08-25 13:39:17 -03:00
Jonathan Leibiusky @xetorthio
3c6d87cb14 Add SessionClose to SessionProvisioner 2017-08-25 11:14:49 -03:00
Jonathan Leibiusky @xetorthio
c44512f159 Add labels and additional network to connect container to 2017-08-25 10:21:59 -03:00
Marcos Lilljedahl
52d523ac92 Add NetworkInspect to DockerAPI 2017-08-24 16:45:12 -03:00
Marcos Lilljedahl
1bdda6948e Add network opts to CreateNetwork API 2017-08-24 16:20:32 -03:00
Jonathan Leibiusky @xetorthio
438fe9f6e7 Add SessionProvisioner and InstanceProvisionerFactory
Remove AllowedImages and IsDockerHost as it is not really being used for
anything useful
2017-08-24 15:36:59 -03:00
Marcos Lilljedahl
11d9d59975 Add terminal to ssh 2017-08-21 15:41:54 -03:00
Jonathan Leibiusky @xetorthio
2549d64b8b Avoid TIME_WAIT leaking connections 2017-08-21 15:13:38 -03:00
Marcos Lilljedahl
e00dfb638b Run powershell 2017-08-21 14:53:27 -03:00
Jonathan Leibiusky @xetorthio
c6101580a0 Small refactor to avoid code duplication 2017-08-21 09:50:15 -03:00
Marcos Lilljedahl
e46d77b96d Remove instances from ASG and terminate them when deleting 2017-08-18 18:53:54 -03:00
Jonathan Leibiusky @xetorthio
d77c840a86 Close connection to backend when done 2017-08-16 09:25:32 -03:00
Marcos Lilljedahl
6d9ed2be41 Fix issue when trying to delete dangling ssh containers 2017-08-15 20:03:24 -03:00
Marcos Lilljedahl
0ab60f6456 Move instance population before WS handlers
Don't disable windows containers switch
2017-08-15 16:34:49 -03:00
Marcos Lilljedahl
87544490b4 Use default duration configured by env variable 2017-08-15 16:14:23 -03:00
Marcos Lilljedahl
a32c362c39 Rename dind container in windows provisioner to match names 2017-08-15 16:14:23 -03:00
Jonathan Leibiusky @xetorthio
986605015e Fix check docker connection 2017-08-11 19:01:52 -03:00
Marcos Lilljedahl
fb1e50deaf Refactor GetForInstance so it doesn't depends on storage 2017-08-11 18:16:14 -03:00
Jonathan Leibiusky @xetorthio
1263f36bc8 Send proxy_host in the new instance event 2017-08-11 11:39:25 -03:00
Marcos Lilljedahl
984fdcce11 Fix compilation issues 2017-08-11 11:30:25 -03:00
Marcos Lilljedahl
643e1392c6 Use instance ip in proxy_host in windows containers 2017-08-11 11:26:17 -03:00
Marcos Lilljedahl
0c9276a4bd Tunnel 2375 to reach windows daemon 2017-08-11 11:19:05 -03:00
Marcos Lilljedahl
2b61ea701a Add ssh container for windows 2017-08-11 10:14:56 -03:00
Marcos Lilljedahl
30d709760c Add support for windows containers 2017-08-11 09:59:33 -03:00
Jonathan Leibiusky @xetorthio
7f17a7e21d Don't panic when docker client cannot be obtained.
Make close session faster by deleting instances in parallel.
2017-08-11 09:49:19 -03:00
Jonathan Leibiusky @xetorthio
0bc0342399 Scheduler fixes 2017-08-10 17:18:34 -03:00