Commit Graph

620 Commits

Author SHA1 Message Date
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
Jonathan Leibiusky @xetorthio
ce8ec8a151 EventType is now based on string 2017-08-10 17:04:40 -03:00
Jonathan Leibiusky @xetorthio
79181b2a17 Fix close session bug 2017-08-10 16:48:07 -03:00
Marcos Lilljedahl
7c89054f16 Direct URL will be always http until we get wildcard tls certs 2017-08-10 14:52:52 -03:00
Marcos Lilljedahl
41171b06b4 Use https endpoint 2017-08-10 14:08:21 -03:00
Marcos Lilljedahl
fcc2e7d249 Remove unnecessary redirect and use relative paths 2017-08-10 12:49:37 -03:00
Marcos Lilljedahl
b8876006df Use relative path to keep browser scheme 2017-08-10 12:36:24 -03:00
Jonathan Leibiusky @xetorthio
7495f27f64 Change wiring 2017-08-10 12:13:18 -03:00
Marcos Lilljedahl
801bbefc19 Keep scheme when redirecting 2017-08-10 11:47:36 -03:00
Jonathan Leibiusky @xetorthio
cfc03b2826 Always get instance from storage 2017-08-09 18:16:55 -03:00
Jonathan Leibiusky @xetorthio
5f96321c24 Allow to create new storage NotFound errors 2017-08-09 11:38:17 -03:00